Palbase Commerce & Promotions · API
POST
/commerce/carts/{cart_id}/shippingSelect shipping option for a store in cart
Select shipping option for a store in cart
Called by your app, with the publishable key; or a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.
Path
cart_idstring · requiredPath parameter cart_id.curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/carts/<cart_id>/shipping" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{}'Responses
200Select shipping option for a store in cart
defaultStandard Palbase JSON error envelope (`error` and `error_description`).
Operation SelectCartShipping of commerce's contract.