Sign in

Remove a coupon code

documented

Removes a specific coupon from the cart.

DELETE /api/v2/storefront/cart/remove_coupon_code/{coupon_code}Cartno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://demo.spreecommerce.org/api/v2/storefront/cart/remove_coupon_code/{{$coupon_code}}" \
  -X DELETE \
  -H "Accept: application/vnd.api+json" \
  -H "X-Spree-Order-Token: {{SPREECOMMERCE_API_KEY}}"
Remove a coupon code · Spree Commerce · OpenIntegrations