{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tiendanube / Nuvemshop Categories Product Variants API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authentication",
      "value": "{{Authentication}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Product Variants",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List variants of a product",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tiendanube.com/v1/{store_id}/products/:product_id/variants",
            "params": [
              {
                "name": "product_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List variants of a product"
        },
        {
          "info": {
            "name": "Create a variant",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tiendanube.com/v1/{store_id}/products/:product_id/variants",
            "params": [
              {
                "name": "product_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a variant"
        },
        {
          "info": {
            "name": "Get a variant",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tiendanube.com/v1/{store_id}/products/:product_id/variants/:id",
            "params": [
              {
                "name": "product_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a variant"
        },
        {
          "info": {
            "name": "Update a variant",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.tiendanube.com/v1/{store_id}/products/:product_id/variants/:id",
            "params": [
              {
                "name": "product_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a variant"
        },
        {
          "info": {
            "name": "Delete a variant",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.tiendanube.com/v1/{store_id}/products/:product_id/variants/:id",
            "params": [
              {
                "name": "product_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a variant"
        }
      ]
    }
  ],
  "bundled": true
}