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

# Warehouse location created

`POST warehouse-location.created` (webhook)

When a Warehouse Location is created.

## Payload

- union
  - WmsWarehouseLocationsCreatedFullWebhook
    - `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.created', required
    - `integration_name` string, required
    - `integration_type` string, required
  - WmsWarehouseLocationsCreatedTruncatedWebhook
    - `connection_id` string, required
    - `data` WmsWarehouseLocationsCreatedTruncatedData, required
      - `id` string: The record this event is about. Absent on connection webhooks, which carry dates rather than a row.
    - `event_type` 'warehouse-location.created', required
    - `integration_name` string, required
    - `integration_type` string, 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)
