Sitecore API catalog/OrderCloud//
- Retrieve a product variant
List products
Create a product
Retrieve a product
Create or update a product
Delete a product
Partially update a product
Delete a product assignment
List product specs
List product suppliers
Create or update a product supplier
Remove a product supplier
List product variants
Update a product variant
Partially update a product variant
Generate variants
List product assignments
Create or update a product assignment
Retrieve a product varian...
Security
OAuth2(Required scopes: FullAccessProductAdminProductReader)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/products/{productID}/variants/{variantID}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://api.ordercloud.io/v1/products/{productID}/variants/{variantID}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'If false, variant is not visible or purchasable from a buyer's perspective.
Example:false
Example:
{ "QuantityAvailable": 0, "NotificationPoint": 0, "LastUpdated": "2018-01-01T00:00:00-06:00" }
Example:
[ { "SpecID": "", "Name": "", "OptionID": "", "Value": "", "PriceMarkupType": "NoMarkup", "PriceMarkup": 0 } ]
Response
{ "ID": "", "Name": "", "Description": "", "Active": false, "ShipWeight": 0, "ShipHeight": 0, "ShipWidth": 0, "ShipLength": 0, "Inventory": { "QuantityAvailable": 0, "NotificationPoint": 0, "LastUpdated": "2018-01-01T00:00:00-06:00" }, "Specs": [ { … } ], "xp": {} }