Menu
Update Variation Group For Master Product
Update an existing variation group.
PATCH
/organizations/{organizationId}/products/{masterProductId}/variation-groups/{id}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Update Variation Group For Master Product action (under Products (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{updateVariationGroupForMasterProduct.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"productId": "apple-ipod-classic-black",
"orderable": true,
"price": 229.99,
"variationValues": {
"color": "red"
}
}
Response
Returns 200 with an object. Read it in later steps with {{updateVariationGroupForMasterProduct.response.data.<field>}}.
{
"productId": "apple-ipod-classic-black",
"orderable": true,
"price": 229.99,
"variationValues": {
"color": "red"
}
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?