{
  "opencollection": "1.0.0",
  "info": {
    "name": "UNFI Supplier and Data Insights Orders API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unfi.com/v1/orders",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by order status"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "Start date filter"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "End date filter"
              },
              {
                "name": "warehouseId",
                "value": "",
                "type": "query",
                "description": "Filter by UNFI warehouse"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve purchase orders for the supplier or retailer account."
        },
        {
          "info": {
            "name": "Get Order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unfi.com/v1/orders/:orderId",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "Purchase order identifier"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve details for a specific purchase order."
        },
        {
          "info": {
            "name": "Submit Order Fulfillment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unfi.com/v1/orders/:orderId/fulfillment",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Submit fulfillment information for a purchase order including ship date and tracking."
        }
      ]
    }
  ],
  "bundled": true
}