{
  "opencollection": "1.0.0",
  "info": {
    "name": "WHMCS Authentication Orders API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "identifier",
      "value": "{{identifier}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Orders",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-domain}/includes/api.php/?action=GetOrders",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Retrieve a list of orders from WHMCS."
        },
        {
          "info": {
            "name": "Add Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-domain}/includes/api.php/?action=AddOrder",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Create a new order in WHMCS."
        },
        {
          "info": {
            "name": "Get Products",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your-domain}/includes/api.php/?action=GetProducts",
            "body": {
              "type": "form-urlencoded",
              "data": []
            }
          },
          "docs": "Retrieve a list of products and services available in WHMCS."
        }
      ]
    }
  ],
  "bundled": true
}