Products
Retrieve a product
get/products/{id}
Path parameters
idinteger required
The SamCart ID for the product
Query parameters
created_at_minstring date-time
Filter by created at date/time at or after given value. Accepts ISO 8601/RFC 3339 format with timezone (e.g., 2025-01-16T14:30:00Z) or date-only (e.g., 2025-01-16). Date-only values use 00:00:00 UTC.
created_at_maxstring date-time
Filter by created at date/time at or before given value. Accepts ISO 8601/RFC 3339 format with timezone (e.g., 2025-01-16T14:30:00Z) or date-only (e.g., 2025-01-16). Date-only values use 23:59:59 UTC.
status'live' | 'test' | 'archived'
Filter product by status
product_category'physical' | 'digital'
Filter product by category
pricing_type'one_time' | 'limited_subscription' | 'recurring_subscription' | 'pwyw_one_time' | 'pwyw_recurring_subscription' | 'pwyw_limited_subscription'
Filter product by pricing type
Response
Successful operation
Example response
{
"id": 1337,
"sku": "sku123",
"internal_product_name": "internal-book-product",
"product_name": "Book",
"description": "This is a good book",
"currency": "USD",
"price": 1025,
"product_category": "physical",
"pricing_type": "one_time",
"status": "live",
"taxes": true,
"upsell_funnel": "Additional Offer",
"order_bumps": [
{
"product_id": 1234,
"product_name": "Binder"
}
],
"bundled_products": [
{
"product_id": 3423,
"product_name": "Magazine"
}
],
"slug": "book",
"custom_domain": "https://google.com",
"product_tags": [
{
"name": "digital"
}
],
"created_at": "2021-01-14 18:03:59",
"updated_at": "2021-01-14 18:03:59",
"archived_date": "2021-01-14 18:03:59"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.