curl -X DELETE '{backend_url}/store/carts/{id}/promotions' \
-H 'x-publishable-api-key: {your_publishable_api_key}' \
-H 'Content-Type: application/json' \
--data-raw '{
"promo_codes": ["{value}"]
}'Remove a list of promotions from a cart.
curl -X DELETE '{backend_url}/store/carts/{id}/promotions' \
-H 'x-publishable-api-key: {your_publishable_api_key}' \
-H 'Content-Type: application/json' \
--data-raw '{
"promo_codes": ["{value}"]
}'Publishable API Key created in the Medusa Admin.
The locale in BCP 47 format to retrieve localized content.
"en-US"
The cart's ID.
Comma-separated fields that should be included in the returned data. if a field is prefixed with + it will be added to the default fields, using - will remove it from the default fields. without prefix it will replace the entire default fields.
The locale in BCP 47 format to retrieve localized content.
"en-US"
The promotion code to remove from the cart.
The promotion code to remove from the cart.
A promotion code to remove from the cart.
OK
The cart's details.
The cart's details.
Show child attributes