Skip to main content
GET
/
api-inventory
/
warehouse
/
default
Get default warehouse location
curl --request GET \
  --url https://prod01-apigw.{customer_name}.fabric.zone/api-inventory/warehouse/default \
  --header 'x-site-context: <x-site-context>'
{
  "_id": "5f46c5e728539eb8e069178a",
  "channel": [
    12
  ],
  "isActive": true,
  "isDefault": true,
  "name": "Bellevue Warehouse Main22",
  "address": {
    "attention": "John Smith",
    "street1": "10400 NE 4th St",
    "street2": "Suite 2500",
    "city": "Bellevue",
    "state": "Washington",
    "country": "US",
    "zipCode": "98005",
    "phone": [
      {
        "_id": "5f46d1b628539eb8e069178c",
        "number": "555-555-5555",
        "kind": "mobile",
        "id": "5f46d1b628539eb8e069178c"
      }
    ],
    "email": "[email protected]",
    "kind": "Main Docks"
  },
  "kind": "Warehouse",
  "locationId": 109,
  "createdAt": "2020-12-31T02:09:53.914Z",
  "updatedAt": "2020-12-31T02:09:53.914Z",
  "__v": 0,
  "shortName": "TAG_ABC1234"
}

Headers

x-site-context
string
required
Example:

Response

_id
string
Example:
channel
number[]
isActive
boolean
Example:
isDefault
boolean
Example:
name
string
Example:
address
object
kind
string
Example:
locationId
number
Example:
createdAt
string
Example:
updatedAt
string
Example:
__v
number
Example:
shortName
string
Example: