{
  "opencollection": "1.0.0",
  "info": {
    "name": "RecVue Authentication Orders API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.recvue.com/api/v2.0/api/scim/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.recvue.com/api/v2.0/orders",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves a paginated list of orders with comprehensive filtering options."
        },
        {
          "info": {
            "name": "Create order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.recvue.com/api/v2.0/orders",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an order. Supports hundreds of standard and custom fields including revenue settings and billing associations."
        },
        {
          "info": {
            "name": "Get order by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.recvue.com/api/v2.0/orders/:orderId",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get order by ID"
        },
        {
          "info": {
            "name": "Update order",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.recvue.com/api/v2.0/orders/:orderId",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update order"
        },
        {
          "info": {
            "name": "Delete order",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.recvue.com/api/v2.0/orders/:orderId",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Irreversible operation removing an order and its lines."
        },
        {
          "info": {
            "name": "Activate order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.recvue.com/api/v2.0/orders/:orderId/activate",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Enables billing schedule generation for the order."
        },
        {
          "info": {
            "name": "Terminate order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.recvue.com/api/v2.0/orders/:orderId/terminate",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Full or partial cancellation with credit options."
        }
      ]
    }
  ],
  "bundled": true
}