younifyd
Menu

Delete Custom Discount From Cart Item

Delete Custom Discount From Cart Item

DELETE/v2/carts/{cartID}/items/{cartitemID}/custom-discounts/{customdiscountID}

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Delete Custom Discount From Cart Item action (under Carts).
  3. Fill in the fields below, then reference the result from later steps as {{deleteCustomDiscountFromCartItem.response.data}}.

Request

Path parameters

cartIDstringrequired

Specifies the ID for the cart.

cartitemIDstringrequired

Specifies the ID for the cart item.

customdiscountIDstringrequired

Specifies the ID for the custom discount to be deleted.

Response

Returns 204 with a any. Read it in later steps with {{deleteCustomDiscountFromCartItem.response.data.<field>}}.

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Delete Custom Discount From Cart Item — Elastic Path — Documentation