---
title: "Erp item created"
method: POST
path: "erp-item.created"
---

# Erp item created

`POST erp-item.created` (webhook)

When an Item is created.

## Payload

- union
  - ErpItemsCreatedFullWebhook
    - `connection_id` string, required
    - `data` ErpItemApiItemSchema, required
      - `id` string, required: The unique ID of the item in the ERP.
      - `created_date` string, date-time, required: The date the item was created.
      - `updated_date` string, date-time, required: The date the item was last updated.
      - `name` string, required: The display name of the item.
      - `sku` string, nullable, required: The SKU / item number of the item.
      - `description` string, nullable, required: A long-form description of the item.
      - `active` boolean, required: Whether the item is active.
      - `is_kit` boolean, required: Whether this item is a kit. A kit is not stocked itself; its components carry the inventory and ship in its place.
      - `kit_components` ErpKitComponent[], required: The items that make up this kit, and how many of each go into a single kit. Empty for items that are not kits.
        - `item_id` string, required: ID of the component item.
        - `sku` string, required: SKU / item number of the component item.
        - `unit_quantity` number, required: How many of this component go into a single kit.
      - `custom_fields` object, required: Per-account custom fields defined on the item. Keys are the field names as defined in the ERP; each value carries the raw value, its declared type, and a human-readable label.
      - `external_system_url` string, nullable, required: URL link to the item in the external system (WMS/Freight etc).
      - `trackstar_tags` unknown[], nullable, required: A list of custom tags associated with the resource. A tag can be either a string or a dictionary with one key-value pair.
        - unknown
      - `additional_fields` object, required: Integration-specific fields
      - `trackstar_created_date` string, date-time, required
      - `trackstar_updated_date` string, date-time, required
    - `event_type` 'erp-item.created', required
    - `integration_name` string, required
    - `integration_type` string, required
  - ErpItemsCreatedTruncatedWebhook
    - `connection_id` string, required
    - `data` ErpItemsCreatedTruncatedData, required
      - `id` string: The record this event is about. Absent on connection webhooks, which carry dates rather than a row.
    - `event_type` 'erp-item.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)
