{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unit Accounts Customers API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Customers List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/customers",
            "params": [
              {
                "name": "page[limit]",
                "value": "",
                "type": "query"
              },
              {
                "name": "page[offset]",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get Customers List"
        },
        {
          "info": {
            "name": "Get Customer by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.s.unit.sh/customers/:customerId",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Customer by Id"
        },
        {
          "info": {
            "name": "Update Customer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.s.unit.sh/customers/:customerId",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Customer"
        },
        {
          "info": {
            "name": "Archive Customer by Id",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/customers/:customerId/archive",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Archive Customer by Id"
        },
        {
          "info": {
            "name": "Add Authorized Users by Id",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.s.unit.sh/customers/:customerId/authorized-users",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add Authorized Users by Id"
        },
        {
          "info": {
            "name": "Remove Authorized Users by Id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.s.unit.sh/customers/:customerId/authorized-users",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove Authorized Users by Id"
        }
      ]
    }
  ],
  "bundled": true
}