{
  "opencollection": "1.0.0",
  "info": {
    "name": "Addresses Introduction Account Addresses Locations API",
    "version": "25.1126.6886238"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Locations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://useast.api.elasticpath.com/inventories/locations",
            "headers": [
              {
                "name": "Ep-Geolocation",
                "value": "49.2847027,-123.1109329"
              }
            ],
            "params": [
              {
                "name": "page[offset]",
                "value": "",
                "type": "query",
                "description": "The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the [**page length**](https://elasticpath.dev/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used."
              },
              {
                "name": "page[limit]",
                "value": "",
                "type": "query",
                "description": "The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the the [**page length**](https://elasticpath.dev/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Only supported value is `location`. When specified, the results are sorted in ascending order based on the value of the field. For `location`, this means ascending distance from the supplied geolocation. For more information, see [Sorting](/guides/Getting-Started/sorting). For location sorting, `Ep-Geolocation` header must be provided as well."
              }
            ]
          },
          "docs": "Lists all Inventory Locations"
        },
        {
          "info": {
            "name": "Create a Location",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://useast.api.elasticpath.com/inventories/locations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an Inventory Location"
        },
        {
          "info": {
            "name": "Get a Location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://useast.api.elasticpath.com/inventories/locations/:location_uuid",
            "params": [
              {
                "name": "location_uuid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the location."
              }
            ]
          },
          "docs": "Get an Inventory Location"
        },
        {
          "info": {
            "name": "Update a Location",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://useast.api.elasticpath.com/inventories/locations/:location_uuid",
            "params": [
              {
                "name": "location_uuid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the location."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an Inventory Location"
        },
        {
          "info": {
            "name": "Delete a Location",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://useast.api.elasticpath.com/inventories/locations/:location_uuid",
            "params": [
              {
                "name": "location_uuid",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the location."
              }
            ]
          },
          "docs": "Delete an Inventory Location"
        }
      ]
    }
  ],
  "bundled": true
}