FCL and FTL#

This body

OceanFCL TruckFTL

One schema for both. Requires containers to be defined. Accepts SKUs, pre-built pallets, and/or loose boxes.

Air / LCL / LTL instead?

Air OceanLCL TruckLTL

SKUs only, ALPHA palletizes them. See Air, LCL, and LTL.

Air, LCL, and LTL

Request structure#

{
  "shipper_name": "<string>",
  "consignee_name": "<string>",
  "origin": "<string>",
  "destination": "<string>",
  "transportation_mode": "OceanFCL | TruckFTL",
  "reference": "<string>",
  "load_plan_reference": "<string>",
  "shipment_type": "normal | dangerous_goods | dedicated_container",
  "bonded_cargo": false,
  "customer_notes": "<string>",
  "pallets_max_height": 160,
  "containers": [
    {
      "code": "<lane container code>",
      "count": 0
    }
  ],
  "pallets": [
    {
      "name": "<string>",
      "length": "<number>",
      "width": "<number>",
      "height": "<number>",
      "weight": "<number>",
      "count": 0,
      "pallet_contents": [
        {
          "purchase_order": "<string>",
          "line_item_number": "<string>",
          "quantity": 0,
          "packages": 0
        }
      ],
      "double_stacked_bottom": true,
      "double_stacked_top": true,
      "rotation_x": true,
      "containerize": true,
      "tag": "<string>",
      "warehouse_location": "<string>",
      "huid": "<string>",
      "un_number": ["<UN number>"],
      "dg_class": ["<DG class>"],
      "pi_number": ["<PI number>"],
      "limited_quantity": ["<LQ>"],
      "sp188": true
    }
  ],
  "boxes": [
    {
      "name": "<string>",
      "length": "<number>",
      "width": "<number>",
      "height": "<number>",
      "weight": "<number>",
      "count": 0,
      "purchase_order": "<string>",
      "line_item_number": "<string>",
      "product_quantity": 0,
      "product_packages": 0,
      "double_stacked_bottom": true,
      "double_stacked_top": true,
      "rotation_x": true,
      "rotation_y": true,
      "rotation_z": true,
      "containerize": true,
      "tag": "<string>",
      "warehouse_location": "<string>",
      "huid": "<string>",
      "un_number": ["<UN number>"],
      "dg_class": ["<DG class>"],
      "pi_number": ["<PI number>"],
      "limited_quantity": ["<LQ>"],
      "sp188": true
    }
  ]
}

Example request#

{
  "shipper_name": "Supplier",
  "consignee_name": "Consignee",
  "origin": "Port of Rotterdam",
  "destination": "Amsterdam",
  "transportation_mode": "OceanFCL",
  "reference": "REF-FCL-001",
  "load_plan_reference": "PLAN-001",
  "shipment_type": "normal",
  "bonded_cargo": false,
  "customer_notes": "Deliver to gate 4.",
  "containers": [
    { "code": "40ft", "count": 1 }
  ],
  "pallets": [
    {
      "name": "Pre-built pallet A",
      "length": "120.0",
      "width": "80.0",
      "height": "100.0",
      "weight": "35.5",
      "count": 2,
      "pallet_contents": [
        {
          "purchase_order": "PO-001",
          "line_item_number": "L1",
          "quantity": 20,
          "packages": 5
        }
      ],
      "double_stacked_bottom": true,
      "double_stacked_top": true,
      "rotation_x": true,
      "containerize": true,
      "tag": "PB-A",
      "warehouse_location": "WH-01",
      "huid": "HUID-0001",
      "un_number": ["UN1263", "UN3081"],
      "dg_class": ["3", "9"],
      "pi_number": ["353", "965"],
      "limited_quantity": ["5"],
      "sp188": false
    }
  ],
  "boxes": [
    {
      "name": "Loose box A",
      "length": "60.0",
      "width": "40.0",
      "height": "30.0",
      "weight": "8.5",
      "count": 5,
      "purchase_order": "PO-001",
      "line_item_number": "1",
      "product_quantity": 25,
      "product_packages": 5,
      "double_stacked_bottom": true,
      "double_stacked_top": true,
      "rotation_x": true,
      "rotation_y": true,
      "rotation_z": true,
      "containerize": true,
      "tag": "BOX-A",
      "warehouse_location": "WH-02",
      "huid": "HUID-0002",
      "un_number": ["UN3081"],
      "dg_class": ["9"],
      "pi_number": ["965"],
      "limited_quantity": ["5"],
      "sp188": false
    }
  ]
}

Use TruckFTL instead of OceanFCL for full truck. Container code values are lane-specific.


Additional examples#

{
  "shipper_name": "Supplier",
  "consignee_name": "Consignee",
  "transportation_mode": "OceanFCL",
  "reference": "REF-SKU-001",
  "containers": [
    { "code": "40ft", "count": 1 }
  ],
  "shipment_skus": [
    {
      "item": "PRD-001",
      "quantity": 10,
      "purchase_order": "PO-002",
      "line_item_number": "2",
      "notes": "Pack separately."
    }
  ]
}
{
  "shipper_name": "Supplier",
  "consignee_name": "Consignee",
  "transportation_mode": "OceanFCL",
  "reference": "REF-MIXED-001",
  "shipment_type": "dangerous_goods",
  "bonded_cargo": true,
  "extra_recipients": ["ops@example.com"],
  "extra_cc_recipients": ["cc@example.com"],
  "containers": [
    { "code": "20ft", "count": 2 }
  ],
  "shipment_skus": [
    {
      "item": "PRD-001",
      "quantity": 2,
      "purchase_order": "PO-001",
      "line_item_number": "1"
    }
  ],
  "pallets": [
    {
      "name": "Pre-built pallet A",
      "length": "120.0",
      "width": "80.0",
      "height": "100.0",
      "weight": "35.5",
      "count": 1,
      "pallet_contents": [
        {
          "purchase_order": "PO-001",
          "line_item_number": "L1",
          "quantity": 20,
          "packages": 5
        }
      ],
      "containerize": true,
      "huid": "HUID-0001",
      "un_number": ["UN1263"],
      "dg_class": ["3"],
      "pi_number": ["353"],
      "limited_quantity": ["5"],
      "sp188": false
    }
  ],
  "boxes": [
    {
      "name": "Loose box A",
      "length": "60.0",
      "width": "40.0",
      "height": "30.0",
      "weight": "8.5",
      "count": 2,
      "containerize": true,
      "huid": "HUID-0002",
      "un_number": ["UN3081"],
      "dg_class": ["9"],
      "pi_number": ["965"],
      "limited_quantity": ["5"],
      "sp188": false
    }
  ]
}

Parameters#

Top-level fields for the request body.

Parameter

Also accepted as

Type

Description

shipper_name

supplier_name

string

Required. Case-insensitive. Company name aliases accepted.

consignee_name

—

string

Required. Case-insensitive. Company name aliases accepted.

origin

—

string

Optional. Free-text origin (city, port, airport, or address). Maximum length: 255.

destination

—

string

Optional. Free-text destination (city, port, airport, or address). Maximum length: 255.

transportation_mode

—

string

Required. OceanFCL or TruckFTL.

containers

order_containers

array of objects

Required. Non-empty list. See Containers.

reference

—

string

Optional. Your order reference. Maximum length: 1000. Not unique; lookups use the newest match.

load_plan_reference

—

string

Optional. Maximum length: 64.

shipment_type

—

string

Optional. Default: normal. See Shipment type.

bonded_cargo

—

boolean

Optional. Default: false. Marks the shipment as bonded cargo.

pallets_max_height

—

number

Optional. Must be greater than 0. Maximum pallet height when ALPHA palletizes shipment_skus before loading. Overrides the lane default. Has no effect on pallets you send prebuilt. Units follow your lane (Units of measure).

shipment_skus

order_items

array of objects

Optional. See Shipment SKUs.

pallets

pre_builts

array of objects

Optional. See Pallets.

boxes

loose_boxes

array of objects

Optional. See Boxes.

customer_notes

—

string

Optional. Free-text notes.

extra_recipients

—

array of strings

Optional. Extra To addresses for missing-lane notifications.

extra_cc_recipients

—

array of strings

Optional. Extra CC addresses.

skip_missing_lane

—

boolean

Optional. Default: false. When no matching lane exists, false returns 400. When true, the request returns 200 and Ops is notified; the order is created once the lane exists.

Shipment type#

Set shipment_type on the top-level payload only (not inside pallets or boxes).

Value

Description

normal

Default. May consolidate with other shipments.

dangerous_goods

Must not consolidate with other shipments.

dedicated_container

Consolidates only with other dedicated-container shipments.

Containers#

Objects in containers. Each code may appear only once.

Parameter

Type

Description

code

string

Required. Must be enabled for the lane. See Container codes.

count

integer

Optional. Number of containers of this code. Omit the field unless you need a specific count; the default is one per code.

Container codes#

Known codes. The code must also be enabled for your lane.

Standard / High Cube

Specialized

20ft, 40ft, 40ft-HC, 45ft-HC

20ft-RF, 40ft-HC RF, 20ft-OT, 40ft-OT

Shipment SKUs#

Objects in shipment_skus. Requires item master data for submitted SKUs.

Parameter

Type

Description

item

string

Required. Item / stock-keeping unit (SKU) code.

quantity

number

Required. Minimum: 0.01. Decimals allowed; normalized on save.

purchase_order

string

Optional. Maximum length: 64. Do not use & or commas.

line_item_number

string

Optional. Maximum length: 64. Do not use & or commas.

notes

string

Optional. Notes or comments.

Pallets#

Objects in pallets. Pallets assembled by the supplier and loaded exactly as provided.

Parameter

Also accepted as

Type

Description

name

—

string

Required. Maximum length: 64.

length, width, height

—

string

Required. Must be > 0. Maximum: 12 digits, 6 decimals. Units follow your lane (Units of measure).

weight

—

string

Required. Must be > 0. Maximum: 15 digits, 6 decimals. Units follow your lane (Units of measure).

count

—

integer

Optional. Default: 1.

containerize

—

boolean

Optional. Default: true. Whether this pallet should be containerized during optimization.

pallet_contents

prebuiltitem_set

array of objects

Required. May be empty []. See Pallet content.

double_stacked_bottom

—

boolean

Optional. Whether this pallet can be stacked below.

double_stacked_top

—

boolean

Optional. Whether this pallet can be stacked above.

rotation_x

—

boolean

Optional. Default: true. Allows rotating the footprint (length/width may swap).

tag

—

string

Optional. Maximum length: 64.

warehouse_location

—

string

Optional. Maximum length: 64. Shown on container packing instructions when set.

huid

—

string

Optional. Maximum length: 64. Handling unit ID.

un_number

—

string or array of strings

Optional. One or more UN numbers (e.g. "UN3081" or ["UN3081", "UN1263"]). Max 16 chars each.

dg_class

—

string or array of strings

Optional. One or more hazard classes (e.g. "3" or ["3", "9"]). Max 16 chars each.

pi_number

—

string or array of strings

Optional. One or more packing instructions (e.g. "353" or ["353", "965"]). Max 16 chars each.

limited_quantity

—

string or array of strings

Optional. One or more maximum quantities (e.g. "5" or ["5", "10"]). Max 64 chars each.

sp188

—

boolean

Optional. Default: false. Whether the pallet falls under special provision 188 (SP188).

Note

Dangerous goods values are trimmed, empty ones are dropped, and any value (including a comma-separated string) is accepted. They appear in the Dangerous Good Details columns of the packing instructions, one per line.

Pallet content#

Objects in pallet_contents. The item breakdown on a pre-built pallet.

Parameter

Type

Description

purchase_order

string

Optional. Maximum length: 64.

line_item_number

string

Optional. Maximum length: 64.

quantity

integer

Optional. Default: 1.

packages

integer

Optional. Minimum: 1 when set.

Boxes#

Objects in boxes. Standalone cartons placed during optimization.

Parameter

Type

Description

name

string

Required. Maximum length: 64.

length, width, height

string

Required. Must be > 0. Maximum: 12 digits, 6 decimals. Units follow your lane (Units of measure).

weight

string

Required. Must be > 0. Maximum: 15 digits, 6 decimals. Units follow your lane (Units of measure).

count

integer

Optional. Default: 1.

containerize

boolean

Optional. Default: true. Whether this box should be containerized during optimization.

purchase_order

string

Optional. Maximum length: 64.

line_item_number

string

Optional. Maximum length: 64.

product_quantity

integer

Optional. Minimum: 1 when set.

product_packages

integer

Optional. Minimum: 1 when set.

double_stacked_bottom

boolean

Optional. Whether this box can be stacked below.

double_stacked_top

boolean

Optional. Whether this box can be stacked above.

rotation_x, rotation_y, rotation_z

boolean

Optional. Default: true for all three. Send all three together.

tag

string

Optional. Maximum length: 64.

warehouse_location

string

Optional. Maximum length: 64. Shown on container packing instructions when set.

huid

string

Optional. Maximum length: 64. Handling unit ID.

un_number

string or array of strings

Optional. One or more UN numbers (e.g. "UN3081" or ["UN3081", "UN1263"]). Max 16 chars each.

dg_class

string or array of strings

Optional. One or more hazard classes (e.g. "3" or ["3", "9"]). Max 16 chars each.

pi_number

string or array of strings

Optional. One or more packing instructions (e.g. "353" or ["353", "965"]). Max 16 chars each.

limited_quantity

string or array of strings

Optional. One or more maximum quantities (e.g. "5" or ["5", "10"]). Max 64 chars each.

sp188

boolean

Optional. Default: false. Whether the box falls under special provision 188 (SP188).

Note

Dangerous goods values are trimmed, empty ones are dropped, and any value (including a comma-separated string) is accepted. They appear in the Dangerous Good Details columns of the packing instructions, one per line.