Update order cart
OK
The status code indicates that the request has been accepted for processing, but the processing has not yet been completed or may have been canceled due to a more recent request being processed instead.
Bad Request
Unauthorized
Not Found
Internal Server Error
{- "reference": "string",
- "items": [
- {
- "id": "ci_FpEzyBvBBUyKxkeNriFUxZOCje",
- "reference": "string",
- "name": "T-Shirt XL",
- "sku": "A000123",
- "productType": "physical",
- "items": [
- { }
], - "quantity": 2,
- "unit": "st",
- "price": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "total": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "originalTotal": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "vatRate": 0.25,
- "discounts": [
- {
- "type": "item",
- "name": "string",
- "code": "string",
- "value": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "logistics": {
- "weight": 2500,
- "height": 100,
- "width": 50,
- "length": 200
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "discounts": [
- {
- "type": "item",
- "name": "string",
- "code": "string",
- "value": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
], - "total": {
- "includingVat": 1234,
- "excludingVat": 987.2
}, - "attributes": {
- "property1": null,
- "property2": null
}
}
{- "code": "order-not-found",
- "message": "Order with id:{id} not found."
}