Products
Get product details
Changed onReturns detailed information about a specific product
get/products/{id_or_slug}
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id_or_slug, string required
The resource ID (e.g., "prod_3f9a1c0b7d2e4a6f8b1c3d5e") or slug (e.g., "my-product")
Query parameters
expand, string
Comma-separated relations to expand: reviews
Response
Product details
Product required
id, string required
object, string required
name, string required
slug, string required
status, 'draft' | 'active' | 'archived' required
description, string required
confirmation_message, string nullable required
created_at, string date-time required
updated_at, string date-time required
metadata, object required
body_html, string required
button_cta, string nullable required
url, string required
Deprecated: a product's page lives wherever its site puts it, so build links from your site's own routes.
available_from, string date-time nullable required
available_until, string date-time nullable required
tax_code, string nullable required
Stripe tax code (txcd_XXXXXXXX); null uses the account's default
published_at, string date-time nullable required
reviews_count, integer required
average_rating, number nullable required
seo, union
ID by default, full object when expanded
media_gallery, Media Gallery Item[] required
price_variants, Price Variant[] required
reviews, Review[]
Changes
- info
added the required property
price_variants/items/cross_sellsto the response with the status - info
added the required property
tax_codeto the response with the status
- info
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
5 more changes in this revision
- warning