younifyd
Menu

Delete Coupon

Delete a coupon with a specified ID.

DELETE/organizations/{organizationId}/coupons/{couponId}

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Delete Coupon action (under Coupons (Data API)).
  3. Fill in the fields below, then reference the result from later steps as {{deleteCoupon.response.data}}.

Request

Path parameters

couponIdstringrequired

The ID of the coupon to create.

organizationIdstringrequired

An identifier for the organization the request is being made by

Query parameters

siteIdstringrequired

The identifier of the site that a request is being made in the context of. Attributes might have site specific values, and some objects may only be assigned to specific sites.

Response

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

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

Was this page helpful?
Delete Coupon — Salesforce Commerce Cloud — Documentation