Update cart item

SecurityBearer
Request
path Parameters
order_id
required
string

Order id to update.

item_id
required
string

Cart item id to update.

header Parameters
x-merchant
required
string

Merchant identifier.

x-channel
required
string

Channel identifier.

Request Body schema: application/json

Item with patchable fields.

quantity
integer <int32>

Quantity of item. Must be greater or equal to 1.

Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

patch/api/v1/orders/{order_id}/items/{item_id}
Request samples
application/json
{
  • "quantity": 2
}
Response samples
application/json
{
  • "code": "order-not-found",
  • "message": "Order {id} could not be found"
}
Copyright © Norce 2024. All right reserved.