Apply a shipping option

Apply shipping option to cart

post

Sets the shipping method for a cart. The shopping cart must contain a physical product before you can apply shipping options to the cart.

Query parameters
tokenstringOptional

Provide the authorized or anonymous token for a shopper.

shippingOptionIdstringOptional

Provide the identifier of the shipping option chosen for the cart.

expandstringOptional

Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.

fieldsstringOptional

Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.

Responses
200

Successful response.

application/json
Responseone of
or
post
/v1/shoppers/me/carts/active/apply-shipping-option

Last updated