{
  "opencollection": "1.0.0",
  "info": {
    "name": "Canix Non-Cannabis Products API",
    "version": "1.3.10"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-KEY",
      "value": "{{X-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Non-Cannabis Products",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GetNonCannabisProducts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.canix.com/api/v1/non_cannabis_products",
            "params": [
              {
                "name": "facility_ids",
                "value": "123",
                "type": "query",
                "description": "Facility IDs (optional)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Max number of records to return (optional). Cannot exceed 2000"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset for the returned records (optional)"
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Order-by clause, in SQL format (optional)"
              },
              {
                "name": "where",
                "value": "",
                "type": "query",
                "description": "Filter results using SQL-like WHERE clause syntax (optional).\n\n**Supported operators**: =, >, <, >=, <=, BETWEEN, IN, LIKE, AND, OR\n\n**Supported patterns**:\n- Equality: `status='Active'`\n- Comparison: `updated_at >= '2024-01-01'`\n- Range: `id BETWEEN 1 AND 10000`\n- List: `status IN ('Active', 'Pending')`\n- Pattern: `sku LIKE 'ABC%'`\n- Compound: `facility_id=123 AND is_active=true`\n"
              }
            ]
          },
          "docs": "Return all Non-Cannabis Products for the user's company"
        },
        {
          "info": {
            "name": "PostNonCannabisProduct",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.canix.com/api/v1/non_cannabis_products",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "__CALLING THIS ENDPOINT WILL MODIFY YOUR DATA IRREVERSIBLY. ONLY CALL THIS ON SANDBOX DATA DURING DEVELOPMENT/CODING/TESTING.__ Each request creates the product in a single facility (facility_id). To share a product across additional facilities, contact support or use the app."
        },
        {
          "info": {
            "name": "GetNonCannabisProduct",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.canix.com/api/v1/non_cannabis_products/:non_cannabis_product_id",
            "params": [
              {
                "name": "non_cannabis_product_id",
                "value": "",
                "type": "path",
                "description": "Non-Cannabis Product ID"
              }
            ]
          },
          "docs": "Get Non-Cannabis Product by ID"
        },
        {
          "info": {
            "name": "GetNonCannabisProductBOMs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.canix.com/api/v1/non_cannabis_products/:non_cannabis_product_id/boms",
            "params": [
              {
                "name": "non_cannabis_product_id",
                "value": "",
                "type": "path",
                "description": "Non-Cannabis Product ID"
              }
            ]
          },
          "docs": "Get Bills of Materials associated with a Non-Cannabis Product"
        }
      ]
    }
  ],
  "bundled": true
}