Skip to content
platform

API reference · SKU Priority

Get Priority by ID

Method
GET
Route
/searchSkuPriority/:id
Base URL
https://ws.autorei.net
Path parameters
:id
Token
Requires Bearer token
Test in Postman

Opens this request in the public API documentation, the official source of the reference.

Description

Queries a search priority by the record id, within your store.

Path Parameters

Parameter Type Required Description
id integer Yes Priority id, as it came back in id on creation.

Response · 200

Field Type Description
id integer Priority id. It is what you use to get by id and to remove.
priorityLevel integer Configured level, from 1 to 5.
sku.id integer SKU id in CWS.
store.id integer Your store id.
dateCreated datetime Creation, in UTC.
lastUpdated datetime Last change, in UTC.

Errors

Code When
400 id not provided: {"error":"id é uma informação obrigatória."}.
404 Priority does not exist, or belongs to another store. The body is the platform's generic one: {"status":"NOT_FOUND","message":"Serviço não encontrado"}.
401 Token missing, malformed or expired.

Example request

curl --request GET 'https://ws.autorei.net/searchSkuPriority/:id' \
  --header 'Authorization: Bearer {{access_token}}'

Example responses

200Success — priority found

{
  "id": 20601,
  "dateCreated": "2026-09-04T13:20:11Z",
  "lastUpdated": "2026-09-04T13:20:11Z",
  "priorityLevel": 5,
  "sku": {
    "id": 500101
  },
  "store": {
    "id": 4470
  }
}

Used in

Generated from the public API collection, published on 2026-09-04: api-docs.cws.digital.