POST https://partnerapi.flavorcloud.com/Shipments — View endpoint reference →IsReturn parameter as "Y".{
"AppID": "{{AppID}}",
"RestApiKey": "{{RestApiKey}}",
"Reference": "TestOutbound2",
"WeightUnit": "LB",
"Currency": "USD",
"IsReturn": "Y",
"DimensionUnit": "IN",
"Insurance": "N",
"ShipFromAddress": {
"Name": "Flavorcloud",
"AttentionName": "Jake Krachman",
"AddressLine1": "200 Townsend Street",
"City": "San Francisco",
"Country": "US",
"State": "CA",
"Zip": "94107",
"Phone": "5555555555",
"Email": "jake.krachman@flavorcloud.com"
},
"ShipToAddress": {
"Name": "Company Name",
"AttentionName": "Receiver Name",
"AddressLine1": "2412A Victoria Ave.",
"City": "Brandon",
"State": "MB",
"Country": "CA",
"Zip": "R7B 0M5",
"Phone": "5555555555",
"Email": "test@test.com"
},
"ReasonForExport": "merchandise",
"IncludeLandedCost": true,
"Pieces": [
{
"Quantity": 1,
"Weight": 0.4,
"SalePrice": 290.00,
"HSCode": "920994",
"OriginCountryCode": "US",
"Description": "Blue Polyester T-Shirt"
}
],
"Package": {
"Weight": 1.25
}
}POST https://partnerapi.flavorcloud.com/Shipments — View endpoint reference →IsReturn parameter as "Y".to and from addresses on the label when creating the return shipment.Reference property and the ShipmentID property. Use the same Reference for the return shipment as the outbound shipment.ShipmentID of the outbound call as the ShipmentKey.ShipmentID for the original shipment when creating the return, you can retrieve it using the Get Shipments endpoint.{
"AppID": "{{APP ID}}",
"RestApiKey": "{{RestApiKey}}",
"Reference": "TestOutbound2",
"ServiceCode": "STANDARD",
"ShipmentKey": "kv1asvnh5x9",
"IsReturn": "Y",
"ShipFromAddress": {
"Name": "Flavorcloud",
"AttentionName": "Jake Krachman",
"AddressLine1": "200 Townsend Street",
"City": "San Francisco",
"Country": "US",
"State": "CA",
"Zip": "94107",
"Phone": "5555555555",
"Email": "jake.krachman@flavorcloud.com"
},
"ShipToAddress": {
"Name": "Company Name",
"AttentionName": "Receiver Name",
"AddressLine1": "2412A Victoria Ave.",
"City": "Brandon",
"State": "MB",
"Country": "CA",
"Zip": "R7B 0M5",
"Phone": "5555555555",
"Email": "test@test.com"
},
"Shipments": [
{
"Piece": [
{
"Quantity": 1,
"Weight": 0.4,
"SalePrice": 29.00,
"HSCode": "920994",
"OriginCountryCode": "US",
"Description": "Blue Polyester T-Shirt"
}
],
"Package": {
"Reference": "124",
"Weight": 1.25,
"Length": 1,
"Width": 1,
"Height": 1
}
}
],
"HashKey": "Z1R3zB7",
"ReasonForExport": "return",
"WeightUnit": "LB",
"Currency": "USD",
"DimensionUnit": "IN",
"TermsOfTrade": "DDU"
}