{
  "opencollection": "1.0.0",
  "info": {
    "name": "Advance Auto Parts Catalog Cart Orders API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Advance Auto Parts List Orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.advanceautoparts.com/v1/orders",
            "params": [
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "Filter orders placed on or after this date (ISO 8601)."
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "Filter orders placed on or before this date (ISO 8601)."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by order status."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of orders to return."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset."
              }
            ]
          },
          "docs": "Retrieve order history for the authenticated commercial account."
        },
        {
          "info": {
            "name": "Advance Auto Parts Create Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.advanceautoparts.com/v1/orders",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Place a new order from the current cart contents."
        },
        {
          "info": {
            "name": "Advance Auto Parts Get Order Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.advanceautoparts.com/v1/orders/:orderId",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "Order identifier."
              }
            ]
          },
          "docs": "Retrieve details of a specific order including line items, tracking, and status."
        }
      ]
    }
  ],
  "bundled": true
}