latestOpenAPI 3.0.02026-08-1056429755.6 KB
a6efafc1669c
Retrieve Product (Synchronous API)
Get the product variation information
Provide detailed information for a specific product variation.
get/v1/products/{baseProductId}/variations/{variationId}
Path parameters
baseProductIdstring required
The base product identifier must be for the base product for the product variation, or simply use 'product' instead.
variationIdstring required
The product variation identifier.
Query parameters
version'DEPLOYED' | 'RETIRED'
Get the specific version of the product by state.
Headers
x-erid-as-pidboolean
Set to true if you want to use the external reference identifier (ERID) in the path instead of the product identifier (productId).
Response
Successful response.
Example response
[
{
"companyId": "digitalriver",
"siteIds": [
"domoSite1",
"domoSite2"
],
"id": "1234567900",
"version": 1,
"variationName": "Business, 1-year-license",
"baseProductId": "1234567800",
"varyingAttributes": [
{
"attributeName": "fulfillmentType",
"attributeValue": "Download"
}
],
"deploymentRequiredChanges": {
"otherFulfillmentIntegration": {
"fulfillerIds": [
"digitalRiver"
]
},
"transferProduct": "2234567800",
"upgradeProducts": [
"3234567800"
],
"downgradeProducts": [
"4234567800"
]
},
"liveChanges": {
"externalReferenceId": "sku-1234-5678-xyz",
"catalogs": [
{
"catalogId": "123456000",
"catalogName": "a catalog",
"categories": [
{
"categoryId": "19000000",
"categoryName": "a category"
}
],
"prices": [
{
"priceListName": "Unit Price",
"prices": [
{
"currency": "USD",
"locale": "en_US",
"configuredPrice": 15.99
}
]
}
]
}
]
},
"localizations": [
{
"locale": "en_US",
"groups": [
{
"groupId": "11000",
"groupName": "Storefront Settings"
}
]
}
]
}
]