PUT
/
v1
/
inventory
/
warehouses
/
{id}
/
locations
/
{location_id}
Update Location
curl --request PUT \
  --url https://{base_url_domain}/api/global/v1/inventory/warehouses/{id}/locations/{location_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "A4-55-C3",
  "priority": 10,
  "is_type_auto": true,
  "lot": {
    "type": "Lot",
    "id": 54
  },
  "product": {
    "type": "Product",
    "id": 123
  },
  "rack": {
    "type": "Rack",
    "id": 123
  },
  "location_type": {
    "type": "LocationType",
    "id": 54
  }
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.

Path Parameters

id
integer
required

The id of the referenced Warehouse.

location_id
integer
required

The id of the referenced Location.

Body

application/json

A Location object specifying the fields to be updated.

A Location describes a user-specified inventory address within a warehouse.

Response

200

OK - The operation completed successfully and there is no response body.