Retiring a product
Learn how to retire a product programmatically.
curl --location --request POST 'https://api.digitalriver.com/v1/products/{productID}/retire' \
--header 'Authorization: Basic <API_key>' \
...curl --location --request POST 'https://api.digitalriver.com/v1/products/{ERID}/retire' \
--header 'Authorization: Basic <API_key>' \
--header 'header x-erid-as-pid=true' \
...{
"taskId": "4ea32c9b-2019-4421-863c-1acfb794033c",
"requestType": "RETIRE_PRODUCT",
"taskStatus": "PUBLISHED",
"receivedTime": "2022-08-24T19:31:56.434Z"
}Verifying the retirement of a product in Global Commerce
Last updated