Skip to main content

Get Product

Retrieve a specific product from your easycart store.

Request

GET /products/{id}

Path Parameters

ParameterTypeRequiredDescription
idstringYesProduct UUID

Example Request

curl -X GET "https://cart.easy.tools/api/v1/products/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Response

Success Response (200)

Returns a single product with its variants.

{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "published",
"name": "Premium Coffee Beans",
"description": "High-quality arabica coffee beans from Colombia",
"slug": "premium-coffee-beans",
"image_url": "https://example.com/images/coffee-beans.jpg",
"checkout_url": "https://cart.easy.tools/checkout/550e8400-e29b-41d4-a716-446655440000",
"currency": "usd",
"file": {
"name": "My ebook.pdf",
"url": "https://mysite.com/ebook.pdf"
},
"files": [
{
"name": "My ebook.pdf",
"url": "https://mysite.com/ebook.pdf"
},
{
"name": "Bonus chapter.pdf",
"url": "https://mysite.com/bonus-chapter.pdf"
}
],
"active_from": "2026-01-01T00:00:00+00:00",
"active_until": "2026-12-31T23:59:59+00:00",
"show_active_until_counter": true,
"redirect_url": "https://mysite.com/thank-you",
"redirect_time": 5,
"add_redirect_params": true,
"webhook_url": "https://mysite.com/webhook",
"terms_url": "https://mysite.com/terms",
"policy_url": "https://mysite.com/privacy",
"contact_email": "support@mysite.com",
"refund_days": 14,
"delegable": false,
"show_discount_field": true,
"hide_tax_id_field": false,
"require_tax_id": false,
"photo_zoomable": true,
"show_confetti": true,
"generate_qr_code": false,
"variants": [
{
"id": "550e8400-e29b-41d4-a716-446655440002",
"type": "one_time",
"recurring_options": null,
"name": "250g Package",
"amount": 1999
},
{
"id": "550e8400-e29b-41d4-a716-446655440003",
"type": "recurring",
"recurring_options": {
"interval": "monthly",
"interval_count": 1
},
"name": "Monthly Subscription - 250g",
"amount": 1799
}
]
}

Response Fields

Core Fields

FieldTypeNullableDescription
idstringNoUnique identifier for the product (UUID)
statusstringNoProduct status ("published" or "draft")
namestringNoProduct name
descriptionstringYesProduct description
slugstringYesURL-friendly product slug
image_urlstringYesURL to the product image
checkout_urlstringNoDirect checkout URL for the product
currencystringNoISO currency code (e.g., "usd", "eur")
fileobjectYesFirst attached downloadable file (null if none). For multi-file products this reflects only the first entry of files. See File Object.
filesarrayNoAll attached downloadable files (up to 5, empty if none). Each entry is a File Object.
variantsarrayNoList of product variants

Availability Settings

FieldTypeNullableDescription
active_fromstringYesStart selling date (ISO 8601 format)
active_untilstringYesStop selling date (ISO 8601 format)
show_active_until_counterbooleanYesShow countdown timer on checkout page

Redirect Settings

FieldTypeNullableDescription
redirect_urlstringYesPost-purchase redirect URL
redirect_timeintegerYesRedirect delay in seconds
add_redirect_paramsbooleanYesInclude order parameters in redirect URL

Integration Settings

FieldTypeNullableDescription
webhook_urlstringYesWebhook URL for order events
terms_urlstringYesTerms & conditions URL
policy_urlstringYesPrivacy policy URL
contact_emailstringYesProduct contact email

Checkout Options

FieldTypeNullableDescription
refund_daysintegerYesRefund period in days (0 = no refunds)
delegablebooleanNoAllow order delegation/gifting
show_discount_fieldbooleanNoShow promo code field on checkout
hide_tax_id_fieldbooleanNoHide tax ID field on checkout
require_tax_idbooleanNoRequire tax ID on checkout
photo_zoomablebooleanNoEnable image zoom on checkout
show_confettibooleanNoShow confetti animation after purchase
generate_qr_codebooleanNoGenerate QR code for product

File Object

FieldTypeRequiredDescription
namestringYesDisplay name shown in the customer portal (max 100 characters)
urlstringYesExternal URL to download the file
note

The singular file field is kept for backward compatibility and always mirrors the first entry of files. For products with multiple downloadable files, read files to get the complete list.

Error Responses

Bad Request (400)

{
"message": "Invalid product ID"
}

Product Not Found (404)

{
"message": "Product with ID <UUID> not found"
}