getProductOptions.v1
This pipeline is used to retrieve the options of a product. The result is already sorted.
Request Body
Section titled “Request Body”object
Examplegenerated
{ "productId": "example"}Responses
Section titled “Responses”Successful response.
object
Some products have options to select, some of them will affect the unit price of it
object
The unique identifier for this option
The type of this option (input field or combobox)
The label of the form element that will be display to the customer
If true, the customer is forced to select or insert something to the form element
A short text, that will be available by clicking a little questionmark on the productpage
This property is only available if the type is text and show the amount in the shop’s currency by that the price will change if something is inserted to the form field
This property is only available if the type is select and will display the possible values to choose from
object
The unique id of this value for this option (as in the shop system of the merchant)
This property shows the amount in the shop’s currency by that the price will change if this option is selected
The label of this value that should be showed to the customer
Example
{ "options": [ { "id": "string", "type": "text", "label": "string", "required": false, "annotation": "string", "unitPriceModifier": 0, "values": [ { "id": "string", "unitPriceModifier": 0, "label": "string" } ] } ]}
