Only available to Buyer Users.
Security
OAuth2(Required scopes: FullAccessOrderContributorShopper)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/me/products/{productID}/variants/{variantID}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://api.ordercloud.io/v1/me/products/{productID}/variants/{variantID}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Only available to Buyer Users.
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": {} }