Specs are name-value pairs, typically captured during user input when adding a product to an order. A spec value may have a price markup or markdown associated with it. In more advanced scenarios, specs can define a specific product variant. For example, a product may be available in 3 colors and 3 sizes and therefore have a total of 9 variants. OrderCloud will choose the correct variant to add based on the user-selected values, in this example color and size.
Security
OAuth2(Required scopes: FullAccessProductAdminProductReader)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/specs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://api.ordercloud.io/v1/specs?search=string&searchOn=Name&sortBy=ListOrder&page=1&pageSize=20&filters=' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "Items": [ { … } ], "Meta": { "Page": 0, "PageSize": 0, "TotalCount": 0, "TotalPages": 0, "ItemRange": [ … ], "NextPageKey": "string" } }