{
  "opencollection": "1.0.0",
  "info": {
    "name": "Salla Apps Branches Orders API",
    "version": "2"
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.salla.sa/orders",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "from_date",
                "value": "",
                "type": "query"
              },
              {
                "name": "to_date",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Orders"
        },
        {
          "info": {
            "name": "Get Order Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.salla.sa/orders/:order_id",
            "params": [
              {
                "name": "order_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "Set to `light` to exclude shipments, items, pickup branch, and customer groups."
              }
            ]
          },
          "docs": "Get Order Details"
        },
        {
          "info": {
            "name": "Update Order",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://accounts.salla.sa/orders/:order_id",
            "params": [
              {
                "name": "order_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Order"
        },
        {
          "info": {
            "name": "Update Order Status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.salla.sa/orders/:order_id/status",
            "params": [
              {
                "name": "order_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Order Status"
        },
        {
          "info": {
            "name": "List Order Histories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.salla.sa/orders/:order_id/histories",
            "params": [
              {
                "name": "order_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Order Histories"
        },
        {
          "info": {
            "name": "List Order Invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.salla.sa/orders/:order_id/invoices",
            "params": [
              {
                "name": "order_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Order Invoices"
        },
        {
          "info": {
            "name": "List Order Items",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.salla.sa/orders/:order_id/items",
            "params": [
              {
                "name": "order_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Order Items"
        }
      ]
    }
  ],
  "bundled": true
}