Use this request to include shipping information to a given shopping cart.

To add shipping addresses to the cart (it can be multiple) send the addresses in an array.

If one or multiple addresses are new, you can add the address and omit the id parameter.

In Ollie Shop API the Delivery Method is separate from the Address. In this step you are simply registering and address to the cart. In the Update Delivery you'll be able to assign a shipping method to the corresponding address.

If you would like to know the list of available addresses, you can GET Cart by Id, which will already list all addresses for the user in the cart

The cartId is the data structure that represents a shopping cart and contains all information pertaining to it. Hence, the cartId is the identification code of a given cart.

📘

cartId is the equivalent of orderFormId for VTEX stores

🚧

The authentication of this endpoint can change depending on the customer context. If you are modifying information from a customer with a complete profile on the store, the response will return the customer's data masked. You can only access the customer data with an authenticated request.

Language
Click Try It! to start a request and see the response here!