{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unified.to account location API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "authorization",
      "value": "{{authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "location",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/commerce/:connection_id/location",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_gte",
                "value": "",
                "type": "query",
                "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Query string to search. eg. email address or name"
              },
              {
                "name": "org_id",
                "value": "",
                "type": "query",
                "description": "The org ID to filter by (reference to AccountingOrganization)"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "List all locations"
        },
        {
          "info": {
            "name": "Create a location",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unified.to/commerce/:connection_id/location",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create a location"
        },
        {
          "info": {
            "name": "Retrieve a location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/commerce/:connection_id/location/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Location"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve a location"
        },
        {
          "info": {
            "name": "Update a location",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.unified.to/commerce/:connection_id/location/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Location"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a location"
        },
        {
          "info": {
            "name": "Update a location",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.unified.to/commerce/:connection_id/location/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Location"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a location"
        },
        {
          "info": {
            "name": "Remove a location",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.unified.to/commerce/:connection_id/location/:id",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Location"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Remove a location"
        },
        {
          "info": {
            "name": "List All Locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/hris/:connection_id/location",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_gte",
                "value": "",
                "type": "query",
                "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Query string to search. eg. email address or name"
              },
              {
                "name": "company_id",
                "value": "",
                "type": "query",
                "description": "The company ID to filter by (reference to HrisCompany)"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "List All Locations"
        },
        {
          "info": {
            "name": "Create a Location",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unified.to/hris/:connection_id/location",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create a Location"
        },
        {
          "info": {
            "name": "Retrieve a Location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/hris/:connection_id/location/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Location"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve a Location"
        },
        {
          "info": {
            "name": "Update a Location",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.unified.to/hris/:connection_id/location/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Location"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a Location"
        },
        {
          "info": {
            "name": "Update a Location",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.unified.to/hris/:connection_id/location/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Location"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a Location"
        },
        {
          "info": {
            "name": "Remove a Location",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.unified.to/hris/:connection_id/location/:id",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the Location"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Remove a Location"
        }
      ]
    }
  ],
  "bundled": true
}