/v2/recommend/products/general, /v2/recommend/products/product and /v2/recommend/products/products — the number of ids in product_ids selects the behavior. The full request/response schema is in the API Reference tab, under Platform API.
Limits and behavior
limitis 1–128.- No category parameter exists on
/v3/recommend/products, and category recommendations have no v3 endpoint — see Category recommendations. - Valid
typevalues are configured per merchant. Get your list from your Depict contact; an unconfigured combination returns an error (see Errors). - Unknown request fields are silently ignored — a misspelled field name is dropped, not rejected.
- The response on the wire differs from the response model in the OpenAPI spec — see Response.
Request
product_ids selects which recommendations you get:
Example request:
Response
On the wire the response is:Category recommendations
If you have an existing integration on this endpoint: it takes a v2-shaped body (tenant, market, category_id, type) and returns the same response shape as above. Do not build new functionality on it.
Errors
- An unconfigured merchant returns 400 with
{"detail": "Merchant {merchant} not configured for recommendations."}. - An unconfigured
(merchant, market, type)combination returns{"error": "(tenant, market, type) not yet configured. Please contact Depict."}. The message wording uses the v2 vocabulary (tenant) and may change — match on the presence oferror, not on the exact message text.

