Examples

{
  "resource": {
    "type": "variant",
    "action": "list"
  },
  "variants": [
    {
      "id": 2215,
      "name": "VariantA",
      "reference": "TestProduct-001",
      "brand": null,
      "color": "BLUE",
      "size": null,
      "washcare": null,
      "material": null,
      "description": null,
      "theme": null,
      "collection": null,
      "dimensions": null,
      "px40": "/assets/fallback/default-product-px40.png",
      "px75": "/assets/fallback/default-product-px75.png",
      "px150": "/assets/fallback/default-product-px150.png",
      "px500": "/assets/fallback/default-product-px500.png",
      "archived": false,
      "customs": [
        {
          "column": 85,
          "id": 85,
          "name": "TEST CUSTOM",
          "value": "ValueA"
        }
      ],
      "can_delete": true
    },
    {
      "id": 2216,
      "name": "VariantB",
      "reference": "TestProduct-002",
      "brand": null,
      "color": "RED",
      "size": null,
      "washcare": null,
      "material": null,
      "description": null,
      "theme": null,
      "collection": null,
      "dimensions": null,
      "px40": "/assets/fallback/default-product-px40.png",
      "px75": "/assets/fallback/default-product-px75.png",
      "px150": "/assets/fallback/default-product-px150.png",
      "px500": "/assets/fallback/default-product-px500.png",
      "archived": false,
      "customs": [
        {
          "column": 85,
          "id": 85,
          "name": "TEST CUSTOM",
          "value": "ValueB"
        }
      ],
      "can_delete": true
    }
  ]
}

Params

Param name Description
product_id
optional

parent product id

Must be a Integer