[v2.6] Shipment
- Megan Stanage
Overview
This endpoint allows a user to create or update shipments within SCC.
A shipment can be a standalone shipment or tied to a transportation tender.
POST /Shipment
Represents the shipment structure.
Property | Data Type | Notes |
---|---|---|
stopSequence | integer | Gets or sets the stop sequence.
|
originLocationName | string | Gets or sets the origin location name. |
freightTerm | enum | Gets or sets the freight term.
|
termsOfTrade | enum | Gets or sets the terms of trade.
|
proNumber | string | Gets or sets the PRO number. |
scac | string | Gets or sets the standard carrier alpha code. |
load | string | Gets or sets the load. |
currencyCode | enum | Gets or sets the currency code. USD, CAD, AUD, GBP, EUR, DKK, SEK, NOK, CZK, CHF, HUF, PLN, MXN, PHP, SAR, JPY, AFN, ALL, DZD, AOA, XCD, ARS, AMD, AWG, AZN, BSD, BHD, BDT, BBD, BYN, BZD, XOF, BMD, INR, BTN, BOB, BOV, BAM, BWP, BRL, BND, BGN, BIF, CVE, KHR, XAF, KYD, CLP, CLF, CNY, COP, COU, KMF, CDF, NZD, CRC, CUP, CUC, ANG, DJF, DOP, EGP, SVC, ERN, SZL, ETB, FKP, FJD, XPF, GMD, GEL, GHS, GIP, GTQ, GNF, GYD, HTG, HNL, HKD, ISK, IDR, XDR, IRR, IQD, ILS, JMD, JOD, KZT, KES, KPW, KRW, KWD, KGS, LAK, LBP, LSL, ZAR, LRD, LYD, MOP, MKD, MGA, MWK, MYR, MVR, MRU, MUR, XUA, MXV, MDL, MNT, MAD, MZN, MMK, NAD, NPR, NIO, NGN, OMR, PKR, PAB, PGK, PYG, PEN, QAR, RON, RUB, RWF, SHP, WST, STN, RSD, SCR, SLL, SLE, SGD, XSU, SBD, SOS, SSP, LKR, SDG, SRD, CHE, CHW, SYP, TWD, TJS, TZS, THB, TOP, TTD, TND, TRY, TMT, UGX, UAH, AED, USN, UYU, UYI, UYW, UZS, VUV, VES, VED, VND, YER, ZMW, ZWL, XBA, XBB, XBC, XBD, XTS, XXX, XAU, XPD, XPT, XAG |
carrierServiceName | string | Gets or sets the carrier service name. |
customerId | string | Gets or sets the customer ID. |
customerName | string | Gets or sets the customer name. |
customerEmail | string | Gets or sets the customer email. |
customerThirdPartyAccountNumber | string | Gets or sets the customer third-party account number. |
deliveryNotes | string | Gets or sets the delivery notes. |
transportationTenderReferenceNumber | string | Gets or sets the transportation tender reference number. |
fixedRouteStopName | string | Gets or sets the fixed route stop name. |
scheduledShipDateTime | string | Gets or sets the scheduled ship date time.
|
actualShipDateTime | string | Gets or sets the actual ship date time.
|
tenderedShipDateTime | string | Gets or sets the tendered ship date time.
|
apiCallDateTime | string | Gets or sets the API call date time.
|
estimatedDeliverDateTimeStart | string | Gets or sets estimated deliver date time start selected from slot.
|
estimatedDeliverDateTimeEnd | string | Gets or sets estimated deliver date time end selected from slot.
|
actualDeliverDateTime | string | Gets or sets the actual delivery date time.
|
requestedDeliverByDateTime | string | Gets or sets the requested delivery date time.
|
requestedDeliverAfterDateTime | string | Gets or sets the requested delivery after date time.
|
arrivalDateTime | string | Gets or sets the arrival date time.
|
departureDateTime | string | Gets or sets the departure date time.
|
routingCode | string | Gets or sets the routing code. |
Gets or sets the origin address.
Property | Data Type | Notes |
---|---|---|
name | string | max length: 100 |
company | string | max length: 150 |
attentionTo | string | max length: 150 |
addressLines | string | |
city | string | max length: 150 |
postalCode | string | max length: 15 |
stateProvinceCode | string | max length: 5 |
country | string | |
countryCode | string | max length: 5 |
phoneNumber | string | max length: 20 |
residential | boolean | |
taxId | string | |
emailAddress | string | max length: 400 |
county | string | max length: 30 |
Property | Data Type | Notes |
---|---|---|
vat | string | |
eori | string |
Gets or sets the destination address.
Property | Data Type | Notes |
---|---|---|
name | string | max length: 100 |
company | string | max length: 150 |
attentionTo | string | max length: 150 |
addressLines | string | |
city | string | max length: 150 |
postalCode | string | max length: 15 |
stateProvinceCode | string | max length: 5 |
country | string | |
countryCode | string | max length: 5 |
phoneNumber | string | max length: 20 |
residential | boolean | |
taxId | string | |
emailAddress | string | max length: 400 |
county | string | max length: 30 |
Property | Data Type | Notes |
---|---|---|
vat | string | |
eori | string |
Gets or sets the list of associated system attributes.
Property | Data Type | Notes |
---|---|---|
attributeName | string | Gets or sets the attribute name. |
attributeDescription | string | Gets or sets the attribute description. |
value | string | Gets or sets the system attribute value. |
Gets or sets the shipment lines.
Property | Data Type | Notes |
---|---|---|
lineNumber | integer | Gets or sets the unique line number within the shipment.
|
originLineReferenceId | string | Gets or sets the origin line reference ID.
|
originHeaderReferenceId | string | Gets or sets the origin header reference ID.
|
purchaseOrderReferenceNumber | string | Gets or sets the purchase order reference number.
|
purchaseOrderLineNumber | integer | Gets or sets the purchase order line number.
|
hostItem | string | Gets or sets the host item. |
itemId | string | Gets or sets the item ID.
|
itemName | string | Gets or sets the item name.
|
length | number | Gets or sets the length of the item.
|
width | number | Gets or sets the width of the item.
|
height | number | Gets or sets the height of the item.
|
itemCountryOfOrigin | string | Gets or sets the item origin country.
|
dimensionUom | enum | Gets or sets the item dimension UOM.
|
weight | number | Gets or sets the weight of the item.
|
weightUom | enum | Gets or sets the weight UOM.
|
value | number | Gets or sets the item cost value.
|
currencyCode | enum | Gets or sets the item value currency code. USD, CAD, AUD, GBP, EUR, DKK, SEK, NOK, CZK, CHF, HUF, PLN, MXN, PHP, SAR, JPY, AFN, ALL, DZD, AOA, XCD, ARS, AMD, AWG, AZN, BSD, BHD, BDT, BBD, BYN, BZD, XOF, BMD, INR, BTN, BOB, BOV, BAM, BWP, BRL, BND, BGN, BIF, CVE, KHR, XAF, KYD, CLP, CLF, CNY, COP, COU, KMF, CDF, NZD, CRC, CUP, CUC, ANG, DJF, DOP, EGP, SVC, ERN, SZL, ETB, FKP, FJD, XPF, GMD, GEL, GHS, GIP, GTQ, GNF, GYD, HTG, HNL, HKD, ISK, IDR, XDR, IRR, IQD, ILS, JMD, JOD, KZT, KES, KPW, KRW, KWD, KGS, LAK, LBP, LSL, ZAR, LRD, LYD, MOP, MKD, MGA, MWK, MYR, MVR, MRU, MUR, XUA, MXV, MDL, MNT, MAD, MZN, MMK, NAD, NPR, NIO, NGN, OMR, PKR, PAB, PGK, PYG, PEN, QAR, RON, RUB, RWF, SHP, WST, STN, RSD, SCR, SLL, SLE, SGD, XSU, SBD, SOS, SSP, LKR, SDG, SRD, CHE, CHW, SYP, TWD, TJS, TZS, THB, TOP, TTD, TND, TRY, TMT, UGX, UAH, AED, USN, UYU, UYI, UYW, UZS, VUV, VES, VED, VND, YER, ZMW, ZWL, XBA, XBB, XBC, XBD, XTS, XXX, XAU, XPD, XPT, XAG |
requestedQuantity | number | Gets or sets the requested quantity.
|
shippedQuantity | number | Gets or sets the shipped quantity.
|
deliveredQuantity | number | Gets or sets the delivered quantity.
|
quantityUom | string | Gets or sets the quantity UOM.
|
shippableUnit | boolean | Gets or sets a value indicating whether it is a shippable unit. |
purchaseOrderTransactionType | string | Gets or sets name of purchase order's transaction type. |
Gets or sets the associated system attributes.
Property | Data Type | Notes |
---|---|---|
attributeName | string | Gets or sets the attribute name. |
attributeDescription | string | Gets or sets the attribute description. |
value | string | Gets or sets the system attribute value. |
Gets or sets batches.
Property | Data Type | Notes |
---|---|---|
name | string | Gets or sets the batch name. |
expirationDate | string | Gets or sets a value indicating the expiration date.
|
manufacturedDate | string | Gets or sets a value indicating the manufacture date.
|
countryOfOrigin | string | Gets or sets the country of origin. |
quantity | integer | Gets or sets the quantity.
|
Gets or sets the shipment containers.
Property | Data Type | Notes |
---|---|---|
containerId | string | Gets or sets the container ID. |
packagingType | enum | Gets or sets the packaging type.
|
containerType | string | Gets or sets the container type. |
capturedWeight | number | Gets or sets the captured weight.
|
weightUom | enum | Gets or sets the weight UOM.
|
length | number | Gets or sets the length.
|
width | number | Gets or sets the width.
|
height | number | Gets or sets the height.
|
dimensionUom | enum | Gets or sets the dimension UOM.
|
hazardous | boolean | Gets or sets a value indicating whether the container is hazardous. |
value | number | Gets or sets the value.
|
tenderedShipDateTime | string | Gets or sets the tendered ship date time.
|
estimatedDeliverDateTime | string | Gets or sets the estimated delivery date time.
|
actualDeliverDateTime | string | Gets or sets the actual delivery date time.
|
tareWeight | number | Gets or sets the tare weight.
|
Gets or sets the container lines.
Property | Data Type | Notes |
---|---|---|
itemId | string | Gets or sets the item ID. This is the equivalent of the HostName field of ItemMaster. |
shipmentLineNumber | integer | Gets or sets the shipment line number.
|
quantity | number | Gets or sets the quantity.
|
weightUom | enum | Gets or sets the weight UOM.
|
itemVariant | string | Gets or sets the item variant. |
itemCountryOfOrigin | string | Gets or sets the item's country of origin. |
itemUom | string | Gets or sets the item UOM. |
weightPerUnit | number | Gets or sets the weight per unit.
|
valuePerUnit | number | Gets or sets the value per unit.
|
length | number | Gets or sets the length.
|
width | number | Gets or sets the width.
|
height | number | Gets or sets the height.
|
dimensionUom | enum | Gets or sets the dimension UOM.
|
batch | string | Gets or sets the batch name. |
Defines the shipment transaction data structure.
Property | Data Type | Notes |
---|---|---|
workflowTransactionCode | string | Gets or sets the workflow transaction code. |
referenceNum | string | Gets or sets the reference number. |
externalReferenceNum | string | Gets or sets the external reference number. |
note | string | Gets or sets the note. |
reasonCode | string | Gets or sets the reason code. |
transactionType | string | Gets or sets the transaction type. |
businessTransactionType | enum |
|
Gets or sets the list of business transaction partners.
Property | Data Type | Notes |
---|---|---|
name | string | Gets or sets the name. |
type | enum | Gets or sets the trading partner type.
|
isPrimary | boolean | Gets or sets a value indicating whether the business transaction partner is primary. |
Property | Data Type | Notes |
---|---|---|
businessTransactionReferenceNum | string | |
businessTransactionStatus | string |