Get Order Response Guidelines
See How To Use this Guide before interpreting the guidelines below.

The following data is included in the message response:
Data Element | Occurs Length |
Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
S:Envelope | – |
1...1– |
Required. SOAP Envelope root element. |
||||||||
S:Body | – |
1...1– |
Required. SOAP Message Body. |
||||||||
ns2:GetOrderResponse | – |
1...1– |
Required. Get Order response message. |
||||||||
TLResponse | – |
0...1– |
Required. TraceLink response for the Get Order request message. |
||||||||
Success | – |
0...1– |
Required. Indicates whether the Get Order request processed successfully.1 |
||||||||
ExceptionReturn | – |
0...1– |
Conditionally required if Success = |
||||||||
CallException | – |
1...*– |
Required. Contains any available exception information. |
||||||||
ExceptionCode | 0/* |
0...1String |
Required. Indicates the error exception code. See Get Order Errors for full list of potential errors and error codes. |
||||||||
ExceptionMessage | 0/* |
0...1String |
Required. Message that further describes error condition. See Get Order Errors for full list of potential errors and error codes. |
||||||||
Order | – |
0...1– |
Required. Required element for Get Order response that contains order information attached to the submitted delivery number (from the request message). |
||||||||
@deliveryNumber | 1/* |
1...1String |
Required. The delivery number that was submitted in the request message, which links the order information to the serialized pick information for this customer order.2 |
||||||||
OrderDate | 10/10 |
0...1Date |
The date of the business transaction in XML YYYY-MM-DD format. If omitted, the system will reflect the date and time that the request was submitted.3 |
||||||||
EventDateTime | – |
0...1String |
Date and time of the event in XSD Date format in GMT (YYYY-MM-DDTHH:MM:SSZ). If omitted, the system will reflect the date and time that the request was submitted.4 |
||||||||
OrderComplete | – |
1...1Boolean |
Required. Instructs the system to process the outbound delivery and update the status of all serial numbers and sub-child aggregations, and triggers generation of regulatory reporting messages based on customer configuration.5
|
||||||||
ShipToCountryCode | 2/2 |
0...1String |
Conditionally required before OrderComplete is set to |
||||||||
ShortShip | 0/* |
0...1Boolean |
Instructs the system whether to allow short picks when verifying the quantities of what is expected to be picked (in OrderItems) against the each quantities of actual scanned serial numbers (in PickedItem).7
|
||||||||
SaleType | 1/* |
0...1String |
Conditionally required before OrderComplete is set to See the SalesDistType enumeration list for valid values. |
||||||||
SoldFromParty | – |
0...1– |
Conditionally required before OrderComplete is set to |
||||||||
BusinessIdentifiers | – |
0...1– |
Required. A list of one or more identifiers associated with the From Business Party. |
||||||||
BusinessIdentifier | – |
1...*– |
Required. The identifier associated with the from business entity. See Business Identifiers by Country. |
||||||||
@identifierType | 1/* |
1...1String |
Required. The type of the BusinessId identifier. See the BusinessAndLocationId enumeration list for valid values. |
||||||||
@identifierValue | – |
1...1– |
Required. Business identifier value.8 |
||||||||
BusinessName | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street1 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street2 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
City | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
StateOrRegion | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
PostalCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
CountryCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
DefaultFromMasterData | 1...1 – | Boolean |
Required. Instructs the system whether to look up the business name and address information from master data.16
|
||||||||
ShipFromLocation | – |
0...1– |
Represents the ShipFromLocation in the transaction. ![]() true . |
||||||||
BusinessIdentifiers | – |
0...1– |
Required. A list of one or more identifiers associated with the ShipFromLocation. |
||||||||
BusinessIdentifier | – |
1...*– |
Conditionally required for US. Populated with the ShipFromLocation identifier. See Business Identifiers by Country. |
||||||||
@identifierType | 1/* |
1...1String |
Required. The type of the location identifier. See the BusinessAndLocationId enumeration list for valid values. |
||||||||
@identifierValue | – |
1...1– |
Required. Business identifier value. |
||||||||
BusinessName | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street1 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street2 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
City | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
StateOrRegion | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
PostalCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
CountryCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
DefaultFromMasterData | – |
1...1Boolean |
Required. Instructs the system whether to look up the business name and address information from master data.
|
||||||||
License | – |
0...*– |
List of zero or more license numbers associated with the facility. This element may be repeated to include as many license numbers as required (e.g. state, federal license). |
||||||||
LicenseNumber17 | 1/* |
1...1String |
Required. License number value. |
||||||||
State18 | 1/* |
0...1String |
The state or region in which the trading partner is licensed, using the standard two-letter abbreviation specified in ISO 3166-2:1998 country sub-division code. This attribute is used to give additional context to the license number |
||||||||
Agency19 | 1/* |
0...1String |
The agency that granted the license (e.g. Florida DOH, NABP). This attribute is used to give additional context to the license number. |
||||||||
Contact | – |
0...1– |
Contact information for use by downstream trading partners to verify the transaction information. |
||||||||
Name20 | 1/* |
1...1String |
Required. The name of the contact department or individual at the company. |
||||||||
Telephone21 | 1/* |
0...1String |
The phone number of the
contact department or individual at the company. This must begin with the
|
||||||||
Email22 | 1/* |
0...1String |
The email address of the contact department or individual at the company. Should be included if available. |
||||||||
Title | 1/* |
0...1String |
The title of the individual if a person was provided in Name. |
||||||||
Url23 | 1/* |
0...1String |
The Web address to facilitate authentication. |
||||||||
SoldToParty | – |
0...1– |
Conditionally required before OrderComplete is set to |
||||||||
BusinessIdentifiers | – |
0...1– |
Required. A list of one or more identifiers associated with the To Business Party. |
||||||||
BusinessIdentifier | – |
1...*– |
Required. The identifier associated with the To Business Party entity. See the BusinessIdentifiersByCountry enumeration list for valid values. |
||||||||
@identifierType | 1/* |
1...1String |
Required. The type of the BusinessId identifier. See the BusinessAndLocationId enumeration list for valid values. |
||||||||
@identifierValue | – |
1...1– |
Required. Business identifier value. |
||||||||
BusinessName | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street1 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street2 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
City | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
StateOrRegion | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
PostalCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
CountryCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
DefaultFromMasterData | – |
1...1Boolean |
Required. Instructs the system whether to look up the business name and address information from master data.
|
||||||||
ShipToLocation | – |
0...1– |
Represents the ShipToLocation in the transaction. ![]() true . |
||||||||
BusinessIdentifiers | – |
0...1– |
Required. A list of one or more identifiers associated with the ShipToLocation. |
||||||||
BusinessIdentifier | – |
1...*– |
Required. Populated with the ShipToLocation identifier. See the BusinessIdentifiersByCountry enumeration list for valid values. |
||||||||
@identifierType | 1/* |
1...1String |
Required. The type of the location identifier. See the BusinessAndLocationId enumeration list for valid values. |
||||||||
@identifierValue | – |
1...1– |
Required. Business identifier value. |
||||||||
BusinessName | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street1 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street2 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
City | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
StateOrRegion | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
PostalCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
CountryCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
DefaultFromMasterData | – |
1...1Boolean |
Required. Instructs the system whether to look up the business name and address information from master data.
|
||||||||
License | – |
0...*– |
List of zero or more license numbers associated with the facility. This element may be repeated to include as many license numbers as required (e.g. state, federal license). |
||||||||
LicenseNumber | 1/* |
1...1String |
Required. License number value. |
||||||||
State | 1/* |
0...1String |
The state or region in which the trading partner is licensed, using the standard two-letter abbreviation specified in ISO 3166-2:1998 country sub-division code. This attribute is used to give additional context to the license number. |
||||||||
Agency | 1/* |
0...1String |
The agency that granted the license (e.g. Florida DOH, NABP). This attribute is used to give additional context to the license number. |
||||||||
Contact | – |
0...1– |
Contact information for use by downstream trading partners to verify the transaction information. |
||||||||
Name | 1/* |
1...1String |
Required. The name of the contact department or individual at the company. |
||||||||
Telephone | 1/* |
0...1String |
The phone number of the
contact department or individual at the company. This must begin with the
|
||||||||
1/* |
0...1String |
The email address of the contact department or individual at the company. Should be included if available. |
|||||||||
Title | 1/* |
0...1String |
The title of the individual if a person was provided in Name. |
||||||||
Url | 1/* |
0...1String |
The Web address to facilitate authentication. |
||||||||
TransportationCarrier | – |
0...1– |
Conditionally required for orders made into and within Brazil (where ShipToCountryCode = |
||||||||
BusinessIdentifiers | – |
0...1– |
Required. A list of one or more identifiers associated with the ShipToLocation. |
||||||||
BusinessIdentifier | – |
1...*– |
Required. The identifier associated with the transport carrier business entity. This value is required for regulatory reporting. Different countries require different values as noted below: ![]() |
||||||||
@identifierType | 1/* |
1...1String |
Required. The type of the location identifier. See the BusinessAndLocationId enumeration list for valid values. |
||||||||
@identifierValue | – |
1...1– |
Required. Business identifier value. |
||||||||
BusinessName | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street1 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
Street2 | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
City | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
StateOrRegion | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
PostalCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
CountryCode | 1/* |
0...1String |
Conditionally required if DefaultFromMasterData is unset or set to |
||||||||
DefaultFromMasterData | – |
1...1Boolean |
Required. Instructs the system whether to look up the business name and address information from master data.
|
||||||||
DropShipment | 0/* |
0...1Boolean |
Flag that indicates if the order is a drop shipment:24
|
||||||||
portalAccessCode | 0/* |
0...1String | The portal access code used to access drop shipments in the serialized drop ship portal. | ||||||||
AttemptDisaggregation | 0/* |
0...1Boolean |
Flag that indicates whether to disaggregate the picked serial number from the parent container:
|
||||||||
Transactions | – |
0...1– |
Conditionally required before OrderComplete is set to |
||||||||
Transaction | – |
0...*– |
Required. List of one or more transaction identifiers. |
||||||||
OrderID | 1/* |
0...1String |
Required. The transaction identifier associated with the order, for regulatory reporting and business tracking purposes. At least one is required, and depending on country more than one transaction ids may be required.25 ![]()
|
||||||||
OrderType | 1/* |
0...1String |
Conditionally required if cmn:TransactionIdentifier is populated. The transaction identifier type using the supported enumeration values.26 See the TransactionId enumeration list for valid values. |
||||||||
Date | 1/* |
0...1String |
Required. The date of the transaction in XML YYYY-MM-DD format. This value is used for regulatory reporting of the transaction date.27 |
||||||||
PickedItem | – – |
– |
Contains list of items picked for that order as well as the warehouse operator information. |
||||||||
WarehouseOperator | 0/* |
0...1String |
Conditionally required for China. Name of the person responsible for warehouse operations. This element can be communicated at any time (e.g. with, before, or after the order details or picked items have been communicated).28 |
||||||||
Items | – | - |
List of items picked for that order. |
||||||||
@sn | 1/* |
1...1String |
Required. Serial Number in the format specified in the request.29 |
||||||||
@namespace | 1/* |
0...1String |
Not used. |
||||||||
@isUpdated | 1/* |
1...1Boolean | Required. Records whether the serial number is updated, which TraceLink uses for system processing. | ||||||||
OrderItems | – |
1...1– |
Optional list of items expected to be in the order.
|
||||||||
OrderItem | – |
0...*– |
Required. A repeating element that captures the item code, lot number, and quantity for each item that will be picked for the order. Each unique item code and lot number is communicated in a separate order item group. |
||||||||
InternalItemCode | 1/* |
0...1String |
Conditionally required if PackagingItemCode is not populated. Option 1 in OrderItem: Use to identify the product using the internal material number configured in Product Master Data30 |
||||||||
PackagingItemCode | 1/* |
0...1String |
Conditionally required if InternalMaterialCode is not populated. Option 2 in OrderItem: Use to identify the product using the packaging level item code (e.g. GTIN-14) configured in Product Master Data.31 |
||||||||
PackagingItemCodeType | 1/* |
0...1String |
Conditionally required if PackagingItemCode is populated. Identifies the packaging level item code type. See the ItemCodeType enumeration list for valid values. |
||||||||
Quantity | – |
1...1int |
Required. The quantity of items at the each(unit) level of the item code and lot if specified to be picked. |
||||||||
Lot | 1/* |
0...1String |
Required. The lot or batch code for the items to be picked (if available) in an alphanumeric string.32 |
||||||||
CDEntries | – |
0...1– |
A customer-defined name/value pair. Use to store customer-visible data and metadata that is outside the processing path of the API. Note, TraceLink does not do anything with this data currently. Though if input by the customer, the values (as entered) will be available in the response. |
||||||||
CDEntry | – |
0...*– |
Required. CDEntry item group is a repeating element that captures a list of customer-defined values. |
||||||||
CDName | 1/* |
0...1String |
Required. Customer-defined name. |
||||||||
CDValue | 1/* |
0...1String |
Required. Customer-defined value used to annotate serial numbers. |