APPID and RestApiKey. These are required in every call to the FlavorCloud API. You can find your APPID and RestApiKey in your FlavorCloud account settings.APPID and RestApiKey to the FlavorCloud API:POST https://partnerapi.flavorcloud.com/Rates — View endpoint reference →IncludeLandedCost flag.0. This is likely because the value of the shipment is lower than the minimum threshold to qualify for duties and taxes to the country you are shipping to. The minimum value for applying duty and taxes is called the de minimis.Standard and Express arrays will be returned when there is a rate for the given service level. If only an express rate is available, Express will be the only service level returned.{
"AppID": "{{APP ID}}",
"RestApiKey": "{{API Key}}",
"Reference": "Reference56",
"WeightUnit": "LB",
"Currency": "USD",
"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": "89 Pall Mall",
"AddressLine2": "St. James's",
"City": "London",
"State": "UK",
"Country": "GB",
"Zip": "SW1Y 5HS",
"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 →DutyHashKey and HashKey are returned in the Rating call. While they are not required, we suggest including them for all previously rated shipments. This decreases response times by removing the need to recalculate duties and taxes.ShipmentID. Store this ID for future reference — it is also used in the ManifestShipment call.SubmittedElectronically is true, you do not need to print the commercial invoice. We submit the invoice to the carrier and the form is for your reference only.{
"AppID": "{{APP ID}}",
"RestApiKey": "{{API Key}}",
"Reference": "10874054",
"ServiceCode": "STANDARD",
"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": "1eqRtv",
"DutyHashKey": "Z1M1N3b",
"PickUpDate": "2021-09-27",
"ReasonForExport": "merchandise",
"WeightUnit": "LB",
"Currency": "USD",
"DimensionUnit": "IN",
"TermsOfTrade": "DDP"
}POST https://partnerapi.flavorcloud.com/ManifestShipment{
"AppID": "{{APP ID}}",
"RestApiKey": "{{API Key}}",
"Async": false,
"ShipmentIDs": [
"ku3027lhufe"
]
}POST https://partnerapi.flavorcloud.com/Webhooks/Subscribe — View endpoint reference →{
"AppID": "{{APP ID}}",
"RestApiKey": "{{API Key}}",
"WebHooksList": [
{
"EventName": "SHIPMENT_CREATED",
"URL": "https://webhook.site/c57722eb-5f2d-4122-a802-67bfaa2305e3"
}
]
}POST https://partnerapi.flavorcloud.com/Webhooks/UnSubscribe — View endpoint reference →{
"AppID": "{{APP ID}}",
"RestApiKey": "{{API Key}}",
"Events": [
"SHIPMENT_CREATED"
]
}POST https://partnerapi.flavorcloud.com/Classifications — View endpoint reference →Description field. Generic descriptions classify better than brand-specific ones:851830. This code officially classifies "Head-ear-phones & Combined Microphone/speaker Sets." Since Bluetooth headphones fall into this category, we suggest this HS code.{
"AppID": "{{APP ID}}",
"RestApiKey": "{{API Key}}",
"Reference": "Reference56",
"Products": [
{
"Description": "Bluetooth Wireless Headphone",
"Image": "https://m.media-amazon.com/images/I/71z97HfSZxS._AC_SX679_.jpg",
"Title": "Bluetooth Wireless Headphone"
}
]
}GET https://partnerapi.flavorcloud.com/Tracking/{AppID}/{RestApiKey}/{TrackingNumber} — View endpoint reference →| Status | Meaning |
|---|---|
In Progress | Label has been created but is not yet with the carrier |
In Transit | Shipment has been picked up by a carrier |
Delivered | Carrier has delivered the shipment |
EstimatedDelivery field is only available when the carrier supplies us with this information. Most carriers will not return this until the package has been handed off.