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

# Warehouse customer created

`POST warehouse-customer.created` (webhook)

When a Warehouse Customer is created.

## Payload

- union
  - WmsWarehouseCustomersCreatedFullWebhook
    - `connection_id` string, required
    - `data` WmsWarehouseCustomerApiItemSchema, required
      - `id` string, required: The unique ID of the warehouse customer.
      - `created_date` string, date-time, required: The date the warehouse customer was created.
      - `updated_date` string, date-time, required: The date the warehouse customer was last updated.
      - `name` string, required: The name of the warehouse customer.
      - `email` string, nullable, required: The email of the primary contact for the warehouse customer.
      - `additional_fields` object, required: Integration-specific fields
      - `trackstar_created_date` string, date-time, required
      - `trackstar_updated_date` string, date-time, required
    - `event_type` 'warehouse-customer.created', required
    - `integration_name` string, required
    - `integration_type` string, required
  - WmsWarehouseCustomersCreatedTruncatedWebhook
    - `connection_id` string, required
    - `data` WmsWarehouseCustomersCreatedTruncatedData, required
      - `id` string: The record this event is about. Absent on connection webhooks, which carry dates rather than a row.
    - `event_type` 'warehouse-customer.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)
