Sitecore API catalog/OrderCloud//
- Create a spec option
List specs
Create a spec
Retrieve a spec
Create or update a spec
Delete a spec
Partially update a spec
List spec options
Retrieve a spec option
Create or update a spec option
Delete a spec option
Partially update a spec option
Delete a spec product assignment
List spec product assignments
Create or update a spec product assignment
Create a spec option
A Spec can have multiple Options-- for example, if the spec is called 'Color', the options might be 'Blue', 'Red', and 'Green'.
Security
OAuth2(Required scopes: FullAccessProductAdmin)
Used to change the price of a product when a specific spec option is selected.
Enum:"NoMarkup""AmountPerQuantity""AmountTotal""Percentage"
Example:"NoMarkup"
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/specs/{specID}/options
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.ordercloud.io/v1/specs/{specID}/options' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ID": "",
"Value": "",
"ListOrder": 1,
"IsOpenText": false,
"PriceMarkupType": "NoMarkup",
"PriceMarkup": 0,
"xp": {}
}'A Spec can have multiple Options-- for example, if the spec is called 'Color', the options might be 'Blue', 'Red', and 'Green'.
Used to change the price of a product when a specific spec option is selected.
Enum:"NoMarkup""AmountPerQuantity""AmountTotal""Percentage"
Example:"NoMarkup"
Response
{ "ID": "", "Value": "", "ListOrder": 1, "IsOpenText": false, "PriceMarkupType": "NoMarkup", "PriceMarkup": 0, "xp": {} }