Recovers archived product against the given Id only if the product is still available in the trash.
1 min
POST
https://api.upstartcommerce.com/pim/products/{id}/recover
acceptstringGenerated from available response content types
200<p>Product successfully recovered against the Id provided. Normally the body is an empty object. When one or more variants were linked or delinked while in ARCHIVED state as part of the recovery, the body is instead a partial-response structure (name, code, totalEntries, successful, failed, detail[] with a per-variant message, reason) reporting each such variant and whether it was linked to / delinked from the product in ARCHIVED state. The recovery itself still succeeds and no link is broken.</p>
curl --request POST \
--url https://api.upstartcommerce.com/pim/products/{id}/recover \
--header 'accept: application/json'