Update order cart

Update order cart

SecurityBearer
Request
path Parameters
order_id
required
string

Order identifier

header Parameters
x-merchant
required
string non-empty

Merchant identifier.

Example: norce
x-channel
required
string non-empty

Channel identifier

Example: 1
Request Body schema: application/json
reference
string

Cart Reference

Array of objects (Item)

List of Items

Array of objects (Discount)

List of Discounts

object

Cart total excluding shipping fees

object

Allows you to store any custom attributes for cart.

Responses
200

OK

202

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.

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

put/api/v0/checkout/orders/{order_id}/cart
Request samples
application/json
{
  • "reference": "string",
  • "items": [
    ],
  • "discounts": [
    ],
  • "total": {
    },
  • "attributes": {
    }
}
Response samples
application/json
{
  • "code": "order-not-found",
  • "message": "Order with id:{id} not found."
}
Copyright © Norce 2024. All right reserved.