Update a cart
PATCH /carts/{order_id}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Order id
Example
42Request Body
Section titled “Request Body ”object
object
Catalog product id (products.id; product under a product group)
Example
101ISO 3166-1 alpha-2 delivery country code (e.g. FR). Filters catalog by available_countries; cart line items must use a country allowed for the catalog product.
Example
FRRequired when the catalog product uses a keyboard layout for pricing; omit when the product does not offer keyboard options.
Example
FRENCH_AZERTYOptional company employee to assign the device to; must be a user in the same company as the API token.
Example
12Optional delivery address id from the company’s saved addresses. When omitted, the cart or company default shipping address is used.
Example
56LEASING vs one-time purchase (BUY). For catalog pricing, LEASING selects monthly lease; BUY selects purchase price.
Example
LEASINGResponses
Section titled “ Responses ”Updated cart
object
object
object
Catalog product id (products.id) when the line is tied to a catalog product
Example
101Validation or business rule error
Forbidden
object
Not found
object
Cart is no longer editable for this operation
object
Internal error