Menu
Get Product Options
Retrieve product options for a product.
GET
/organizations/{organizationId}/products/{productId}/product-optionsUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Product Options action (under Products (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{getProductOptions.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getProductOptions.response.data.<field>}}.
{
"data": [
{
"id": "warranty",
"customName": {
"en_US": "Warranty"
},
"defaultProductOptionValue": "5-years",
"description": {
"en_US": "Option Description"
},
"image": {
"path": "/images/apple-ipod-classic.jpg",
"absUrl": "https://www.example-image.com/images/apple-ipod-classic.jpg",
"alt": {
"en_US": "iPod"
},
"disBaseUrl": "https://www.dis-base-url/images/apple-ipod-clasic.jpg",
"title": {
"en_US": "iPod"
}
},
"name": "Warranty",
"selectedOptionValue": "2-years",
"shared": false,
"sortingMode": "byoptionprice",
"values": [
{
"id": "5-year",
"value": {
"en_US": "5 Year Warranty"
},
"defaultProductOptionValue": true,
"optionPrices": [
{
"currencyMnemonic": null,
"value": null
}
],
"skuExtension": "extension"
}
]
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?