← Home
POST/hyax-api/v1/products/:id/variants/:variantId/restore

Restore variant

Puts a retired variant back on sale.

Base URL: https://platform.hyax.com · Replace YOUR_API_KEY with your team API key.

Request

curl -X POST 'https://platform.hyax.com/hyax-api/v1/products/clx_example_id/variants/:variantId/restore' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Response

{
  "success": true,
  "data": {
    "id": "clx…",
    "sku": "BLACK-XL",
    "isRetired": false,
    "buyUrl": "https://shop.example.com/buy/studio-tee?variant=BLACK-XL"
  }
}