Skip to content
Coursey CreativeSign in

GET /products/[id]

/api/store/[slug]/products/[id]

Fetches one active product with full details including variants (with SKU), images, service charges, and active sale pricing.

Public - no auth neededRate limit 120/min anonymous, 600/min with a keyHow authentication works

Path parameters

slugstringrequired

Business store slug (non-empty string, trimmed)

idstringrequired

Product ID (must be a UUID; validated with z.string().uuid())

Responses

200

The request succeeded.

404

No such store, or no such record inside it.

429

Too many requests. Back off and retry after the window in the response.

What comes back

200 JSON: the product object at the top level (no wrapper key) with id, name, description, type, base_price (sale-adjusted), original_base_price (number or null), digital_file_path, created_at, updated_at, variants (includes sku here, plus sale fields when discounted), images (sorted by display_order), service_charges, active_sale_rule (object or null), optional sale_label / sale_ends_at. 404 { error } for unknown business or product not active/owned by the business. CORS open, OPTIONS supported.