FlavorCloud Partner API Documentation
  1. Landed Cost
FlavorCloud Partner API Documentation
  • Authentication
    • Get Auth Token
      POST
  • Rates
    • Get Rates
      POST
  • Shipments
    • Create Shipments
      POST
    • Get Shipments
      GET
    • Cancel Shipments
      PUT
  • Tracking
    • Get Tracking Detail
      GET
  • Classifications
    • Get Classification
      POST
  • Landed Cost
    • Get Landed Cost
      POST
  • Webhooks
    • Subscribe Webhooks
      POST
    • Unsubscribe Webhooks
      POST
  • Invoices
    • Get Invoice Detail
      GET
    • Get Invoices
      GET
  1. Landed Cost

Get Landed Cost

POST
/LandedCost
Returns the fully qualified landed cost calculation for a shipment. There is a limit of 20 items in "Pieces" array per request.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "Reference": "test-create-landed-cost-001",
    "Currency": "USD",
    "WeightUnit": "LB",
    "ShippingCost": 100.00,
    "Pieces": [
        {
            "Quantity": 1,
            "Weight": 2,
            "SalePrice": 250,
            "HSCode": "610910",
            "OriginCountryCode": "US",
            "Description": "T Shirt",
            "Category": [
                "merchandise"
            ],
            "SKU": "1234567890"
        }
    ],
    "ShipFromAddress": {
        "Name": "FC Landed Cost",
        "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 Landed Cost",
        "AttentionName": "FC Rates",
        "AddressLine1": "49 Montcalm Ave",
        "AddressLine2": "",
        "AddressLine3": "",
        "City": "York",
        "State": "ON",
        "Country": "CA",
        "Zip": "M6E 4N8",
        "Phone": "1111111111",
        "Email": "test@test.com"
    }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://partnerapi.flavorcloud.com/LandedCost' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Reference": "test-create-landed-cost-001",
    "Currency": "USD",
    "WeightUnit": "LB",
    "ShippingCost": 100.00,
    "Pieces": [
        {
            "Quantity": 1,
            "Weight": 2,
            "SalePrice": 250,
            "HSCode": "610910",
            "OriginCountryCode": "US",
            "Description": "T Shirt",
            "Category": [
                "merchandise"
            ],
            "SKU": "1234567890"
        }
    ],
    "ShipFromAddress": {
        "Name": "FC Landed Cost",
        "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 Landed Cost",
        "AttentionName": "FC Rates",
        "AddressLine1": "49 Montcalm Ave",
        "AddressLine2": "",
        "AddressLine3": "",
        "City": "York",
        "State": "ON",
        "Country": "CA",
        "Zip": "M6E 4N8",
        "Phone": "1111111111",
        "Email": "test@test.com"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "Duty": 62.5,
    "ActualDuty": 62.5,
    "SalesTax": 40.63,
    "ActualSalesTax": 40.63,
    "AIT": 20.63,
    "ActualAIT": 20.63,
    "LandedCost": 123.76,
    "ActualLandedCost": 123.76,
    "HashKey": "bed9e1d9-3ca0-4066-87ad-4c8add22f39d",
    "LandedCostID": 22668174,
    "Reference": "test-create-landed-cost-001",
    "Currency": "USD",
    "Pieces": [
        {
            "HSCode": "610910",
            "HSLong": "6109100019"
        }
    ],
    "RootRequestId": "7e46c133-46b2-45c6-a7a9-1a50fa6a09c2"
}
🟠401Authentication Error
🟠422Validation Error
🔴500Error Response
Modified at 2025-06-30 15:29:49
Previous
Get Classification
Next
Subscribe Webhooks
Built with