GroundsocialDocs

API · Sephora

GET /sephora/categories/{category_id}

The products of a Sephora category.

RequestGET /v1/sephora/categories/{category_id}
Operation idsephora.category.get
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

The products of a Sephora category.

Path parameters

NameTypeRequiredDescription
category_idstringyesCategory id. Example: cat150006.

Query parameters

NameTypeRequiredDescription
pageintegerno
page_sizeintegernoPer page (default 60).
sort_by"best_selling" | "top_rated" | "price_low" | "price_high" | "new"nobest_selling (Sephora’s order, default), top_rated, price_low, price_high (order the page), new (new items on the page). One of best_selling, top_rated, price_low, price_high, new.
min_pricenumber | nullno
max_pricenumber | nullno

Responses

StatusMeaningSchema
200A page of the category.SephoraListing
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The product or category does not exist.Error
429Too many requests. Wait for Retry-After seconds.Error
503Sephora is temporarily unavailable. Retryable; nothing was charged.Error

SephoraListing fields

FieldTypeDescription
querystring | null
category_idstring | null
titlestring | null
pagenumber
page_sizenumber
totalnumber | null
productsobject[]
refinementsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.