API · Sephora
GET /sephora/products/{product_id}
A Sephora product record: brand, description, category, EANs, review statistics.
| |
|---|
| Request | GET /v1/sephora/products/{product_id} |
| Operation id | sephora.product.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Sephora product record: brand, description, category, EANs, review statistics.
| Name | Type | Required | Description |
|---|
product_id | string | yes | P-number (P420652) or a product URL. Example: P420652. |
| Name | Type | Required | Description |
|---|
sku | string | no | A sku id (accepted for parity; the record covers every sku). |
| Status | Meaning | Schema |
|---|
200 | The product. | SephoraProduct |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The product or category does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Sephora is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
product_id | string | |
product | object | The product as Sephora publishes it to Bazaarvoice: name, brand, description, category, image, EANs, UPCs, family ids, ReviewStatistics. |
Errors use one shape everywhere; see Errors for every code and what to do.