Menu
Add Custom Discount To Cart Item
Add Custom Discount To Cart Item
POST
/v2/carts/{cartID}/items/{cartitemID}/custom-discountsUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Add Custom Discount To Cart Item action (under Carts).
- Fill in the fields below, then reference the result from later steps as
{{addCustomDiscountToCartItem.response.data}}.
Request
Path parameters
Response
Returns 201 with a oneOf. Read it in later steps with {{addCustomDiscountToCartItem.response.data.<field>}}.
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?