Newer Version Available

This content describes an older version of this product. View Latest

Commerce Webstore Cart Coupon

Delete a coupon from a cart.

If a store is segmented into markets, this API looks at the language parameter appended to the URL to determine the shopper’s locale and returns the appropriate values.

Resource
1/commerce/webstores/webstoreId/carts/cartStateOrId/cart-coupons/cartCouponId
Values for cartStateOrId are:
  • cartId—ID of the cart.
  • active—Active cart.
  • current—Cart that isn’t closed or pending deletion. Available in version 50.0 and later.
Available version
54.0
Requires Chatter
No
HTTP methods
DELETE
Request parameters for DELETE
Parameter Name Type Description Required or Optional Available Version
currencyIsoCode String Currency ISO code of the cart. Optional 57.0
effectiveAccountId String ID of the buyer account or guest buyer profile for which the request is made. If unspecified, the default value is determined from context. Optional 54.0