Recommendation APIs
GETComplementary Products
Return categories of products that complement the given product code.
Requests go to the live API through streamoid.com and act on your real data.
Authorization
AuthorizationstringrequiredheaderBearer token,
Bearer <token>. Create one under Tokens in your workspace.Query parameters
store_uuidstringrequiredStore identifier used to resolve store name
Example:
699ec31355208b213e56059aproduct_codestringrequiredProduct code of the source product
Example:
SKU001Headers
X-Request-IdstringOptional trace ID
Responses
200Complementary product categories
statusobjectFields
codeinteger0 = success, -1 = error
Example:
0messagestringExample:
SUCCESSrequest_idstringExample:
8c8b2b7e-23d7-4c2a-91b0-2a7c4dfbb312dataobjectFields
categoriesobject[]Item fields
titlestringExample:
TOPWEARproductsobject[]401Unauthorized – Bearer token missing or invalid
statusobjectFields
codeintegerExample:
-1messagestringExample:
Unauthorized – invalid or missing Bearer token404Store not found
statusstringdefault: "error"The status of the request, typically 'error'
detailstringrequiredA description of the error
500Internal server error
statusobjectFields
codeintegerExample:
-1messagestringExample:
Internal server error. Please contact support@catalogix.ai502External API failure
statusstringdefault: "error"The status of the request, typically 'error'
detailstringrequiredA description of the error
Something missing or unclear? Write to support@streamoid.com.