API reference · SKU Priority

Get Priority by Product Code

POSThttps://api.sandbox.cws.digital/searchSkuPriority/find

Description

Looks up the search priority of a product, identified by the manufacturer code, the brand and the composition.

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

Content-Typeapplication/json
Edit the body with
FieldTypeRequiredDescriptionValue
partCodestringYes

Product code at the manufacturer. Goes together with brand and composition.

brandstringYes

Product brand.

compositionstringYes

Product composition.

Allowed values:UNITARYPAIRKITWARRANTYSET

Responses

  • 401

    Missing, malformed or expired token.

Try it

Sandbox

Language

Credentials

Access token: saved in this tab and used on every endpoint.

Each token only reaches the partner's own data and that of the branches with an authorized link.

Don't have sandbox credentials yet? See how to request them

Request

cURL
curl --request POST \
  --url 'https://api.sandbox.cws.digital/searchSkuPriority/find' \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "partCode": "TESTE-API-001",
  "brand": "Bosch",
  "composition": "UNITARY"
}'

Response

Click Try it to see the real response here, or pick a documented example: