latestOpenAPI 3.0.02026-08-1056429755.6 KB
a6efafc1669c
Manage Product (Asynchronous API)
Update a product variation
Update an existing product variation asynchronously.
post/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.
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).
Request body
Example request
{
"deploymentRequiredChanges": {
"otherFulfillmentIntegration": {
"fulfillerIds": [
"digitalRiver"
]
},
"transferProduct": "2234567800",
"upgradeProducts": [
"3234567800"
],
"downgradeProducts": [
"4234567800"
]
},
"localizations": [
{
"locale": "en_US"
}
]
}Response
Successful response.
Example response
{
"taskId": "d8a81162-aaaa-bbbb-cccc-ea513d1afa82",
"receivedTime": "2022-05-01T23:00:21.123Z",
"taskStatus": "PUBLISHED",
"requestType": "CREATE_PRODUCT"
}