v1

latestOpenAPI 3.0.02026-07-226950132.6 KB
cart

Update cart

Updates multiple cart items or properties at once.

post/cart/update

Request body

namespacestring required

Namespace used to ensure the data in the request is routed appropriately.

itemsobject

Items to update in the cart.

dataobject

Additional data to pass.

Response

Cart updated successfully.

cart_hashstring

Unique cart hash.

cart_keystring

Unique cart key for the customer.

itemsobject

Cart items indexed by item key.

item_countinteger

Total number of items in cart.

items_weightnumber

Total weight of all items.

needs_paymentboolean

Whether the cart needs payment.

needs_shippingboolean

Whether the cart needs shipping.

noticesobject

Cart notices and messages.

extensionsobject

Additional data from extensions.