---
title: "Warehouse location updated"
method: POST
path: "warehouse-location.updated"
---

# Warehouse location updated

`POST warehouse-location.updated` (webhook)

When a Warehouse Location is updated.

## Payload

- union
  - WmsWarehouseLocationsUpdatedFullWebhook
    - `connection_id` string, required
    - `data` WmsWarehouseLocationApiItemSchema, required
      - `id` string, required: The unique ID of the location.
      - `created_date` string, date-time, required: The date the location was created.
      - `updated_date` string, date-time, required: The date the location was last updated.
      - `name` string, nullable, required: The name of the location.
      - `warehouse_id` string, required: The ID of the warehouse the location is in.
      - `type` string, nullable, required: The location type
      - `measurements` LocationMeasurements, required
        - `length` number, nullable, required
        - `width` number, nullable, required
        - `height` number, nullable, required
        - `unit` 'cm' | 'in', nullable, required: The unit of measurement for the size of the location.
        - `weight` number, nullable, required
        - `weight_unit` 'kg' | 'oz' | 'lb', nullable, required: The unit of measurement for the weight of the location.
      - `additional_fields` object, required: Integration-specific fields
      - `trackstar_created_date` string, date-time, required
      - `trackstar_updated_date` string, date-time, required
    - `event_type` 'warehouse-location.updated', required
    - `integration_name` string, required
    - `integration_type` string, required
    - `previous_attributes` WmsWarehouseLocationsUpdatedPreviousAttributes, required
      - `id` string: The unique ID of the location.
      - `created_date` string, date-time: The date the location was created.
      - `updated_date` string, date-time: The date the location was last updated.
      - `name` string, nullable: The name of the location.
      - `warehouse_id` string: The ID of the warehouse the location is in.
      - `type` string, nullable: The location type
      - `measurements` LocationMeasurements
        - `length` number, nullable, required
        - `width` number, nullable, required
        - `height` number, nullable, required
        - `unit` 'cm' | 'in', nullable, required: The unit of measurement for the size of the location.
        - `weight` number, nullable, required
        - `weight_unit` 'kg' | 'oz' | 'lb', nullable, required: The unit of measurement for the weight of the location.
      - `additional_fields` object: Integration-specific fields
      - `trackstar_created_date` string, date-time
      - `trackstar_updated_date` string, date-time
  - WmsWarehouseLocationsUpdatedTruncatedWebhook
    - `connection_id` string, required
    - `data` WmsWarehouseLocationsUpdatedTruncatedData, required
      - `id` string: The record this event is about. Absent on connection webhooks, which carry dates rather than a row.
    - `event_type` 'warehouse-location.updated', required
    - `integration_name` string, required
    - `integration_type` string, required
    - `previous_attributes` WmsWarehouseLocationsUpdatedTruncatedPreviousAttributes, required
    - `data_truncated` boolean, required: Always true on this shape. The event was too large to send in full, so `data` holds only the `id` and `previous_attributes` is empty.
    - `data_url` string, required: Called with your usual API key, it returns a download link for this event exactly as it would have been delivered.

## Acknowledgement `200`

Success

---

[API](https://skmtc.dev/trackstarhq/apis/trackstar-api.md) - [All operations](https://skmtc.dev/trackstarhq/apis/trackstar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trackstarhq/apis/trackstar-api/revisions/08647f790594?raw)
