Create Shipment Async
Create a shipment request for asynchronous processing. Unlike the standard Create Shipment endpoint, this endpoint performs only initial validation on the shipment data and does not return a label in the response. <br /> <br />If the request passes validation and a Shipments Webhook is configured, the shipment is queued for background processing. The response from the Create Shipment request will be pushed to the webhook. <br /> <br />The immediate API response contains only a RequestId, which can be used to track and correlate the request with subsequent webhook responses. <br /> <br />Note: This endpoint must only be used when the Shipments Webhook is configured within the SAPIENT UI.
Request
- Base URLhttps://api.intersoftsapient.net
- URLhttps://api.intersoftsapient.net/v4/shipments/async/rm
- AuthOAuth 2Client credentialsToken URL: https://authentication.intersoftsapient.net/connect/token
Request body
Example request
{
"ShipmentInformation": {
"ServiceCode": "CRL1",
"DescriptionOfGoods": "Clothing",
"DeclaredValue": 98.99,
"DeclaredWeight": 1.5,
"CurrencyCode": "GBP",
"ContainerId": "South East"
},
"Shipper": {
"ShippingAccountId": "453",
"ShippingLocationId": "938",
"Reference1": "REF-12345-GB",
"Reference2": "EXTERNALREF-12345-GB",
"DepartmentNumber": "0123456789",
"EoriNumber": "GB 123 4567 89 000",
"VatNumber": "GB 123 4567 89",
"Address": {
"AddressId": "John Brown Default",
"ContactName": "Jane Doe",
"CompanyName": "My Company Ltd.",
"ContactEmail": "jane@example.com",
"ContactPhone": "07123887422",
"Line1": "Brown Cottage",
"Line2": "10 Sky Lane",
"Line3": "Hills End",
"Town": "Christchurch",
"Postcode": "TW20 0HJ",
"County": "Surrey",
"CountryCode": "GB",
"What3Words": "brick.space.employ"
}
},
"Destination": {
"EoriNumber": "GB 123 4567 89 000",
"VatNumber": "GB 123 4567 89",
"Address": {
"AddressId": "John Brown Default",
"ContactName": "Jane Doe",
"CompanyName": "My Company Ltd.",
"ContactEmail": "jane@example.com",
"ContactPhone": "07123887422",
"Line1": "Brown Cottage",
"Line2": "10 Sky Lane",
"Line3": "Hills End",
"Town": "Christchurch",
"Postcode": "TW20 0HJ",
"County": "Surrey",
"CountryCode": "GB",
"What3Words": "brick.space.employ"
}
},
"CarrierSpecifics": {
"ServiceLevel": "01",
"EbayVtn": "ebay1234ABC",
"ServiceEnhancements": [
{
"SafeplaceLocation": "Front Porch"
}
],
"OfflineBarcode": {
"PackageOccurrence": 1,
"TrackingNumber": "TT123456789GB",
"UniqueId": "3A01234561234568AE7C7"
},
"OfflineBarcodes": [
{
"PackageOccurrence": 1,
"TrackingNumber": "TT123456789GB",
"UniqueId": "3A01234561234568AE7C7"
}
],
"PreAllocatedTrackingNumber": "TT123465789GB",
"TermsOfDelivery": "DTP",
"Importer": {
"Address": {
"AddressId": "John Brown Default",
"ContactName": "Jane Doe",
"CompanyName": "My Company Ltd.",
"ContactEmail": "jane@example.com",
"ContactPhone": "07123887422",
"Line1": "Brown Cottage",
"Line2": "10 Sky Lane",
"Line3": "Hills End",
"Town": "Christchurch",
"Postcode": "TW20 0HJ",
"County": "Surrey",
"CountryCode": "GB",
"What3Words": "brick.space.employ"
},
"EoriNumber": "GB987654321224455",
"VatNumber": "AU777444411"
},
"EnhancedCustomsInformation": [
{
"SkuCode": "C604-25-035",
"LicenseNumber": "AB123456789",
"CertificateNumber": "DFG9876543",
"OriginPreferenceCode": 300
}
]
},
"Packages": [
{
"PackageOccurrence": 1,
"DeclaredWeight": 1.5,
"DeclaredValue": 98.99,
"Dimensions": {
"Length": 35,
"Width": 25,
"Height": 20
}
}
],
"Items": [
{
"SkuCode": "C604-25-035",
"PackageOccurrence": 1,
"Quantity": 1,
"Description": "White Tee-shirt",
"Value": 98.99,
"Weight": 145,
"ImageURL": "https://yourcompany.com/images/product.jpg",
"HSCode": "6109100010",
"CountryOfOrigin": "GB",
"Hazmat": {
"UNCode": "1002",
"ProperShippingName": "Compressed Air",
"Class": "9",
"Id8000Category": "Nail Varnish",
"Quantity": 3.5,
"EmergencyActionCode": "E012"
},
"SupplementaryUnits": 12.2
}
],
"Customs": {
"ReasonForExport": "Sale of Goods",
"PreRegistrationNumber": "0123456789",
"PreRegistrationType": "GST",
"ShippingCharges": 55.82,
"OtherCharges": 32,
"QuotedLandedCost": 82.74,
"Airn": "231.002.999-00"
},
"ReturnToSender": {
"Address": {
"AddressId": "John Brown Default",
"ContactName": "Jane Doe",
"CompanyName": "My Company Ltd.",
"ContactEmail": "jane@example.com",
"ContactPhone": "07123887422",
"Line1": "Brown Cottage",
"Line2": "10 Sky Lane",
"Line3": "Hills End",
"Town": "Christchurch",
"Postcode": "TW20 0HJ",
"County": "Surrey",
"CountryCode": "GB",
"What3Words": "brick.space.employ"
}
}
}Response
The shipment was created successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.