POST /v1/shop/products/restore

Restore a list of archived products

application/json

Body Required

A list of product IDs to restore

  • productIds array[string] Required

    List of product IDs to restore

Responses

  • 204

    No content

POST /v1/shop/products/restore
curl \
 --request POST 'https://classmanager.test/v1/shop/products/restore' \
 --header "Content-Type: application/json" \
 --data '{"productIds":["prod_01jq6nbd773fbtsfdd3y7fd13g"]}'
Request examples
{
  "productIds": [
    "prod_01jq6nbd773fbtsfdd3y7fd13g"
  ]
}