younifyd
Menu

Create coupons/deleteByIds

Create coupons/deleteByIds

POST/V1/coupons/deleteByIds

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Create coupons/deleteByIds action (under Promotions).
  3. Fill in the fields below, then reference the result from later steps as {{createCouponsDeletebyids.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

idsarray<integer>required
ignoreInvalidCouponsboolean
json
{
  "ids": [
    0
  ],
  "ignoreInvalidCoupons": false
}

Response

Returns 200 with an object. Read it in later steps with {{createCouponsDeletebyids.response.data.<field>}}.

failed_itemsarray<string>

List of failed items.

missing_itemsarray<string>

List of missing items.

json
{
  "failed_items": [
    "string"
  ],
  "missing_items": [
    "string"
  ]
}

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

Create coupons/deleteByIds — Adobe Commerce — Documentation