API reference · SKU Priority
Set Product Priority
https://api.sandbox.cws.digital/searchSkuPriorityDescription
Sets the priority level of a product in your store's searches.
Each product has one priority per store: to change the level of a product that already has a priority, use Update Product Priority.
How to identify the product
Send the three fields together: partCode, brand and composition. None of them identifies the product alone.
composition accepts UNITARY, PAIR, KIT, WARRANTY and SET, always in uppercase.
If any of the three is missing, or if the product is not found, the response is 404 with Sku não encontrado.
Request body
application/json| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| priorityLevel | integer | Yes | Priority level, from 1 to 5. Outside this range the request is rejected. | |
| partCode | string | Yes | Product code at the manufacturer. See How to identify the product. | |
| brand | string | Yes | Product brand. | |
| composition | string | Yes | Product composition. Allowed values: UNITARYPAIRKITWARRANTYSET |
Responses
- 401
Missing, malformed or expired token.