Product APIs
DELDelete Product
Delete product data
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_uuidstringrequiredExample:
67762d4ce590324df813bd8csku_codesstring[]requiredList of SKU Codes needs to be deleted
Headers
X-Request-IdstringOptional trace ID. If not provided, one is generated automatically
Responses
200Data deletion successful. A downstream delete failure is reported in the response body via status.code -1 and status.message, not as a non-200 status.
statusobjectrequiredStatus of the operation, including code and message
Fields
codeintegerrequiredStatus code of the operation. 1 means success. -1 means failure. 0 means process moved to background
Example:
0messagestringrequiredMessage describing the status
Example:
successrequest_idstringUnique trace ID for the request. Echoed from X-Request-Id header or auto-generated.
Example:
8c8b2b7e-23d7-4c2a-91b0-2a7c4dfbb312failed_codesobjectSKU codes that failed to delete. Keyed by sku_code with reason as value.
401Unauthorized – Bearer token missing or invalid
statusobjectFields
codeintegerExample:
-1messagestringExample:
Unauthorized – invalid or missing Bearer token413Payload too large
statusstringdefault: "error"The status of the request, typically 'error'
detailstringrequiredA description of the error
422Validation Error
detailobject[]Item fields
locstring | integer[]requireddefault: ["body",""]msgstringrequireddefault: "Field Required"typestringrequireddefault: "missing"Something missing or unclear? Write to support@streamoid.com.