Portal API
The REST API behind the merchant portal. Manage merchants, products,
collections and curation, and read the metrics and analytics that power the
portal dashboards: collection metrics, dead stock, pinned-vs-auto
performance, merchant-wide analytics and search insights.
Storefront API
The public product-discovery API served from
api.depict.ai. Fetch search
results, query suggestions, product listings and recommendations, and send
tracking events from your storefront.Authentication
Portal API endpoints require a bearer token issued by Depict’s Auth0 tenant. Requests are authorized per merchant: the authenticated user must have access to themerchant_id in the path.
merchant and
market parameters that are part of each request body or query string. They are
designed to be called directly from the browser.
Conventions
- All endpoints accept and return JSON unless noted otherwise.
- Time ranges on metrics endpoints use Unix timestamps (
start_timestamp,end_timestamp). When omitted, most metrics endpoints default to the last 30 days compared against the previous 30 days. - Metric values that compare against a previous period return a
valuetogether with adelta_pct(relative change) ordelta_pts(percentage-point change for rates such as CTR).

