GET
/
location
curl --request GET \
  --url https://api.shipbob.com/1.0/location \
  --header 'Authorization: Bearer <token>'
[
  {
    "abbreviation": "string",
    "access_granted": true,
    "attributes": [
      "string"
    ],
    "id": 0,
    "is_active": true,
    "is_receiving_enabled": true,
    "is_shipping_enabled": true,
    "name": "string",
    "region": {
      "id": 0,
      "name": "string"
    },
    "services": [
      {
        "address": {
          "address1": "string",
          "address2": "string",
          "city": "string",
          "country": "string",
          "email": "string",
          "name": "string",
          "phone_number": "string",
          "state": "string",
          "zip_code": "string"
        },
        "enabled": true,
        "service_type": "Receiving"
      }
    ],
    "timezone": "string"
  }
]

Authorizations

Authorization
string
header
required

Authentication using Personal Access Token (PAT) token

Query Parameters

IncludeInactive
boolean

Whether the inactive locations should be included or not

ReceivingEnabled
boolean

Return all the receiving enabled locations

AccessGranted
boolean

Return all the access granted locations

Response

200
application/json
Success