{
  "opencollection": "1.0.0",
  "info": {
    "name": "Snipcart REST AbandonedCarts Orders API",
    "version": "3.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.snipcart.com/api/orders",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Zero-based offset for pagination"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Filter orders created on or after this date"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "Filter orders created on or before this date"
              }
            ]
          },
          "docs": "Retrieve all completed orders with optional filtering."
        },
        {
          "info": {
            "name": "Get order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.snipcart.com/api/orders/:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Unique order token"
              }
            ]
          },
          "docs": "Retrieve a single order including all items, promo codes, and applied taxes."
        },
        {
          "info": {
            "name": "Update order",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.snipcart.com/api/orders/:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Unique order token"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the status, payment status, tracking information, or metadata of a specific order."
        },
        {
          "info": {
            "name": "Get digital goods for order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.snipcart.com/api/orders/:token/digital",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "Unique order token"
              }
            ]
          },
          "docs": "Return the list of digital goods attached to an order with download details and validity status."
        }
      ]
    }
  ],
  "bundled": true
}