younifyd
Menu

Delete Product Option Value

Delete a product option value.

DELETE/organizations/{organizationId}/products/{productId}/product-options/{optionId}/values/{id}

Use it in a workflow

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

Request

Path parameters

productIdstringrequired

The id (SKU) of the product.

optionIdstringrequired

The ID of the local product option.

idstringrequired

The ID of the variation attribute to create.

organizationIdstringrequired

An identifier for the Salesforce Commerce Cloud organization the request is being made by. It consists of a prefix 'f_ecom_' followed by a 4-character [realm identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/base-url.html#realm-id) and a 3-character [instance type identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/base-url.html#instance-id).

Response

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

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

Delete Product Option Value — Salesforce Commerce Cloud — Documentation