---
title: "Update Order"
method: PUT
path: "/wms/orders/{order_id}"
tags: ["wms", "Orders"]
---

# Update Order

`PUT /wms/orders/{order_id}`

Get the required, optional, and integration specific fields by calling the [integrations](/api-reference/mgmt/integrations) endpoint.

## Path parameters

- `order_id` string, required

## Headers

- `x-trackstar-api-key` string, required
- `x-trackstar-access-token` string, required

## Request body

- union
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `warehouse_customer_id` string, nullable, required — The ID of the merchant/tenant/customer that owns the order. Can be passed into the [Warehouse Customer](/api-reference/wms-api/warehouse-customers/get-item) endpoint for more details.
    - `reference_id` string, required — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `order_number` string, required — A user-friendly identifier for their order. Defaults to `reference_id` if not provided.
    - `channel_object` union, required
      - object
        - `channel_id` string, required — The ID of the channel.
      - object
        - `channel_name` string, required — The name of the channel.
    - `trading_partner` string, required — For retail/EDI orders, the trading partner who placed the order (e.g. Target, Walmart).
    - `shipping_method_id` string, required — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `service_level` string, required — The type of shipping method requested by the customer.
    - `invoice_currency_code` string, required — The currency used for this order. If not provided explicitly, defaults to USD.
    - `total_price` number, required — The total price a customer paid for the order.
    - `total_tax` number, required — The total tax on the order.
    - `total_discount` number, required — The total amount discounted from the order.
    - `total_shipping` number, required — The total shipping cost for the order incurred by the customer.
    - `ship_to_address` UpdateOWmsrderShipToAddress, required
      - `full_name` string
      - `company` string
      - `address1` string
      - `address2` string
      - `city` string
      - `state` string
      - `postal_code` string
      - `country` string
    - `line_items` UpdateWmsOrderLineItems[] — List of the products included in the order.
      - `product_id` string — Can be passed into the [Product](/api-reference/wms-api/products/get-item) endpoint for more details.
      - `sku` string
      - `quantity` integer
      - `unit_price` number — The price of the product in the currency specified by `invoice_currency_code`.
      - `discount_amount` number — The amount per unit discounted from the product for this order.
    - `status` 'open' | 'confirmed' | 'processing' | 'picked' | 'packed' | 'partially_fulfilled' | 'fulfilled' | 'exception' | 'cancelled' | 'backordered' | 'other', required — The status of the order. See the [order information](info) for more details.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `ship_to_address` ShipToAddressAmphora, required
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string
      - `postal_code` string, required
      - `country` string, required
      - `phone_number` string
      - `email_address` string
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `ship_to_address` ShipToAddressBluebox
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `line_items` WmsOrderCreateLineItembluebox[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
      - `unit_price` number
    - `carrier_id` string, required — The ID of the carrier used to ship the order to the customer. If carrier_name is also provided, this will take precedence.
    - `shipping_method_id` string, required — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `trading_partner` string — For retail/EDI orders, the trading partner who placed the order (e.g. Target, Walmart).
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `ship_to_address` ClarusUpdateOrderShipToAddressClarus
      - `full_name` string
      - `company` string
      - `address1` string
      - `address2` string
      - `city` string
      - `state` string
      - `postal_code` string
      - `country` string
      - `email_address` string
      - `phone_number` string
    - `line_items` WmsOrderUpdateLineItemclarus[], required — List of the products included in the order.
      - `product_id` string, required
      - `quantity` integer
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `warehouse_id` string, required — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `ship_to_address` ShipToAddressDearSystems
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `bill_to_address` BillToAddressDearSystems
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `line_items` WmsOrderWriteLineItemdearSystems[] — List of the products included in the order.
      - `product_id` string, required
      - `quantity` integer, required
      - `unit_price` number, required
      - `tax` number, required
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `ship_to_address` OrderShipToAddressUpdateDeposco
      - `full_name` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string
      - `postal_code` string
      - `country` string, required
      - `phone_number` string
    - `line_items` WmsOrderWriteLineItemdeposco[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
      - `unit_price` number
      - `notes` LineItemNotes[] — List of notes for this line item
        - `title` string — Title of the note
        - `body` string — Body of the note
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `channel_object` union
      - object
        - `channel_id` string, required — The ID of the channel.
      - object
        - `channel_name` string, required — The name of the channel.
    - `required_ship_date` string, date-time — The date the order must be shipped by.
    - `trading_partner` string — For retail/EDI orders, the trading partner who placed the order (e.g. Target, Walmart).
    - `cancel_by_ship_date` string, date-time — Date to cancel the order by
    - `custom_attribute_1` string — Custom attribute 1
    - `custom_attribute_2` string — Custom attribute 2
    - `custom_attribute_6` string — Custom attribute 6
    - `custom_attribute_7` string — Custom attribute 7
    - `order_type` 'Sales Order' | 'Outbound Transfer Order' — The type of Deposco order, defaults to Sales Order.
    - `freight_account_number` string — The freight account number.
    - `notes` Notes[] — List of the custom fields
      - `title` string, required — Title of the note
      - `body` string, required — Body of the note
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `order_number` string — A user-friendly identifier for their order.
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `ship_to_address` ShipToAddressExtensiv
      - `full_name` string
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string
      - `postal_code` string, required
      - `country` string, required
      - `email_address` string
      - `phone_number` string
    - `billing_code` 'default_Prepaid' | 'default_FreightCollect' | 'default_BillThirdParty' | 'fedex_collect' | 'fedex_recipient' | 'fedex_sender' | 'fedex_third_party' | 'ups_BillThirdParty' | 'ups_ConsigneeBilled' | 'ups_FreightCollect' | 'ups_Prepaid' — Billing Type
    - `carrier_id` string — The ID of the carrier used to ship the order to the customer. If carrier_name is also provided, this will take precedence.
    - `carrier_account_number` string — Carrier account number to bill freight against (e.g. for third-party billing).
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `line_items` WmsOrderWriteLineItemextensiv3plCentral[] — List of the products included in the order.
      - `product_id` string
      - `sku` string
      - `quantity` integer, required
      - `unit_price` number
      - `custom_fields` CustomField[] — List of the custom fields
        - `name` string, required — Name of the custom field
        - `value` string, required — Value of the custom field
    - `trading_partner` string — For retail/EDI orders, the trading partner who placed the order (e.g. Target, Walmart).
    - `custom_fields` CustomField[] — List of the custom fields
      - `name` string, required — Name of the custom field
      - `value` string, required — Value of the custom field
    - `channel_object` union
      - object
        - `channel_id` string, required — The ID of the channel.
      - object
        - `channel_name` string, required — The name of the channel.
    - `total_discount` number — The total amount discounted from the order.
    - `total_shipping` number — The total shipping cost for the order incurred by the customer.
    - `total_tax` number — The total tax on the order.
    - `gift_message` string — Gift message
    - `earliest_ship_date` string, date-time — The projected ship date of the order
    - `ship_cancel_date` string, date-time — Ship cancel date
    - `purchase_order_number` string — Purchase order number
    - `bill_to_address` BillToAddressExtensiv
      - `full_name` string
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
      - `retailer_id` integer — Retailer ID to bill the order to
    - `notes` string — Notes
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `ship_to_address` ShipToAddressFfe
      - `company` string, required
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
      - `first_name` string, required — The first name of the recipient.
      - `last_name` string, required — The last name of the recipient.
      - `phone` string — The phone number of the customer.
      - `email` string — The email address of the customer.
    - `line_items` WmsOrderCreateLineItemffe[], required — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
      - `external_id` string — The retail item number for this line item
    - `notes` string[] — List of notes associated with the order.
    - `purchase_order_number` string — The purchase order number associated with the order.
    - `is_edi` boolean — Whether the order is an EDI order.
    - `trading_partner` string — For retail/EDI orders, the trading partner who placed the order (e.g. Target, Walmart).
    - `carrier_id` string, nullable — The ID of the carrier used to ship the order to the customer. If carrier_name is also provided, this will take precedence. Maps to FFE's PreferredCarrierId. Use GET /wms/shipping-methods (carrier_id) to find valid IDs. If omitted, the carrier is inferred from the shipping_method_id composite.
    - `shipping_method_id` string, nullable — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence. Maps to FFE's PreferredCarrierServiceTypeId. Pass the id field returned by GET /wms/shipping-methods, which has the composite format '{carrier_id}-{service_type_id}'. A bare service_type_id (e.g. '21') is also accepted, in which case carrier_id should be supplied separately.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `order_number` string — A user-friendly identifier for their order.
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `service_level` string — The type of shipping method requested by the customer.
    - `signature_required` boolean
    - `channel_object` union
      - object
        - `channel_id` string, required — The ID of the channel.
      - object
        - `channel_name` string, required — The name of the channel.
    - `notes` string
    - `tags` string[] — A list of tags associated with the order. Tags that are represented as key-value pairs in the WMS will be represented as a single string formatted as `key:value`.
    - `ship_to_address` UpdateShipToAddressGobolt
      - `full_name` string
      - `company` string
      - `address1` string
      - `address2` string
      - `city` string
      - `state` string
      - `postal_code` string
      - `country` string
      - `phone_number` string
      - `email_address` string
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `warehouse_customer_id` string, nullable — The ID of the merchant/tenant/customer that owns the order. Can be passed into the [Warehouse Customer](/api-reference/wms-api/warehouse-customers/get-item) endpoint for more details. Used for 3PL accounts.
    - `warehouse_id` string, required — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `bill_to_address` BillToAddressInfoplus
      - `full_name` string
      - `company` string, required
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `ship_to_address` ShipToAddressInfoplus
      - `full_name` string
      - `company` string, required
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `line_items` WmsOrderWriteLineIteminfoplus[], required — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
      - `unit_price` number
    - `channel_object` union
      - object
        - `channel_id` string, required — The ID of the channel.
      - object
        - `channel_name` string, required — The name of the channel.
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `shipping_method_name` string — The name of the shipping method used to ship the order. If shipping_method_id is also provided, that will take precedence. May vary from the shipping methods returned at the package level.
    - `tags` string[] — A list of tags associated with the order.
    - `customer_po_number` string — Customer's purchase order number
    - `order_number` string — A user-friendly identifier for their order.
    - `gift_message` string — Gift message
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `warehouse_id` string, required — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `order_number` string — A user-friendly identifier for their order.
    - `ship_to_address` ShipToAddressLogiwa
      - `full_name` string, required
      - `address1` string, required
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `status` 'open' | 'confirmed' | 'processing' | 'fulfilled' | 'cancelled' | 'exception' — The status of the order. See the [order information](info) for more details.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `order_number` string — A user-friendly identifier for their order.
    - `order_date` string, date-time, required
    - `warehouse_id` string, required — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `shipping_method_name` string — The name of the shipping method used to ship the order. If shipping_method_id is also provided, that will take precedence. May vary from the shipping methods returned at the package level.
    - `carrier_id` string — The ID of the carrier used to ship the order to the customer. If carrier_name is also provided, this will take precedence.
    - `carrier_name` string — The name of the carrier used to ship the order to the customer. If carrier_id is also provided, that will take precedence. May vary from the carriers returned at the package level.
    - `notes` string
    - `shipment_order_type` string
    - `line_items` WmsOrderWriteLineItemlogiwaIo[], required — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
      - `pack_type` string — The pack type of the line item (default: Each)
      - `unit_price` number
    - `ship_to_address` ShipToAddressLogiwaIo, required
      - `full_name` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `ship_to_address` ShipToAddressMasonhub, required
      - `full_name` string, required
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `type` 'customer' | 'destroy' | 'packAndHold' | 'quarantine' | 'returnToVendor' | 'transfer' | 'wholesale' | 'workOrder' | 'dropship' — The type of order.
    - `carrier_id` 'rate_shop' | 'UPS' | 'USPS' | 'FEDEX' | 'DHL' | 'willCall' — The ID of the carrier used to ship the order to the customer. If carrier_name is also provided, this will take precedence.
    - `service_level` 'economy' | 'nextDayAirEarlyAM' | 'nextDay' | 'guaranteedNextDay' | '2-day' | '3-day' | 'guaranteed2Day' | 'ground' | 'priority' | 'LTL' | 'FTL' | 'willCall' | 'international', required — The type of shipping method requested by the customer.
    - `priority` integer — The priority number of the order. 1 is the highest priority and should only be used in special circumstances.
    - `shipping_address_type` 'business' | 'residential' — Business or residential address.
    - `passthrough_fields` object — Use this object to pass fields directly to the underlying API. You will have to read the API's documentation to know what fields are available, and cannot override fields that are managed by Trackstar.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `line_items` WmsOrderWriteLineItemmintsoft[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
      - `unit_price` number
    - `ship_to_address` ShipToAddressMintsoft
      - `full_name` string, required
      - `company` string
      - `address1` string
      - `address2` string
      - `city` string
      - `state` string
      - `postal_code` string
      - `country` string, required
      - `email` string
      - `phone_number` string
    - `channel_object` union
      - object
        - `channel_id` string, required — The ID of the channel.
      - object
        - `channel_name` string, required — The name of the channel.
    - `order_number` string — A user-friendly identifier for their order.
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `order_number` string, required — A user-friendly identifier for their order.
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `delivery_date` string, date-time — Expected delivery date
    - `line_items` WmsOrderWriteLineItemongoing[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
      - `unit_price` number
    - `ship_to_address` ShipToAddressOngoing
      - `full_name` string, required
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
      - `customer_number` string
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `service_level` string — The type of shipping method requested by the customer.
    - `line_items` WmsOrderWriteLineItempackiyo[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
    - `ship_to_address` ShipToAddressPackiyo
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `order_number` string — A user-friendly identifier for their order.
    - `channel_object` SandboxChannelIdSchema
      - `channel_id` string, required — The ID of the channel.
    - `shipping_method_id` 'N/A - Connect an account to see options' — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `service_level` string — The type of shipping method requested by the customer.
    - `invoice_currency_code` string — The currency used for this order. If not provided explicitly, defaults to USD.
    - `total_price` number — The total price a customer paid for the order.
    - `ship_to_address` SandboxUpdateOrderShipToAddress
      - `full_name` string
      - `company` string, nullable
      - `address1` string, required
      - `address2` string, nullable
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `line_items` SandboxUpdateOrderLineItems[] — List of the products included in the order.
      - `sku` 'N/A - Connect an account to see options', required
      - `quantity` integer, required
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `order_number` string, required — A user-friendly identifier for their order.
    - `warehouse_id` string, required — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `line_items` WmsOrderWriteLineItemshipfusion[], required — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
    - `ship_to_address` ShipToAddressShipfusion, required
      - `full_name` string, required
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
      - `phone_number` string, required — The phone number of the customer.
      - `email_address` string, required — The email address of the customer.
    - `shipping_method_id` string, required — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `carrier_id` string — The ID of the carrier used to ship the order to the customer. If carrier_name is also provided, this will take precedence.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `warehouse_customer_id` string, nullable — The ID of the merchant/tenant/customer that owns the order. Can be passed into the [Warehouse Customer](/api-reference/wms-api/warehouse-customers/get-item) endpoint for more details.
    - `order_number` string — A user-friendly identifier for their order.
    - `ship_to_address` UpdateOrderShipToAddressShiphero
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `line_items` WmsOrderUpdateLineItemshiphero[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
      - `unit_price` number, required
      - `warehouse_id` string — Warehouse ID to ship item from
      - `quantity_pending_fulfillment` integer — Number of units on this line item still pending fulfillment.
    - `labels` Labels[] — List of labels to be created for the shipment. If labels are provided, no other fields can be updated.
      - `shipment_id` string, required
      - `carrier_id` string — The carrier used to ship the package
      - `shipping_method_id` string
      - `shipping_method_name` string
      - `shipping_cost` number, required
      - `measurements` ShipmentMeasurementsshiphero, 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 shipment.
        - `weight` number, nullable, required
        - `weight_unit` 'kg' | 'oz' | 'lb', nullable, required — The unit of measurement for the weight of the shipment.
      - `label` Label
        - `paper_pdf_location` string
        - `thermal_pdf_location` string
        - `pdf_location` string
        - `image_location` string
      - `skus` string[], required — The skus associated with the label.
      - `tracking_number` string
    - `order_holds` OrderHolds
      - `address_hold` boolean — Address hold
      - `payment_hold` boolean — Payment hold
      - `operator_hold` boolean — Operator hold
      - `fraud_hold` boolean — Fraud hold
      - `client_hold` boolean — Client hold
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `status` 'fulfilled' — The status of the order. See the [order information](info) for more details.
    - `packing_note` string — Packing Note for the order
    - `gift_note` string — Gift note for the order
    - `tags` string[] — A list of tags associated with the order. Tags that are represented as key-value pairs in the WMS will be represented as a single string formatted as `key:value`.
    - `required_ship_date` string, date-time — The date the order must be shipped by.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `shipping_method_name` string — The name of the shipping method used to ship the order. If shipping_method_id is also provided, that will take precedence. May vary from the shipping methods returned at the package level.
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `line_items` WmsOrderWriteLineItemshipmonk[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
      - `name` string
      - `unit_price` number
    - `ship_to_address` UpdateOrderShipToAddressShipmonk
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `line_items` WmsOrderUpdateLineItemshippingTree[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
    - `ship_to_address` ShipToAddressShippingTree
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string
      - `postal_code` string, required
      - `country` string, required
      - `email_address` string, required
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `order_number` string — A user-friendly identifier for their order.
    - `tags` string[] — A list of tags associated with the order. Tags that are represented as key-value pairs in the WMS will be represented as a single string formatted as `key:value`.
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `order_number` string — A user-friendly identifier for their order.
    - `required_ship_date` string, date-time — The date the order must be shipped by.
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `shipping_method_name` string — The name of the shipping method used to ship the order. If shipping_method_id is also provided, that will take precedence. May vary from the shipping methods returned at the package level.
    - `bill_to_address` UpdateBillingAddressShipstation
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string, nullable
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `ship_to_address` UpdateOrderShipToAddressShipstation
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string, nullable
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `line_items` WmsOrderUpdateLineItemshipstation[] — List of the products included in the order.
      - `quantity` integer, required — The quantity of the item
      - `sku` string, required — The SKU of the item
      - `unit_price` number — The price of the product
      - `set_or_update_customs_value` boolean — Set or update customs value
      - `country_of_origin` string — The product country of origin, required if existing customs item does not exist
      - `harmonized_tariff_code` string — The harmonized tariff code for the item
      - `customs_description` string — The customs description for the item
  - object
    - `custom_fields` string — Connect an account to see custom fields.
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `shipping_method_name` string — The name of the shipping method used to ship the order. If shipping_method_id is also provided, that will take precedence. May vary from the shipping methods returned at the package level.
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `ship_to_address` ShipToAddressShipstream
      - `full_name` string
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `trackstar_tags` unknown[], nullable — 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
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `order_number` string — A user-friendly identifier for their order.
    - `ship_to_address` ShipToAddressShipwire
      - `full_name` string, required
      - `address1` string, required
      - `address2` string, required
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `line_items` WmsOrderWriteLineItemshipwire[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
  - object
    - `ship_to_address` ShipToAddressSkusavvy
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `trackstar_tags` unknown[], nullable — 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
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `status` 'open' | 'confirmed' | 'processing' | 'fulfilled' | 'exception' | 'cancelled', required — The status of the order. See the [order information](info) for more details.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `order_number` string — A user-friendly identifier for their order.
    - `memo` string — A note or memo that will be added to the order for internal use
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `expected_ship_date` string, date — The date when the shipment is expected to be dispatched.
    - `line_items` WmsOrderWriteLineItemsojo[] — List of the products included in the order.
      - `product_id` string, required — The ID of the product to be ordered.
      - `quantity` integer, required
    - `ship_to_address` ShipToAddressSojo
      - `full_name` string, required
      - `address1` string, required
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `ship_to_address` UpdateShipToAddressUnleashed
      - `full_name` string
      - `address1` string
      - `address2` string
      - `city` string
      - `state` string
      - `postal_code` string
      - `country` string, required
    - `line_items` WmsOrderUpdateLineItemunleashed[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `channel_object` ChannelIdSchema
      - `channel_id` string, required — The ID of the channel.
    - `ship_to_address` ShipToAddressVeeqo
      - `full_name` string
      - `company` string
      - `address1` string
      - `address2` string
      - `city` string
      - `state` string
      - `postal_code` string
      - `country` string
    - `order_number` string — A user-friendly identifier for their order.
    - `line_items` WmsOrderWriteLineItemveeqo[] — List of the products included in the order.
      - `product_id` string, required
      - `unit_price` number, required
      - `quantity` integer, required
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence.
    - `shipping_method_name` string — The name of the shipping method used to ship the order. If shipping_method_id is also provided, that will take precedence. May vary from the shipping methods returned at the package level.
  - object
    - `line_items` WmsOrderUpdateLineItemveracore[] — List of the products included in the order.
      - `sku` string, required
      - `quantity` integer, required
    - `ship_to_address` ShipToAddressVeracore
      - `full_name` string
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
      - `address3` string
      - `email_address` string
    - `trackstar_tags` unknown[], nullable — 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
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `service_level` string — The type of shipping method requested by the customer.
    - `shipping_method_id` string — Use service_level instead.
    - `warehouse_id` string — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `shipping_method_id` string — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. If shipping_method_name is also provided, this will take precedence. Can pass in either shipping_method_id or shipping_method_name + carrier_id
    - `shipping_method_name` string — The name of the shipping method used to ship the order. If shipping_method_id is also provided, that will take precedence. May vary from the shipping methods returned at the package level. Can pass in either shipping_method_id or shipping_method_name + carrier_id
    - `carrier_id` string — The ID of the carrier used to ship the order to the customer. If carrier_name is also provided, this will take precedence. Can pass in either shipping_method_id or shipping_method_name + carrier_id
    - `order_type` 'direct_to_consumer' | 'dropship' | 'retail' | 'transfer' | 'value_added_service' | 'wholesale' — The type of order.
    - `ship_to_address` ShipToAddressWhiplash
      - `full_name` string, required
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `line_items` WmsOrderWriteLineItemwhiplash[] — List of the products included in the order.
      - `sku` string, required — SKU of the item.
      - `quantity` integer, required — Total quantity of the item.
      - `unit_price` number — Price of the item.
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `warehouse_customer_id` string, nullable — The ID of the merchant/tenant/customer that owns the order. Can be passed into the [Warehouse Customer](/api-reference/wms-api/warehouse-customers/get-item) endpoint for more details.
  - object
    - `trackstar_tags` unknown[], nullable — 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
    - `ship_to_address` ShipToAddressZenventory, required
      - `full_name` string
      - `company` string
      - `address1` string, required
      - `address2` string
      - `city` string, required
      - `state` string, required
      - `postal_code` string, required
      - `country` string, required
    - `line_items` WmsOrderWriteLineItemzenventory[], required — List of the products included in the order.
      - `sku` string, required — SKU of the item.
      - `quantity` integer, required — Total quantity of the item.
    - `reference_id` string — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.

## Response `200`

Successful response

- WmsUpdateOrderResponse
  - `data` WmsOrderApiItemSchema
    - `id` string, required — The unique ID of the order.
    - `warehouse_customer_id` string, nullable, required — The ID of the merchant/tenant/customer that owns the order. Can be passed into the [Warehouse Customer](/api-reference/wms-api/warehouse-customers/get-item) endpoint for more details.
    - `warehouse_id` string, nullable, required — If set at the order level, the expected warehouse the order will be shipped from. At the shipment level, the warehouse the shipment was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
    - `created_date` string, date-time, required — The date the order was created.
    - `updated_date` string, date-time, required — The date the order was last updated.
    - `reference_id` string, required — An external unique identifier for the order, such as a Shopify order id. Defaults to `id` if client has not defined one.
    - `order_number` string, required — A user-friendly identifier for their order. Defaults to `reference_id` if not provided.
    - `status` 'open' | 'confirmed' | 'processing' | 'picked' | 'packed' | 'partially_fulfilled' | 'fulfilled' | 'exception' | 'cancelled' | 'backordered' | 'other', required — The status of the order. See the [order information](info) for more details.
    - `raw_status` string, nullable, required — The raw status (if available) returned directly from the WMS.
    - `channel_object` OrderChannel, required
      - `channel_id` string, required — The ID of the channel.
      - `channel_name` string, nullable, required — The name of the channel.
    - `type` 'd2c' | 'b2b' | 'dropship' | 'transfer', nullable, required — The type of order, such as d2c, b2b, dropship, or transfer.
    - `trading_partner` string, nullable, required — For retail/EDI orders, the trading partner who placed the order (e.g. Target, Walmart).
    - `service_level` string, nullable, required — The type of shipping method requested by the customer.
    - `shipping_method_id` string, nullable, required — The ID of the actual shipping method used to ship the order. Can be passed into the [Shipping Method](/api-reference/wms-api/shipping-methods/get-item) endpoint for more details.. May vary from the shipping methods returned at the package level.
    - `shipping_method_name` string, nullable, required — The name of the shipping method used to ship the order.
    - `carrier_id` string, nullable, required — The ID of the carrier used to ship the order to the customer. May vary from the carriers returned at the package level.
    - `carrier_name` string, nullable, required — The name of the carrier used to ship the order to the customer. If carrier_id is also provided, that will take precedence. May vary from the carriers returned at the package level.
    - `scac` string, nullable, required — The Standard Carrier Alpha Code for the carrier used to ship the order.
    - `is_third_party_freight` boolean, nullable, required — True if the order was shipped using a third party freight account.
    - `third_party_freight_account_number` string, nullable, required — The third party freight account number used to ship the order.
    - `first_party_freight_account_number` string, nullable, required — The first party freight account number used to ship the order.
    - `invoice_currency_code` string, required — The currency used for this order. If not provided explicitly, defaults to USD.
    - `total_price` number, nullable, required — The total price a customer paid for the order.
    - `total_tax` number, nullable, required — The total tax on the order.
    - `total_discount` number, nullable, required — The total amount discounted from the order.
    - `total_shipping` number, nullable, required — The total shipping cost for the order incurred by the customer.
    - `ship_to_address` ShipToAddress, required
      - `full_name` string, nullable, required
      - `company` string, nullable, required
      - `address1` string, nullable, required
      - `address2` string, nullable, required
      - `address3` string, nullable, required
      - `city` string, nullable, required
      - `state` string, nullable, required
      - `postal_code` string, nullable, required
      - `country` string, nullable, required
      - `phone_number` string, nullable, required
      - `email_address` string, nullable, required
    - `line_items` WmsOrderLineItem[], required — List of the products included in the order.
      - `product_id` string, required — Can be passed into the [Product](/api-reference/wms-api/products/get-item) endpoint for more details.
      - `sku` string, nullable, required
      - `quantity` integer, required
      - `unit_price` number, nullable, required — The price of the product in the currency specified by `invoice_currency_code`.
      - `discount_amount` number, nullable, required — The amount discounted from the product for this order.
    - `tags` string[], required — A list of tags associated with the order. Tags that are represented as key-value pairs in the WMS will be represented as a single string formatted as `key:value`.
    - `required_ship_date` string, date-time, nullable, required — The date the order must be shipped by.
    - `saturday_delivery` boolean, nullable, required — True if the order requires Saturday delivery.
    - `signature_required` boolean, nullable, required — True if the order requires a signature upon delivery.
    - `international_duty_paid_by` 'sender' | 'recipient' | 'third_party', nullable, required — The party responsible for paying international duties.
    - `shipments` OrderShipment[], required — List of the shipments sent out to the customer.
      - `shipment_id` string, required — The ID of the shipment.
      - `warehouse_id` string, required — The warehouse this order was shipped from. Can be passed into the [Warehouse](/api-reference/wms-api/warehouses/get-item) endpoint for more details.
      - `raw_status` string, nullable, required — The raw status (if available) of the shipment returned directly from the WMS.
      - `status` 'open' | 'shipped' | 'cancelled' | 'other', required — The status of the shipment.
      - `shipped_date` string, date-time, nullable, required — The date the shipment was sent.
      - `line_items` ShipmentLineItem[], required — List of the inventory items listed in the shipment.
        - `inventory_item_id` string, required — The ID of the inventory item. Can be passed into the [Inventory](/api-reference/wms-api/inventory/get-item) endpoint for more details.
        - `sku` string, nullable, required
        - `quantity` integer, required
        - `parent_product_id` string, nullable, required — The ID of the parent product if the line item is part of a kit. Can be passed into the [Product](/api-reference/wms-api/products/get-item) endpoint for more details.
      - `ship_to_address` ShipToAddress, required
        - `full_name` string, nullable, required
        - `company` string, nullable, required
        - `address1` string, nullable, required
        - `address2` string, nullable, required
        - `address3` string, nullable, required
        - `city` string, nullable, required
        - `state` string, nullable, required
        - `postal_code` string, nullable, required
        - `country` string, nullable, required
        - `phone_number` string, nullable, required
        - `email_address` string, nullable, required
      - `ship_from_address` ShipFromAddress, required
        - `address1` string, nullable, required
        - `address2` string, nullable, required
        - `address3` string, nullable, required
        - `city` string, nullable, required
        - `state` string, nullable, required
        - `postal_code` string, nullable, required
        - `country` string, nullable, required
      - `packages` Package[], required — A list of the packages included in the shipment.
        - `package_id` string, required — The ID of the package.
        - `package_name` string, nullable, required — The name of the package. (e.g. 12x9x4)
        - `tracking_number` string, nullable, required — The tracking number for the package.
        - `tracking_url` string, nullable, required — The URL for the tracking number.
        - `shipping_method_id` string, nullable, required — The ID of the shipping method returned at the package level.
        - `shipping_method_name` string, nullable, required — The name of the shipping method returned at the package level.
        - `carrier_id` string, nullable, required — The ID of the carrier used to ship the package.
        - `carrier_name` string, nullable, required — The name of the carrier used to ship the package.
        - `scac` string, nullable, required — The Standard Carrier Alpha Code for the carrier used to ship the package.
        - `shipping_cost` number, nullable, required — The cost incurred by the warehouse to ship the package.
        - `measurements` PackageMeasurements, 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 package.
          - `weight` number, nullable, required
          - `weight_unit` 'kg' | 'oz' | 'lb', nullable, required — The unit of measurement for the weight of the package.
        - `line_items` PackageLineItem[], required — A list of the inventory items included in the package.
          - `inventory_item_id` string, required — The ID of the inventory item. Can be passed into the [Inventory](/api-reference/wms-api/inventory/get-item) endpoint for more details.
          - `sku` string, nullable, required
          - `quantity` integer, required
          - `lot_id` string, nullable, required — The ID of the lot the inventory item was picked from.
          - `expiration_date` string, date-time, nullable, required — The expiration date of the lot the inventory item was picked from.
          - `parent_product_id` string, nullable, required — The ID of the parent product if the line item is part of a kit. Can be passed into the [Product](/api-reference/wms-api/products/get-item) endpoint for more details.
    - `external_system_url` string, nullable, required — URL link to the order 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
  - `id` string, required — The ID of the object that has been created or modified
  - `unused_fields` string[], required — Unused fields

## Other responses

- `404` — Not found
- `422` — Validation error

---

[API](https://skmtc.net/trackstarhq/apis/trackstar-api.md) · [All operations](https://skmtc.net/trackstarhq/apis/trackstar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trackstarhq/trackstar-api/versions/4bc5c6e1a8bf/schema)
