Authorization: Bearer ********************
{
"Async": false,
"Reference": "test-create-shipment-001",
"HashKey": "588d4ff7-9b21-4028-ba2e-333507bf53d8",
"LabelFormat": "PDF",
"WeightUnit": "LB",
"Currency": "USD",
"DimensionUnit": "IN",
"Insurance": "N",
"ServiceCode": "EXPRESS",
"TermsOfTrade": "DDP",
"IsReturn": "N",
"ReasonForExport": "merchandise",
"B2b": false,
"ShipmentKey": "",
"ShipFromAddress": {
"Name": "FC Rates",
"AttentionName": "",
"AddressLine1": "1562 Washington St",
"AddressLine2": "",
"AddressLine3": "",
"City": "San Francisco",
"State": "CA",
"Country": "US",
"Zip": "94109",
"Phone": "1111111111",
"Email": "test@test.com"
},
"ShipToAddress": {
"Name": "FC Rates",
"AttentionName": "FC Rates",
"AddressLine1": "49 Montcalm Ave",
"AddressLine2": "",
"AddressLine3": "",
"City": "York",
"State": "ON",
"Country": "CA",
"Zip": "M6E 4N8",
"Phone": "1111111111",
"Email": "test@test.com"
},
"Shipments": [
{
"Piece": [
{
"Quantity": 1,
"Weight": 0.1,
"Length": 1,
"Width": 1,
"Height": 1,
"SalePrice": 10,
"HSCode": "610910",
"OriginCountryCode": "US",
"Description": "T-SHIRT",
"SKU": "1234567890",
"Material": "",
"Category": [
"merchandise"
]
}
],
"Package": {
"Weight": 0.5,
"Length": 1,
"Width": 1,
"Height": 1,
"Reference": ""
}
}
]
}
curl --location --request POST 'https://partnerapi.flavorcloud.com/Shipments' \
--header 'Content-Type: application/json' \
--data-raw '{
"Async": false,
"Reference": "test-create-shipment-001",
"HashKey": "588d4ff7-9b21-4028-ba2e-333507bf53d8",
"LabelFormat": "PDF",
"WeightUnit": "LB",
"Currency": "USD",
"DimensionUnit": "IN",
"Insurance": "N",
"ServiceCode": "EXPRESS",
"TermsOfTrade": "DDP",
"IsReturn": "N",
"ReasonForExport": "merchandise",
"B2b": false,
"ShipmentKey": "",
"ShipFromAddress": {
"Name": "FC Rates",
"AttentionName": "",
"AddressLine1": "1562 Washington St",
"AddressLine2": "",
"AddressLine3": "",
"City": "San Francisco",
"State": "CA",
"Country": "US",
"Zip": "94109",
"Phone": "1111111111",
"Email": "test@test.com"
},
"ShipToAddress": {
"Name": "FC Rates",
"AttentionName": "FC Rates",
"AddressLine1": "49 Montcalm Ave",
"AddressLine2": "",
"AddressLine3": "",
"City": "York",
"State": "ON",
"Country": "CA",
"Zip": "M6E 4N8",
"Phone": "1111111111",
"Email": "test@test.com"
},
"Shipments": [
{
"Piece": [
{
"Quantity": 1,
"Weight": 0.1,
"Length": 1,
"Width": 1,
"Height": 1,
"SalePrice": 10,
"HSCode": "610910",
"OriginCountryCode": "US",
"Description": "T-SHIRT",
"SKU": "1234567890",
"Material": "",
"Category": [
"merchandise"
]
}
],
"Package": {
"Weight": 0.5,
"Length": 1,
"Width": 1,
"Height": 1,
"Reference": ""
}
}
]
}'
{
"ShipmentID": "string",
"Status": "string",
"Reference": "string",
"Message": "string",
"TrackingNumber": "string",
"TrackingUrl": "string",
"LabelUrl": [
"string"
],
"Carrier": "string",
"CustomsInvoiceURL": "string",
"SubmittedElectronically": true
}