InventoryLocations

Update an existing inventory location

Updates the display name of an inventory location. Stock counts and adjustments already recorded against the location are unaffected.

put/inventory/locations/{locationId}

Request body

namestring

A display name for the location.

Example request

{
  "name": "Treatment store"
}

Response

A single inventory location.

Example response

{
  "data": {
    "id": "10000000-0000-0000-0000-000000000000",
    "organisation_id": "20000000-0000-0000-0000-000000000000",
    "site_id": "30000000-0000-0000-0000-000000000000",
    "name": "Treatment store",
    "created_at": "2019-01-15T12:00:00.000Z",
    "updated_at": "2019-01-15T12:00:00.000Z"
  }
}

Changes