Shipment
All Shipment objects are associated with a specific Workspace, that is why workspace is present in all shipments, and it is required during creation.
The trackingNumber is required for the tracking. Each shipment supports a single tracking number. If you need to use multiple tracking numbers, then you should create separate shipments.
A Shipment created with a valid trackingNumber will automatically populate its tracking information.
Tracking information (origin carrier, destination carrier, tracking status, etc.) is generated by TrackMage and cannot be modified by the user.
Address and shipmentStatus contained within a Shipment may be created at the same time.
What you can do with Shipment
ShipmentItem Properties
trackingNumber | Type: string|null A tracking number, provided by the shipping company. Example: |
trackingStatus | Type: string|null The code of the shipment's current tracking status. Example:
|
orderNumbers | Type: array List of order numbers to which the shipment belongs. Example: |
email | Type: string|null (format: email) Customer email address. Example: |
phoneNumber | Type: string|null Customer phone number. Example: |
daysInTransit | Type: integer|null The number of days from the moment of sending to receiving of the parcel. The "Days in Transit" is the number of days from which the parcel transitioned into an active in-transit status. So once a parcel reaches end status or finite status, something like delivered or canceled or error or other finite states or return back to the sender (that is also finite state) then the days in transit calculation is no longer applied. So we're calculating the days when the parcel actually in transit. That's exactly what it is. Example: |
daysInIdle | Type: integer|null This field is calculated based on idle statuses or the statuses when the shipment actually was created, but it doesn't have a tracking number. So this is a pre-shipment state, or pre-transit state, no info state, whenever we are actually ordering the parcels from a supplier and we don't have confirmation from their end or the tracking number for the parcel. Once the parcel transitions to an in-transit state or other active statuses or any finite statuses, then the "days in idle" counter stops to be calculated. Example: |
originCarrier | Type: string|null The code of origin carrier. Origin Carrier will be identified automatically based on Tracking Number. Sometimes the carrier cannot be identified. In that case, the system will return the error with the suggested carriers list in the payload. The value of this field can be specified only once in POST request. Example: |
destinationCarrier | |
originCountry | Type: string|null The origin country name. Example: |
destinationCountry | Type: string|null The destination country name. Example: |
originCountryIso2 | |
destinationCountryIso2 | |
shippedAt | Type: string|null (format: date-time) Shipment dispatch date (in ISO-8601 format). Example: |
expectedDeliveryDate | Type: string|null (format: date-time) Shipment expected delivery date (in ISO-8601 format). Example: |
createdAt | Type: string (format: date-time) The date and time (in ISO-8601 format) when the shipment was created. Example: |
updatedAt | Type: string (format: date-time) The date and time (in ISO-8601 format) when the shipment was updated. Example: |
lastStatusUpdate | Type: string|null (format: date-time) The date and time (in ISO-8601 format) when the tracking status was updated. Example: |
workspace | Type: string (format: iri-reference) The workspace reference to which the shipment belongs. Example: |
review | Type: string|null (format: iri-reference) |
reviewTotalScore | Type: number|null |
orders | Type: array List of order references to which the shipment belongs. Example: |
shipmentItems | Type: array List of shipment items references that belong to the shipment. Example: |
externalSourceIntegration | Type: string|null (format: iri-reference) The workflow reference to integration for ecommerce store. Example: |
externalSourceSyncId | Type: string|null The id of the shipment in ecommerce store (WooCommerce, Shopify, etc.). 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 in the fulfillment source system (AliExpress, Amazon, etc.). Example: |
address | Type: object|null The mailing address to where the order will be shipped. Represented by the Address object. Example:"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 | Type: object|null The current status of shipment. Represented by the Status object. Example:"shipmentStatus": { "code": "new", "title": "New", "id": "c2dc66dc-9b21-4144-8b1f-4e1e1bb866d6" }
|
id | Type: string (format: uuid) A version 4 UUID. Example: |
externalSourceIntegrationType | Type: string|null |
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 |
order[id] | query | No | string | Allowed values: asc|desc |
order[trackingNumber] | query | No | string | Allowed values: asc|desc |
order[trackingStatus] | query | No | string | Allowed values: asc|desc |
order[shipmentStatus.code] | query | No | string | Allowed values: asc|desc |
order[originCarrier] | query | No | string | Allowed values: asc|desc |
order[destinationCarrier] | query | No | string | Allowed values: asc|desc |
order[createdAt] | query | No | string | Allowed values: asc|desc |
order[updatedAt] | query | No | string | Allowed values: asc|desc |
order[shippedAt] | query | No | string | Allowed values: asc|desc |
order[lastStatusUpdate] | query | No | string | Allowed values: asc|desc |
order[expectedDeliveryDate] | query | No | string | Allowed values: asc|desc |
order[originCountry] | query | No | string | Allowed values: asc|desc |
order[destinationCountry] | query | No | string | Allowed values: asc|desc |
order[originCountryIso2] | query | No | string | Allowed values: asc|desc |
order[destinationCountryIso2] | query | No | string | Allowed values: asc|desc |
order[email] | query | No | string | Allowed values: asc|desc |
order[phoneNumber] | query | No | string | Allowed values: asc|desc |
order[daysInTransit] | query | No | string | Allowed values: asc|desc |
order[reviewTotalScore] | query | No | string | Allowed values: asc|desc |
order[address.addressLine1] | query | No | string | Allowed values: asc|desc |
order[address.addressLine2] | query | No | string | Allowed values: asc|desc |
order[address.city] | query | No | string | Allowed values: asc|desc |
order[address.company] | query | No | string | Allowed values: asc|desc |
order[address.countryIso2] | query | No | string | Allowed values: asc|desc |
order[address.firstName] | query | No | string | Allowed values: asc|desc |
order[address.lastName] | query | No | string | Allowed values: asc|desc |
order[address.postcode] | query | No | string | Allowed values: asc|desc |
order[address.state] | query | No | string | Allowed values: asc|desc |
order[daysInIdle] | query | No | string | Allowed values: asc|desc |
order[orderNumbers] | query | No | string | Allowed values: asc|desc |
orderNumbers | query | No | string | |
orderNumbers[] | query | No | array | Array of Strings. |
createdAt[before] | query | No | string | |
createdAt[strictly_before] | query | No | string | |
createdAt[after] | query | No | string | |
createdAt[strictly_after] | query | No | string | |
updatedAt[before] | query | No | string | |
updatedAt[strictly_before] | query | No | string | |
updatedAt[after] | query | No | string | |
updatedAt[strictly_after] | query | No | string | |
shippedAt[before] | query | No | string | |
shippedAt[strictly_before] | query | No | string | |
shippedAt[after] | query | No | string | |
shippedAt[strictly_after] | query | No | string | |
lastStatusUpdate[before] | query | No | string | |
lastStatusUpdate[strictly_before] | query | No | string | |
lastStatusUpdate[after] | query | No | string | |
lastStatusUpdate[strictly_after] | query | No | string | |
expectedDeliveryDate[before] | query | No | string | |
expectedDeliveryDate[strictly_before] | query | No | string | |
expectedDeliveryDate[after] | query | No | string | |
expectedDeliveryDate[strictly_after] | query | No | string | |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
trackingNumber | query | No | string | |
trackingStatus | query | No | string | |
trackingStatus[] | query | No | array | Array of Strings. |
shipmentStatus.code | query | No | string | |
shipmentStatus.code[] | query | No | array | Array of Strings. |
originCarrier | query | No | string | |
originCarrier[] | query | No | array | Array of Strings. |
destinationCarrier | query | No | string | |
destinationCarrier[] | query | No | array | Array of Strings. |
originCountry | query | No | string | |
originCountryIso2 | query | No | string | |
originCountryIso2[] | query | No | array | Array of Strings. |
destinationCountry | query | No | string | |
destinationCountryIso2 | query | No | string | |
destinationCountryIso2[] | query | No | array | Array of Strings. |
query | No | string | ||
phoneNumber | query | No | string | |
address.addressLine1 | query | No | string | |
address.addressLine2 | query | No | string | |
address.city | query | No | string | |
address.company | query | No | string | |
address.countryIso2 | query | No | string | |
address.countryIso2[] | query | No | array | Array of Strings. |
address.firstName | query | No | string | |
address.lastName | query | No | string | |
address.postcode | query | No | string | |
address.state | query | No | string | |
daysInTransit | query | No | integer | |
daysInTransit[] | query | No | array | Array of Integers. |
daysInIdle | query | No | integer | |
daysInIdle[] | query | No | array | Array of Integers. |
daysInTransit[between] | query | No | string | |
daysInTransit[gt] | query | No | string | |
daysInTransit[gte] | query | No | string | |
daysInTransit[lt] | query | No | string | |
daysInTransit[lte] | query | No | string | |
reviewTotalScore[between] | query | No | string | |
reviewTotalScore[gt] | query | No | string | |
reviewTotalScore[gte] | query | No | string | |
reviewTotalScore[lt] | query | No | string | |
reviewTotalScore[lte] | query | No | string | |
daysInIdle[between] | query | No | string | |
daysInIdle[gt] | query | No | string | |
daysInIdle[gte] | query | No | string | |
daysInIdle[lt] | query | No | string | |
daysInIdle[lte] | query | No | string | |
empty[orderNumbers] | query | No | boolean | |
empty[trackingNumber] | query | No | boolean | |
empty[email] | query | No | boolean | |
empty[phoneNumber] | query | No | boolean | |
empty[address.addressLine1] | query | No | boolean | |
empty[address.addressLine2] | query | No | boolean | |
empty[address.city] | query | No | boolean | |
empty[address.company] | query | No | boolean | |
empty[address.firstName] | query | No | boolean | |
empty[address.lastName] | query | No | boolean | |
empty[address.postcode] | query | No | boolean | |
empty[address.state] | query | No | boolean |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Resource identifier |
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Workspace 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 |
order[id] | query | No | string | Allowed values: asc|desc |
order[trackingNumber] | query | No | string | Allowed values: asc|desc |
order[trackingStatus] | query | No | string | Allowed values: asc|desc |
order[shipmentStatus.code] | query | No | string | Allowed values: asc|desc |
order[originCarrier] | query | No | string | Allowed values: asc|desc |
order[destinationCarrier] | query | No | string | Allowed values: asc|desc |
order[createdAt] | query | No | string | Allowed values: asc|desc |
order[updatedAt] | query | No | string | Allowed values: asc|desc |
order[shippedAt] | query | No | string | Allowed values: asc|desc |
order[lastStatusUpdate] | query | No | string | Allowed values: asc|desc |
order[expectedDeliveryDate] | query | No | string | Allowed values: asc|desc |
order[originCountry] | query | No | string | Allowed values: asc|desc |
order[destinationCountry] | query | No | string | Allowed values: asc|desc |
order[originCountryIso2] | query | No | string | Allowed values: asc|desc |
order[destinationCountryIso2] | query | No | string | Allowed values: asc|desc |
order[email] | query | No | string | Allowed values: asc|desc |
order[phoneNumber] | query | No | string | Allowed values: asc|desc |
order[daysInTransit] | query | No | string | Allowed values: asc|desc |
order[reviewTotalScore] | query | No | string | Allowed values: asc|desc |
order[address.addressLine1] | query | No | string | Allowed values: asc|desc |
order[address.addressLine2] | query | No | string | Allowed values: asc|desc |
order[address.city] | query | No | string | Allowed values: asc|desc |
order[address.company] | query | No | string | Allowed values: asc|desc |
order[address.countryIso2] | query | No | string | Allowed values: asc|desc |
order[address.firstName] | query | No | string | Allowed values: asc|desc |
order[address.lastName] | query | No | string | Allowed values: asc|desc |
order[address.postcode] | query | No | string | Allowed values: asc|desc |
order[address.state] | query | No | string | Allowed values: asc|desc |
order[daysInIdle] | query | No | string | Allowed values: asc|desc |
order[orderNumbers] | query | No | string | Allowed values: asc|desc |
orderNumbers | query | No | string | |
orderNumbers[] | query | No | array | Array of Strings. |
createdAt[before] | query | No | string | |
createdAt[strictly_before] | query | No | string | |
createdAt[after] | query | No | string | |
createdAt[strictly_after] | query | No | string | |
updatedAt[before] | query | No | string | |
updatedAt[strictly_before] | query | No | string | |
updatedAt[after] | query | No | string | |
updatedAt[strictly_after] | query | No | string | |
shippedAt[before] | query | No | string | |
shippedAt[strictly_before] | query | No | string | |
shippedAt[after] | query | No | string | |
shippedAt[strictly_after] | query | No | string | |
lastStatusUpdate[before] | query | No | string | |
lastStatusUpdate[strictly_before] | query | No | string | |
lastStatusUpdate[after] | query | No | string | |
lastStatusUpdate[strictly_after] | query | No | string | |
expectedDeliveryDate[before] | query | No | string | |
expectedDeliveryDate[strictly_before] | query | No | string | |
expectedDeliveryDate[after] | query | No | string | |
expectedDeliveryDate[strictly_after] | query | No | string | |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
trackingNumber | query | No | string | |
trackingStatus | query | No | string | |
trackingStatus[] | query | No | array | Array of Strings. |
shipmentStatus.code | query | No | string | |
shipmentStatus.code[] | query | No | array | Array of Strings. |
originCarrier | query | No | string | |
originCarrier[] | query | No | array | Array of Strings. |
destinationCarrier | query | No | string | |
destinationCarrier[] | query | No | array | Array of Strings. |
originCountry | query | No | string | |
originCountryIso2 | query | No | string | |
originCountryIso2[] | query | No | array | Array of Strings. |
destinationCountry | query | No | string | |
destinationCountryIso2 | query | No | string | |
destinationCountryIso2[] | query | No | array | Array of Strings. |
query | No | string | ||
phoneNumber | query | No | string | |
address.addressLine1 | query | No | string | |
address.addressLine2 | query | No | string | |
address.city | query | No | string | |
address.company | query | No | string | |
address.countryIso2 | query | No | string | |
address.countryIso2[] | query | No | array | Array of Strings. |
address.firstName | query | No | string | |
address.lastName | query | No | string | |
address.postcode | query | No | string | |
address.state | query | No | string | |
daysInTransit | query | No | integer | |
daysInTransit[] | query | No | array | Array of Integers. |
daysInIdle | query | No | integer | |
daysInIdle[] | query | No | array | Array of Integers. |
daysInTransit[between] | query | No | string | |
daysInTransit[gt] | query | No | string | |
daysInTransit[gte] | query | No | string | |
daysInTransit[lt] | query | No | string | |
daysInTransit[lte] | query | No | string | |
reviewTotalScore[between] | query | No | string | |
reviewTotalScore[gt] | query | No | string | |
reviewTotalScore[gte] | query | No | string | |
reviewTotalScore[lt] | query | No | string | |
reviewTotalScore[lte] | query | No | string | |
daysInIdle[between] | query | No | string | |
daysInIdle[gt] | query | No | string | |
daysInIdle[gte] | query | No | string | |
daysInIdle[lt] | query | No | string | |
daysInIdle[lte] | query | No | string | |
empty[orderNumbers] | query | No | boolean | |
empty[trackingNumber] | query | No | boolean | |
empty[email] | query | No | boolean | |
empty[phoneNumber] | query | No | boolean | |
empty[address.addressLine1] | query | No | boolean | |
empty[address.addressLine2] | query | No | boolean | |
empty[address.city] | query | No | boolean | |
empty[address.company] | query | No | boolean | |
empty[address.firstName] | query | No | boolean | |
empty[address.lastName] | query | No | boolean | |
empty[address.postcode] | query | No | boolean | |
empty[address.state] | query | No | boolean |
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 |
order[checkpointDate] | query | No | string | Allowed values: asc|desc |
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 | Team identifier |
workspaces | path | Yes | string | Workspace 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 |
order[id] | query | No | string | Allowed values: asc|desc |
order[trackingNumber] | query | No | string | Allowed values: asc|desc |
order[trackingStatus] | query | No | string | Allowed values: asc|desc |
order[shipmentStatus.code] | query | No | string | Allowed values: asc|desc |
order[originCarrier] | query | No | string | Allowed values: asc|desc |
order[destinationCarrier] | query | No | string | Allowed values: asc|desc |
order[createdAt] | query | No | string | Allowed values: asc|desc |
order[updatedAt] | query | No | string | Allowed values: asc|desc |
order[shippedAt] | query | No | string | Allowed values: asc|desc |
order[lastStatusUpdate] | query | No | string | Allowed values: asc|desc |
order[expectedDeliveryDate] | query | No | string | Allowed values: asc|desc |
order[originCountry] | query | No | string | Allowed values: asc|desc |
order[destinationCountry] | query | No | string | Allowed values: asc|desc |
order[originCountryIso2] | query | No | string | Allowed values: asc|desc |
order[destinationCountryIso2] | query | No | string | Allowed values: asc|desc |
order[email] | query | No | string | Allowed values: asc|desc |
order[phoneNumber] | query | No | string | Allowed values: asc|desc |
order[daysInTransit] | query | No | string | Allowed values: asc|desc |
order[reviewTotalScore] | query | No | string | Allowed values: asc|desc |
order[address.addressLine1] | query | No | string | Allowed values: asc|desc |
order[address.addressLine2] | query | No | string | Allowed values: asc|desc |
order[address.city] | query | No | string | Allowed values: asc|desc |
order[address.company] | query | No | string | Allowed values: asc|desc |
order[address.countryIso2] | query | No | string | Allowed values: asc|desc |
order[address.firstName] | query | No | string | Allowed values: asc|desc |
order[address.lastName] | query | No | string | Allowed values: asc|desc |
order[address.postcode] | query | No | string | Allowed values: asc|desc |
order[address.state] | query | No | string | Allowed values: asc|desc |
order[daysInIdle] | query | No | string | Allowed values: asc|desc |
order[orderNumbers] | query | No | string | Allowed values: asc|desc |
orderNumbers | query | No | string | |
orderNumbers[] | query | No | array | Array of Strings. |
createdAt[before] | query | No | string | |
createdAt[strictly_before] | query | No | string | |
createdAt[after] | query | No | string | |
createdAt[strictly_after] | query | No | string | |
updatedAt[before] | query | No | string | |
updatedAt[strictly_before] | query | No | string | |
updatedAt[after] | query | No | string | |
updatedAt[strictly_after] | query | No | string | |
shippedAt[before] | query | No | string | |
shippedAt[strictly_before] | query | No | string | |
shippedAt[after] | query | No | string | |
shippedAt[strictly_after] | query | No | string | |
lastStatusUpdate[before] | query | No | string | |
lastStatusUpdate[strictly_before] | query | No | string | |
lastStatusUpdate[after] | query | No | string | |
lastStatusUpdate[strictly_after] | query | No | string | |
expectedDeliveryDate[before] | query | No | string | |
expectedDeliveryDate[strictly_before] | query | No | string | |
expectedDeliveryDate[after] | query | No | string | |
expectedDeliveryDate[strictly_after] | query | No | string | |
id | query | No | string | |
id[] | query | No | array | Array of Strings. |
trackingNumber | query | No | string | |
trackingStatus | query | No | string | |
trackingStatus[] | query | No | array | Array of Strings. |
shipmentStatus.code | query | No | string | |
shipmentStatus.code[] | query | No | array | Array of Strings. |
originCarrier | query | No | string | |
originCarrier[] | query | No | array | Array of Strings. |
destinationCarrier | query | No | string | |
destinationCarrier[] | query | No | array | Array of Strings. |
originCountry | query | No | string | |
originCountryIso2 | query | No | string | |
originCountryIso2[] | query | No | array | Array of Strings. |
destinationCountry | query | No | string | |
destinationCountryIso2 | query | No | string | |
destinationCountryIso2[] | query | No | array | Array of Strings. |
query | No | string | ||
phoneNumber | query | No | string | |
address.addressLine1 | query | No | string | |
address.addressLine2 | query | No | string | |
address.city | query | No | string | |
address.company | query | No | string | |
address.countryIso2 | query | No | string | |
address.countryIso2[] | query | No | array | Array of Strings. |
address.firstName | query | No | string | |
address.lastName | query | No | string | |
address.postcode | query | No | string | |
address.state | query | No | string | |
daysInTransit | query | No | integer | |
daysInTransit[] | query | No | array | Array of Integers. |
daysInIdle | query | No | integer | |
daysInIdle[] | query | No | array | Array of Integers. |
daysInTransit[between] | query | No | string | |
daysInTransit[gt] | query | No | string | |
daysInTransit[gte] | query | No | string | |
daysInTransit[lt] | query | No | string | |
daysInTransit[lte] | query | No | string | |
reviewTotalScore[between] | query | No | string | |
reviewTotalScore[gt] | query | No | string | |
reviewTotalScore[gte] | query | No | string | |
reviewTotalScore[lt] | query | No | string | |
reviewTotalScore[lte] | query | No | string | |
daysInIdle[between] | query | No | string | |
daysInIdle[gt] | query | No | string | |
daysInIdle[gte] | query | No | string | |
daysInIdle[lt] | query | No | string | |
daysInIdle[lte] | query | No | string | |
empty[orderNumbers] | query | No | boolean | |
empty[trackingNumber] | query | No | boolean | |
empty[email] | query | No | boolean | |
empty[phoneNumber] | query | No | boolean | |
empty[address.addressLine1] | query | No | boolean | |
empty[address.addressLine2] | query | No | boolean | |
empty[address.city] | query | No | boolean | |
empty[address.company] | query | No | boolean | |
empty[address.firstName] | query | No | boolean | |
empty[address.lastName] | query | No | boolean | |
empty[address.postcode] | query | No | boolean | |
empty[address.state] | query | No | boolean |
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 |
order[checkpointDate] | query | No | string | Allowed values: asc|desc |
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 | 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 |
order[checkpointDate] | query | No | string | Allowed values: asc|desc |
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 |
---|
trackingNumber | Type: string|null A tracking number, provided by the shipping company. Example: |
orderNumbers | Type: array List of order numbers to which the shipment belongs. Example: |
email | Type: string|null (format: email) Customer email address. Example: |
phoneNumber | Type: string|null Customer phone number. Example: |
originCarrier | Type: string|null The code of origin carrier. Origin Carrier will be identified automatically based on Tracking Number. Sometimes the carrier cannot be identified. In that case, the system will return the error with the suggested carriers list in the payload. The value of this field can be specified only once in POST request. Example: |
workspace | Type: string (format: iri-reference) The workspace reference to which the shipment belongs. Example: |
orders | Type: array List of order references to which the shipment belongs. Example: |
shipmentItems | Type: array List of shipment items references that belong to the shipment. Example: |
externalSourceIntegration | Type: string|null (format: iri-reference) The workflow reference to integration for ecommerce store. Example: |
externalSourceSyncId | Type: string|null The id of the shipment in ecommerce store (WooCommerce, Shopify, etc.). 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 in the fulfillment source system (AliExpress, Amazon, etc.). Example: |
address | Type: object|null The mailing address to where the order will be shipped. Represented by the Address object. Example:"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 | Type: object|null The current status of shipment. Represented by the Status object. Example:"shipmentStatus": { "code": "new", "title": "New" }
|
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Resource identifier |
trackingNumber | Type: string|null A tracking number, provided by the shipping company. Example: |
orderNumbers | Type: array List of order numbers to which the shipment belongs. Example: |
email | Type: string|null (format: email) Customer email address. Example: |
phoneNumber | Type: string|null Customer phone number. Example: |
originCarrier | Type: string|null The code of origin carrier. Origin Carrier will be identified automatically based on Tracking Number. Sometimes the carrier cannot be identified. In that case, the system will return the error with the suggested carriers list in the payload. The value of this field can be specified only once in POST request. Example: |
orders | Type: array List of order references to which the shipment belongs. Example: |
shipmentItems | Type: array List of shipment items references that belong to the shipment. Example: |
address | Type: object|null The mailing address to where the order will be shipped. Represented by the Address object. Example:"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 | Type: object|null The current status of shipment. Represented by the Status object. Example:"shipmentStatus": { "code": "new", "title": "New" }
|
Name | In | Is Required | Type | Description |
---|---|---|---|---|
id | path | Yes | string | Resource identifier |