API reference · SKU Priority
Update Product Priority
https://api.sandbox.cws.digital/searchSkuPriorityDescription
Changes the priority level of a product that already has a priority in your store.
The product is identified in the body, as on creation — not by the record id.
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 | New level, from 1 to 5. | |
| 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.