Deleting a base or individual product's locale
Learn how to delete locale for a base or individual product programmatically.
curl --location --request DELETE 'https://api.digitalriver.com/products/v1/{productId}/locales/{locale}' \
--header 'Authorization: Basic <API_key>' \
...curl --location --request DELETE 'https://api.digitalriver.com/v1/products/{ERID}/locales/{locale}' \
--header 'Authorization: Basic <API_key>' \
--header 'header x-erid-as-pid=true' \
...{
"taskId": "2496da1d-4ba7-4396-880c-760b57e732ea",
"requestType": "DELETE_VARIATION",
"taskStatus": "PUBLISHED",
"receivedTime": "2022-08-24T19:55:51.690Z"
}Verifying the deletion of a product's locale in Global Commerce
Last updated