> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trackstarhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Trackstar is a unified REST API for WMS, cart, and carrier systems. Base URL: https://production.trackstarhq.com. There is no SDK; call the API with plain HTTP.
> Send x-trackstar-api-key on every request. Endpoints scoped to one connection also need x-trackstar-access-token. Read both from environment variables and never print them.
> Reads return data Trackstar has already synced from the connected system. Writes (POST, PUT, PATCH, DELETE) are forwarded to the connected system immediately.
> A new connection has no data until its initial sync finishes. Wait for the connection.historical-sync-completed webhook, or poll GET /connections/{connection_id} and check historical_sync_completed.
> List endpoints page with page_token and next_token (limit is capped at 1000). Repeat every filter on every page. Filters use field[operator]=value, for example created_date[gte]=2026-01-01T00:00:00Z.
> Write bodies must not contain null or empty strings; omit the field instead. Call GET /integrations/{integration_type}/{integration_name}/write-info first to learn the exact fields an integration accepts.
> To test without real credentials, POST /sandbox/generate-sandbox/{wms|cart|carrier} with the API key returns a sandbox access token. Start at https://docs.trackstarhq.com/how-to-guides/build-with-ai.md and install the skills with: npx skills add https://docs.trackstarhq.com

# Update Inbound Shipment Trackstar Tags

> Update the trackstar tags for the specified inbound shipment.



## OpenAPI

````yaml put /wms/inbound-shipments/{inbound_shipment_id}/trackstar-tags
openapi: 3.1.0
info:
  description: >

    Trackstar is a Unified API that provides standard endpoints for Supply Chain
    Logistics. We currently offer an API for Warehouse Management Systems (WMS).
  title: Trackstar API
  version: 0.1.0
servers:
  - description: Trackstar API
    url: https://production.trackstarhq.com
security: []
tags: []
externalDocs:
  description: Trackstar API Documentation
  url: https://docs.trackstarhq.com
paths:
  /wms/inbound-shipments/{inbound_shipment_id}/trackstar-tags:
    put:
      tags:
        - wms
        - Inbound Shipments
      summary: Update Inbound Shipment Trackstar Tags
      description: Update the trackstar tags for the specified inbound shipment.
      operationId: put_wms_update_inbound_shipment_trackstar_tags
      parameters:
        - in: path
          name: inbound_shipment_id
          schema:
            type: string
          required: true
        - in: header
          name: x-trackstar-api-key
          description: Your organization-level Trackstar API key.
          schema:
            type: string
            example: <x-trackstar-api-key>
          required: true
        - in: header
          name: x-trackstar-access-token
          description: >-
            Your user's access token for a specific integration (ShipHero,
            Extensiv, etc).
          schema:
            type: string
            example: <x-trackstar-access-token>
          required: true
        - in: header
          name: Idempotency-Key
          description: >-
            Optional key that makes this request safe to retry. Send the same
            key on a retry and Trackstar returns the first attempt's response
            instead of writing again; if the first attempt failed, the retry
            runs the write again. Reusing a key with a different request is
            rejected. Keys expire after 24 hours.
          schema:
            type: string
            minLength: 1
            maxLength: 255
            example: 9f1c2b1e-6d4a-4c1c-9a8e-2b7e3c5d1f00
          required: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddTrackstarTaginbound_shipmentsSchema'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/wmsAddTrackstarTagInboundShipmentResponse'
          description: Successful response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPError'
          description: Not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
          description: Validation error
components:
  schemas:
    AddTrackstarTaginbound_shipmentsSchema:
      type: object
      properties:
        trackstar_tags:
          type: array
          description: >-
            A list of custom tags associated with the resource. A tag can be
            either a string or a dictionary with one key-value pair.
          example:
            - tag1
            - tag2
            - tag3: value3
          items: {}
      required:
        - trackstar_tags
      additionalProperties: false
      title: AddTrackstarTaginbound_shipmentsSchema
    wmsAddTrackstarTagInboundShipmentResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/AddWmsInbound_shipmentsTagsResponseDataSchema'
        id:
          type: string
          description: The ID of the object that has been created or modified
          example: id
        unused_fields:
          type: array
          description: Unused fields
          items:
            type: string
            description: ''
            example: unused_fields
      required:
        - id
        - unused_fields
      additionalProperties: false
      title: wmsAddTrackstarTagInboundShipmentResponse
    HTTPError:
      properties:
        error:
          type: string
        id:
          type: string
          description: The ID of the item that wasn't found.
      required:
        - error
      type: object
      title: HTTPError
    ValidationError:
      properties:
        error:
          type: string
        detail:
          type: object
          properties:
            <location>:
              type: object
              properties:
                <field_name>:
                  type: array
                  items:
                    type: string
      required:
        - error
      type: object
      title: ValidationError
    AddWmsInbound_shipmentsTagsResponseDataSchema:
      type: object
      properties:
        id:
          type: string
          description: The unique ID of the inbound shipment.
          example: inbound_id
        warehouse_customer_id:
          type:
            - string
            - 'null'
          description: >-
            The ID of the merchant/tenant/customer that owns the inbound
            shipment. Can be passed into the [Warehouse
            Customer](/api-reference/wms-api/warehouse-customers/get-item)
            endpoint for more details.
          example: warehouse_customer_id
        created_date:
          type: string
          format: date-time
          description: The date the inbound shipment was created.
          example: '2022-01-01T00:00:00Z'
        updated_date:
          type: string
          format: date-time
          description: The date the inbound shipment was last updated.
          example: '2022-01-02T05:05:05Z'
        purchase_order_number:
          type:
            - string
            - 'null'
          description: >-
            The number of the purchase order associated with the inbound
            shipment.
          example: po_number_123
        status:
          type: string
          enum:
            - open
            - in-transit
            - receiving
            - received
            - cancelled
            - other
          description: >-
            The status of the inbound shipment. See the [inbound shipment
            information](info) for more details.
          example: open
        raw_status:
          type:
            - string
            - 'null'
          description: The raw status (if available) returned directly from the WMS.
          example: raw_status
        supplier_object:
          anyOf:
            - $ref: '#/components/schemas/InboundShipmentSupplier'
            - type: 'null'
        expected_arrival_date:
          type:
            - string
            - 'null'
          format: date-time
          description: Date the shipment is expected to reach the warehouse.
          example: '2022-10-10T01:02:03Z'
        warehouse_id:
          type:
            - string
            - 'null'
          description: >-
            ID of the warehouse that will be receiving the shipment. Can be
            passed into the
            [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for
            more details.
          example: warehouse_id123
        line_items:
          type: array
          description: List of line items included in the shipment.
          example:
            - inventory_item_id: item_id
              sku: sku
              expected_quantity: 2
              received_quantity: 1
              unit_cost: 1
              external_id: external_sku
          items:
            $ref: '#/components/schemas/WmsInboundShipmentLineItem'
        receipts:
          type: array
          description: List of receiving events associated with the inbound shipment.
          example:
            - id: receipt_id
              arrived_date: '2022-10-10T01:02:03Z'
              line_items:
                - inventory_item_id: item_id
                  sku: sku
                  quantity: 1
                  lot_id: lot_id
                  expiration_date: '2022-10-10T01:02:03Z'
          items:
            $ref: '#/components/schemas/InboundReceipt'
        ship_from_address:
          $ref: '#/components/schemas/ShipFromAddress'
        tracking_numbers:
          type: array
          description: List of tracking numbers associated with the inbound shipment.
          example:
            - tracking_number_1
            - tracking_number_2
          items:
            type: string
            description: Tracking number
            example: tracking_number
        notes:
          type: array
          description: List of notes associated with the inbound shipment.
          example:
            - note_1
            - note_2
          items:
            type: string
            description: Note
            example: note
        external_system_url:
          type:
            - string
            - 'null'
          description: >-
            URL link to the inbound shipment in the external system (WMS/Freight
            etc).
          example: https://example.com/inboundshipment/123
        trackstar_tags:
          type:
            - array
            - 'null'
          description: >-
            A list of custom tags associated with the resource. A tag can be
            either a string or a dictionary with one key-value pair.
          example:
            - tag1
            - tag2
            - tag3: value3
          items: {}
        additional_fields:
          type: object
          description: Integration-specific fields
          example:
            key: value
          additionalProperties: {}
      required:
        - additional_fields
        - created_date
        - expected_arrival_date
        - external_system_url
        - id
        - line_items
        - notes
        - purchase_order_number
        - raw_status
        - receipts
        - ship_from_address
        - status
        - supplier_object
        - tracking_numbers
        - trackstar_tags
        - updated_date
        - warehouse_customer_id
        - warehouse_id
      additionalProperties: false
      title: AddWmsInbound_shipmentsTagsResponseDataSchema
    InboundShipmentSupplier:
      type: object
      properties:
        supplier_id:
          type: string
          description: The ID of the supplier.
          example: supplier_id
        supplier_name:
          type:
            - string
            - 'null'
          description: The name of the supplier.
          example: supplier_name
      required:
        - supplier_id
        - supplier_name
      additionalProperties: false
      title: InboundShipmentSupplier
    WmsInboundShipmentLineItem:
      type: object
      properties:
        inventory_item_id:
          type: string
          description: >-
            Can be passed into the
            [Inventory](/api-reference/wms-api/inventory/get-item) endpoint for
            more details.
          example: item_id
        sku:
          type:
            - string
            - 'null'
          description: ''
          example: sku
        expected_quantity:
          type: integer
          description: Total quantity of the item expected to be received.
          example: 2
        received_quantity:
          type: integer
          description: Total quantity of the item that has been received.
          example: 1
        unit_cost:
          type:
            - number
            - 'null'
          description: The cost per product that is charged by the manufacturer.
          example: 1
        external_id:
          type:
            - string
            - 'null'
          description: >-
            An identifier from an external system. e.g. vendor sku, external id,
            reference number, etc..
          example: external_sku
      required:
        - expected_quantity
        - external_id
        - inventory_item_id
        - received_quantity
        - sku
        - unit_cost
      additionalProperties: false
      title: WmsInboundShipmentLineItem
    InboundReceipt:
      type: object
      properties:
        id:
          type: string
          description: The unique ID of the receiving event.
          example: receipt_id
        arrived_date:
          type: string
          format: date-time
          description: Date the items arrived.
          example: '2022-10-10T01:02:03Z'
        line_items:
          type: array
          description: List of line items included in the receiving event.
          example:
            - inventory_item_id: item_id
              sku: sku
              quantity: 1
              lot_id: lot_id
              expiration_date: '2022-10-10T01:02:03Z'
          items:
            $ref: '#/components/schemas/InboundReceiptLineItem'
      required:
        - arrived_date
        - id
        - line_items
      additionalProperties: false
      title: InboundReceipt
    ShipFromAddress:
      type: object
      properties:
        address1:
          type:
            - string
            - 'null'
          description: ''
          example: 123 Main St
        address2:
          type:
            - string
            - 'null'
          description: ''
          example: Apt 2
        address3:
          type:
            - string
            - 'null'
          description: ''
          example: Floor 3
        city:
          type:
            - string
            - 'null'
          description: ''
          example: New York
        state:
          type:
            - string
            - 'null'
          description: ''
          example: NY
        postal_code:
          type:
            - string
            - 'null'
          description: ''
          example: '10001'
        country:
          type:
            - string
            - 'null'
          description: ''
          example: United States
      required:
        - address1
        - address2
        - address3
        - city
        - country
        - postal_code
        - state
      additionalProperties: false
      title: ShipFromAddress
    InboundReceiptLineItem:
      type: object
      properties:
        inventory_item_id:
          type: string
          description: >-
            Can be passed into the
            [Inventory](/api-reference/wms-api/inventory/get-item) endpoint for
            more details.
          example: item_id
        sku:
          type:
            - string
            - 'null'
          description: ''
          example: sku
        quantity:
          type: integer
          description: Total quantity of the item that has been received.
          example: 1
        lot_id:
          type:
            - string
            - 'null'
          description: The ID of the lot the items belong to.
          example: lot_id
        expiration_date:
          type:
            - string
            - 'null'
          format: date-time
          description: The expiration date of the lot the items belong to.
          example: '2022-10-10T01:02:03Z'
      required:
        - expiration_date
        - inventory_item_id
        - lot_id
        - quantity
        - sku
      additionalProperties: false
      title: InboundReceiptLineItem

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.