API reference · Orders
Send Items Tracking - Marketplace
https://api.sandbox.cws.digital/partnerOrders/store/{id}/complementaryInfoDescription
Allows the origin store to report, item by item, the situation of each product of an order that was born in it — what has already shipped, what is being prepared, what is pending.
The body and the response are identical to those of the store route; what changes is the scope of who sends it.
Parameters
Path parameters
| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| id | integer | Yes | Id of the partner order ( |
Request body
application/jsonRequired| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| skus | array of object | Yes | The tracking items. From 1 to 250 per request. Fields in skus[] |
skus[]| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| partnerPartCode | string | Yes | Your part code of the product, the same one you registered in the stock. | |
| situation | string | Yes | Item situation. Free text — the platform does not validate it against a list. | |
| quantity | integer | Yes | Quantity in that situation. Integer greater than zero. |
Business rules
The submission reaches only the parts it contains
The scope of the submission is the item, not the order: each request replaces the tracking of the parts it mentions and leaves the others intact. You can send one product at a time, without resending the whole order.
Resending an item exactly equal to the one already saved does not recreate the record: it is kept as it is.
The same product in more than one situation
partnerPartCode can repeat in the same submission, once per situation — this is how you report three units shipped and two being prepared of the same product.
The quantities add up; the records do not compete with each other.
The sum does not exceed the item quantity in the order
For the same product, the sum of the reported quantities cannot exceed the quantity of that item in the order. If it does, the request is refused and nothing is saved.
The product must be in the order
The partnerPartCode is resolved against the lines of that order.
A code that matches no line, or that matches more than one, refuses the request — and the response says which code caused the refusal.
The partnerPartCode comparison is case-insensitive and ignores leading and trailing spaces: abc-123 matches a product registered as ABC-123.
Each product of the order must have, in the stock, a partnerPartCode that is filled in and not repeated in another line of the same order. A product without a registered code cannot be located by this route.
Responses
- 401
Missing, malformed or expired token.
- 404
The order does not exist or is not in your scope.