ShoppingCart
Remove cart discounts
Changed onDeletes a discount by code from shopping cart items. To remove the discount from specific items only, send the item IDs as parameters. Otherwise, the discount will be removed from all items.
delete/v3/checkout/shoppingCarts/{shoppingCartId}/discounts/{discountCode}
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
shoppingCartIdstring required
Shopping cart ID
discountCodestring required
Discount code
Query parameters
itemIdstring[]
Cart item IDs
Response
NO CONTENT
Changes
- info
endpoint added
- info