{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fulfil REST API (v2) Authentication Products & Variants API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-KEY",
      "value": "{{X-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Products & Variants",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search product templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{merchant_id}.fulfil.io/api/v2/model/product.template",
            "params": [
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "A Fulfil domain filter (JSON-encoded list of clauses)."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of records per page."
              }
            ]
          },
          "docs": "Searches product templates (product.template) - the groupings that own variants."
        },
        {
          "info": {
            "name": "Create product templates",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{merchant_id}.fulfil.io/api/v2/model/product.template",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates one or more product templates (product.template)."
        },
        {
          "info": {
            "name": "Search product variants",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{merchant_id}.fulfil.io/api/v2/model/product.product",
            "params": [
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "A Fulfil domain filter (JSON-encoded list of clauses)."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of records per page."
              }
            ]
          },
          "docs": "Searches product variants / SKUs (product.product) - the individual sellable items."
        },
        {
          "info": {
            "name": "Create product variants",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{merchant_id}.fulfil.io/api/v2/model/product.product",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates one or more product variants (product.product)."
        },
        {
          "info": {
            "name": "Search and read product variants",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{merchant_id}.fulfil.io/api/v2/model/product.product/search_read",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Search and read product variants (product.product) in a single call."
        }
      ]
    }
  ],
  "bundled": true
}