Shipment Item
Each Shipment Item contains information about the shipped OrderItem in the Shipment.
When you create or update a ShipmentItem our system validates the Quantity can be fulfilled.
Available quantity is calculated depending on orderItem.qty - orderItem.fulfilledQty
.
ShipmentItems will be deleted automatically on delete parent Shipment object or related OrderItem object.
Once a ShipmentItem is created you cannot change the shipment, but you can change OrderItem and Quantity.
What you can do with ShipmentItem
ShipmentItem Properties
shipment | Type: string (format: iri-reference) The shipment reference to which the shipment item belongs. Example: |
orderItem | Type: string|null (format: iri-reference) The order item reference to which the shipment items item belongs. Example: |
qty | Type: integer|null The number of items in the shipment. Default and the minimum value is 0. The value cannot be greater than available quantity of the order item (orderItem.qty - orderItem.fulfilledQty). Example: |
externalSourceSyncId | Type: string|null The id of the shipment item in ecommerce store (WooCommerce, Shopify, etc.). Example: |
externalSourceIntegration | Type: string|null (format: iri-reference) The workflow reference to integration for ecommerce store. Example: |
fulfillmentIntegration | Type: string|null (format: iri-reference) The workflow reference to integration for fulfillment source. Example: |
fulfillmentSyncId | Type: string|null The id of the shipment item in the fulfillment source system (AliExpress, Amazon, etc.). Example: |
id | Type: string (format: uuid) A version 4 UUID. Example: |
Endpoints
Name | In | Is Required | Type | Description |
---|---|---|---|---|
page | query | No | integer | The collection page number The default value: 1 |
itemsPerPage | query | No | integer | The number of items per page The default value: 30 The minimal value: 0 The maximal value: 500 |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
shipment.id | query | No | string | |
shipment.id[] | query | No | array | Array of Strings. |
shipment.trackingNumber | query | No | string | |
orderItem.id | query | No | string | |
orderItem.id[] | query | No | array | Array of Strings. |
orderItem.order.id | query | No | string | |
orderItem.order.id[] | query | No | array | Array of Strings. |
workspace.id | query | No | string | |
workspace.id[] | query | No | array | Array of Strings. |
order[id] | query | No | string | Allowed values: asc|desc |
order[qty] | query | No | string | Allowed values: asc|desc |
qty | query | No | integer | |
qty[] | query | No | array | Array of Integers. |
qty[between] | query | No | string | |
qty[gt] | query | No | string | |
qty[gte] | query | No | string | |
qty[lt] | query | No | string | |
qty[lte] | query | No | string |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Resource identifier |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Shipment identifier |
page | query | No | integer | The collection page number The default value: 1 |
itemsPerPage | query | No | integer | The number of items per page The default value: 30 The minimal value: 0 The maximal value: 500 |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
shipment.id | query | No | string | |
shipment.id[] | query | No | array | Array of Strings. |
shipment.trackingNumber | query | No | string | |
orderItem.id | query | No | string | |
orderItem.id[] | query | No | array | Array of Strings. |
orderItem.order.id | query | No | string | |
orderItem.order.id[] | query | No | array | Array of Strings. |
workspace.id | query | No | string | |
workspace.id[] | query | No | array | Array of Strings. |
order[id] | query | No | string | Allowed values: asc|desc |
order[qty] | query | No | string | Allowed values: asc|desc |
qty | query | No | integer | |
qty[] | query | No | array | Array of Integers. |
qty[between] | query | No | string | |
qty[gt] | query | No | string | |
qty[gte] | query | No | string | |
qty[lt] | query | No | string | |
qty[lte] | query | No | string |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | OrderItem identifier |
page | query | No | integer | The collection page number The default value: 1 |
itemsPerPage | query | No | integer | The number of items per page The default value: 30 The minimal value: 0 The maximal value: 500 |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
shipment.id | query | No | string | |
shipment.id[] | query | No | array | Array of Strings. |
shipment.trackingNumber | query | No | string | |
orderItem.id | query | No | string | |
orderItem.id[] | query | No | array | Array of Strings. |
orderItem.order.id | query | No | string | |
orderItem.order.id[] | query | No | array | Array of Strings. |
workspace.id | query | No | string | |
workspace.id[] | query | No | array | Array of Strings. |
order[id] | query | No | string | Allowed values: asc|desc |
order[qty] | query | No | string | Allowed values: asc|desc |
qty | query | No | integer | |
qty[] | query | No | array | Array of Integers. |
qty[between] | query | No | string | |
qty[gt] | query | No | string | |
qty[gte] | query | No | string | |
qty[lt] | query | No | string | |
qty[lte] | query | No | string |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Order identifier |
items | path | Yes | string | OrderItem identifier |
page | query | No | integer | The collection page number The default value: 1 |
itemsPerPage | query | No | integer | The number of items per page The default value: 30 The minimal value: 0 The maximal value: 500 |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
shipment.id | query | No | string | |
shipment.id[] | query | No | array | Array of Strings. |
shipment.trackingNumber | query | No | string | |
orderItem.id | query | No | string | |
orderItem.id[] | query | No | array | Array of Strings. |
orderItem.order.id | query | No | string | |
orderItem.order.id[] | query | No | array | Array of Strings. |
workspace.id | query | No | string | |
workspace.id[] | query | No | array | Array of Strings. |
order[id] | query | No | string | Allowed values: asc|desc |
order[qty] | query | No | string | Allowed values: asc|desc |
qty | query | No | integer | |
qty[] | query | No | array | Array of Integers. |
qty[between] | query | No | string | |
qty[gt] | query | No | string | |
qty[gte] | query | No | string | |
qty[lt] | query | No | string | |
qty[lte] | query | No | string |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Workspace identifier |
shipments | path | Yes | string | Shipment identifier |
page | query | No | integer | The collection page number The default value: 1 |
itemsPerPage | query | No | integer | The number of items per page The default value: 30 The minimal value: 0 The maximal value: 500 |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
shipment.id | query | No | string | |
shipment.id[] | query | No | array | Array of Strings. |
shipment.trackingNumber | query | No | string | |
orderItem.id | query | No | string | |
orderItem.id[] | query | No | array | Array of Strings. |
orderItem.order.id | query | No | string | |
orderItem.order.id[] | query | No | array | Array of Strings. |
workspace.id | query | No | string | |
workspace.id[] | query | No | array | Array of Strings. |
order[id] | query | No | string | Allowed values: asc|desc |
order[qty] | query | No | string | Allowed values: asc|desc |
qty | query | No | integer | |
qty[] | query | No | array | Array of Integers. |
qty[between] | query | No | string | |
qty[gt] | query | No | string | |
qty[gte] | query | No | string | |
qty[lt] | query | No | string | |
qty[lte] | query | No | string |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Workspace identifier |
orders | path | Yes | string | Order identifier |
items | path | Yes | string | OrderItem identifier |
page | query | No | integer | The collection page number The default value: 1 |
itemsPerPage | query | No | integer | The number of items per page The default value: 30 The minimal value: 0 The maximal value: 500 |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
shipment.id | query | No | string | |
shipment.id[] | query | No | array | Array of Strings. |
shipment.trackingNumber | query | No | string | |
orderItem.id | query | No | string | |
orderItem.id[] | query | No | array | Array of Strings. |
orderItem.order.id | query | No | string | |
orderItem.order.id[] | query | No | array | Array of Strings. |
workspace.id | query | No | string | |
workspace.id[] | query | No | array | Array of Strings. |
order[id] | query | No | string | Allowed values: asc|desc |
order[qty] | query | No | string | Allowed values: asc|desc |
qty | query | No | integer | |
qty[] | query | No | array | Array of Integers. |
qty[between] | query | No | string | |
qty[gt] | query | No | string | |
qty[gte] | query | No | string | |
qty[lt] | query | No | string | |
qty[lte] | query | No | string |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Team identifier |
workspaces | path | Yes | string | Workspace identifier |
shipments | path | Yes | string | Shipment identifier |
page | query | No | integer | The collection page number The default value: 1 |
itemsPerPage | query | No | integer | The number of items per page The default value: 30 The minimal value: 0 The maximal value: 500 |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
shipment.id | query | No | string | |
shipment.id[] | query | No | array | Array of Strings. |
shipment.trackingNumber | query | No | string | |
orderItem.id | query | No | string | |
orderItem.id[] | query | No | array | Array of Strings. |
orderItem.order.id | query | No | string | |
orderItem.order.id[] | query | No | array | Array of Strings. |
workspace.id | query | No | string | |
workspace.id[] | query | No | array | Array of Strings. |
order[id] | query | No | string | Allowed values: asc|desc |
order[qty] | query | No | string | Allowed values: asc|desc |
qty | query | No | integer | |
qty[] | query | No | array | Array of Integers. |
qty[between] | query | No | string | |
qty[gt] | query | No | string | |
qty[gte] | query | No | string | |
qty[lt] | query | No | string | |
qty[lte] | query | No | string |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Team identifier |
workspaces | path | Yes | string | Workspace identifier |
orders | path | Yes | string | Order identifier |
items | path | Yes | string | OrderItem identifier |
page | query | No | integer | The collection page number The default value: 1 |
itemsPerPage | query | No | integer | The number of items per page The default value: 30 The minimal value: 0 The maximal value: 500 |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
shipment.id | query | No | string | |
shipment.id[] | query | No | array | Array of Strings. |
shipment.trackingNumber | query | No | string | |
orderItem.id | query | No | string | |
orderItem.id[] | query | No | array | Array of Strings. |
orderItem.order.id | query | No | string | |
orderItem.order.id[] | query | No | array | Array of Strings. |
workspace.id | query | No | string | |
workspace.id[] | query | No | array | Array of Strings. |
order[id] | query | No | string | Allowed values: asc|desc |
order[qty] | query | No | string | Allowed values: asc|desc |
qty | query | No | integer | |
qty[] | query | No | array | Array of Integers. |
qty[between] | query | No | string | |
qty[gt] | query | No | string | |
qty[gte] | query | No | string | |
qty[lt] | query | No | string | |
qty[lte] | query | No | string |
Name | In | Is Required | Type | Description |
---|
shipment | Type: object The shipment reference to which the shipment item belongs. Example:"shipment": { "trackingNumber": "TM123456789TM", "orderNumbers": [ "ON1", "ON2" ], "email": "non-existing@trackmage.com", "phoneNumber": 13125551212, "originCarrier": "china-post", "workspace": "/workspaces/cbe5589f-8869-4a9c-9d9c-3d7f70d66878", "orders": [ "/orders/cbe5589f-8869-4a9c-9d9c-3d7f70d66878" ], "shipmentItems": [ "/shipment_items/cbe5589f-8869-4a9c-9d9c-3d7f70d66878", "/shipment_items/3eb2f084-ea29-41ed-9bfb-691381bd7511" ], "externalSourceIntegration": "/workflows/a0b97939-5aea-4b35-b7c6-64f56bff1721", "externalSourceSyncId": "ws_123456", "fulfillmentIntegration": "/workflows/x5b97939-5aea-4b35-b7c6-64f56bff1722", "fulfillmentSyncId": "als_123456", "address": { "addressLine1": "567 East Cedar", "addressLine2": "Apartment 1", "city": "Liberal", "company": "Acme, Inc.", "country": "United States", "countryIso2": "US", "firstName": "Dorothy", "lastName": "Gale", "postcode": 67901, "state": "Kansas" }, "shipmentStatus": { "code": "new", "title": "New" } }
|
orderItem | Type: string|null (format: iri-reference) The order item reference to which the shipment items item belongs. Example: |
qty | Type: integer|null The number of items in the shipment. Default and the minimum value is 0. The value cannot be greater than available quantity of the order item (orderItem.qty - orderItem.fulfilledQty). Example: |
externalSourceSyncId | Type: string|null The id of the shipment item in ecommerce store (WooCommerce, Shopify, etc.). Example: |
externalSourceIntegration | Type: string|null (format: iri-reference) The workflow reference to integration for ecommerce store. Example: |
fulfillmentIntegration | Type: string|null (format: iri-reference) The workflow reference to integration for fulfillment source. Example: |
fulfillmentSyncId | Type: string|null The id of the shipment item in the fulfillment source system (AliExpress, Amazon, etc.). Example: |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Resource identifier |
orderItem | Type: string|null (format: iri-reference) The order item reference to which the shipment items item belongs. Example: |
qty | Type: integer|null The number of items in the shipment. Default and the minimum value is 0. The value cannot be greater than available quantity of the order item (orderItem.qty - orderItem.fulfilledQty). Example: |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Resource identifier |