Definitions for objects used in multiple SHIP message types.
A time period with a start time
timeSpan
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
startTime |
ISO8601 date-time string |
|
Start time |
|
timeUnits |
integral number |
|
Number of time units |
|
timeUnitType |
string enum: |
|
Type of the time units |
|
A monetary value consisting of a number and a currency
monetaryValue
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
value |
decimal number |
|
Number of units of the currency |
19.95 |
currency |
string |
|
ISO4217 3-character currency code |
|
An amount of money with associated tax
monetaryAmount
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
amountBeforeTax |
|
Amount before tax |
||
taxAmount |
|
Tax amount |
||
value |
decimal number |
|
Number of units of the currency of the pre-tax amount. Use amountBeforeTax instead. |
|
currency |
string |
|
ISO4217 3-character currency code of the pre-tax amount. Use amountBeforeTax instead. |
|
A minimal set of information about a company
companyInfo
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
name |
string |
|
Name of the company |
|
A note
guestNote
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
title |
string |
|
Note title |
|
text |
string |
|
Note text |
|
type |
string |
|
Note type |
|
time |
ISO8601 date-time string |
|
Time the note was created/updated |
|
A name-value pair defined by a specific system or application
userDefinedField
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
name |
string |
|
Field name. If two fields have the same name, their values form an unordered list. |
|
value |
string |
|
Field value |
|
A Summary of the SHIP objects list result.
summary
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
successCount |
integer |
|
Number of SHIP objects successfully processed |
6 |
errorCount |
integer |
|
Number of SHIP objects that failed to process |
7 |
totalCount |
integer |
|
Total number of SHIP objects processed |
13 |