younifyd
Menu

Delete Rule

Delete a rule.

DELETE/organizations/{organizationId}/catalogs/{catalogId}/categories/{categoryId}/rules/{ruleId}

Use it in a workflow

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

Request

Path parameters

ruleIdanyrequired

The Id of the rule

categoryIdstringrequired

The ID of the category to be created.

catalogIdstringrequired

The ID of the requested catalog.

organizationIdstringrequired

An identifier for the organization the request is being made by

Response

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

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

Delete Rule — Salesforce Commerce Cloud — Documentation