Skip to content

Import a new consignment

Request

Creates a new consignment (shipment) for the company. The consignment can be allocated or unallocated, domestic or international.

Security
TokenAuth
Path
company_slugstringrequired
Bodyapplication/json
Array [
identifierstring, [ 1 .. 255 ] characters

Unique identifier for the consignment (shipment).

Example:"8a12630db404424b943e131ce4ee3976"
order_numberstring, [ 1 .. 255 ] charactersrequired

Order number associated with the consignment.

Example:"ORD123456"
create_datestring, (date-time)required

Date and time when the consignment was created.

expected_delivery_datestring, (date)

Expected delivery date for the consignment.

service_idstring, <= 128 characters

Service identifier (e.g., carrier and service name).

Example:"Generic Carrier|Generic Domestic Service GDOM"
warehouse_idstring, <= 64 characters

Warehouse identifier.

Example:"api-company-slug|Warehouse Name"
shipping_methodstring, <= 255 characters

Shipping method.

shipping_datestring

Shipping date.

Example:"2019-08-24"
order_valuenumber, >= 0

Value of the order.

Example:100
currencystring, = 3 characters

Currency code

Example:"EUR"
delivery_instructionsstring, <= 255 characters

Delivery instructions for the carrier.

Example:"Leave with neighbour if not home"
custom_field_1string, <= 100 characters

Custom field 1 for additional data.

custom_field_2string, <= 100 characters

Custom field 2 for additional data.

custom_field_3string, <= 100 characters

Custom field 3 for additional data. This field is available upon request. The standard number of custom fields is 2.

custom_field_4string, <= 100 characters

Custom field 4 for additional data. This field is available upon request. The standard number of custom fields is 2.

custom_field_5string, <= 100 characters

Custom field 5 for additional data. This field is available upon request. The standard number of custom fields is 2.

origin_order_referencestring, <= 255 characters

Reference to the original order in your system.

Example:"REF123456"
brandstring, <= 255 characters

The dispatching brand for appropriate tax numbers and declarations.

Example:"LeMark"
recipientobjectrequired

Recipient details. At least one of 'name', 'last_name', or 'company_name' must be provided.

packagesArray of objects(Package)

List of packages within the consignment.

export_customsobject

Export customs information. Only include field if the value is populated, do not include if the value is null/empty.

optionsobject(Options)

Carrier-specific options for a consignment. If an option does not apply to the carrier for the consignment, it is ignored. Note that options are not set if a consignment cannot be allocated to a carrier service.

Example:
{ "signature_required": "true", "age_check": "false" }
invoiceobject(Invoice)
custom_attributesobject(CustomAttributes)

Additional fields to customise the consignment.

]
curl -i -X POST \
  'https://docs.scurri.com/_mock/connect/consignments-api/versions/2026.1/openapi/_api/v1/company/{company_slug}/consignments/' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "identifier": "8a12630db404424b943e131ce4ee3976",
      "order_number": "ORD123456",
      "create_date": "2019-08-24T14:15:22Z",
      "expected_delivery_date": "2019-08-24",
      "service_id": "Generic Carrier|Generic Domestic Service GDOM",
      "warehouse_id": "api-company-slug|Warehouse Name",
      "shipping_method": "string",
      "shipping_date": "2019-08-24",
      "order_value": 100,
      "currency": "EUR",
      "delivery_instructions": "Leave with neighbour if not home",
      "custom_field_1": "string",
      "custom_field_2": "string",
      "custom_field_3": "string",
      "custom_field_4": "string",
      "custom_field_5": "string",
      "origin_order_reference": "REF123456",
      "brand": "LeMark",
      "recipient": {
        "name": "John Doe",
        "first_name": "",
        "last_name": "John Doe",
        "company_name": "Scurri",
        "email_address": "john.doe@scurri.com",
        "contact_number": "+353 1 234 5678",
        "tax_identifier": "IE1234567",
        "eori_number": "GB123456789123",
        "recipient_type": "",
        "address": {
          "address1": "Innovation House",
          "address2": "The Bullring",
          "address3": "",
          "city": "Wexford",
          "state": "County Wexford",
          "postcode": "Y35 DW6E",
          "country": "IE",
          "store_code": ""
        }
      },
      "packages": [
        {
          "description": "Clothing items",
          "weight": 1,
          "length": 5,
          "width": 2,
          "height": 10,
          "items": [
            {
              "name": "T-Shirt",
              "sku": "SKU12345",
              "quantity": 2,
              "value": 10.99,
              "harmonisation_code": "0902.10",
              "country_of_origin": "GB",
              "weight": 500,
              "vat_rate": "string",
              "fabric_content": "100% Cotton",
              "import_type": "B2B",
              "mid_code": "GBSCU18WEX",
              "reference": "A72B",
              "taric_condition": "string",
              "standardised_product_id": "5012345678900",
              "standardised_product_id_type": "EAN",
              "manufacturer_product_id": "string",
              "commodity_description": "Men'\''s cotton apparel",
              "cpsc_regulatory_details": {
                "certifier_id": "CR-883921",
                "product_id": "PRD-4728193",
                "version_id": "1.0"
              },
              "eudr_regulatory_details": {
                "dds_reference_number": "26GB9A8B7C6D5"
              }
            }
          ],
          "reference": "SC1234"
        }
      ],
      "export_customs": {
        "reason_for_export": "merchandise",
        "shipping_cost": "10.00",
        "ioss_number": "IM0123456789",
        "declaration_statements": [
          "The sender is the exporter of the goods declared herein and is responsible for the information provided on this declaration.",
          "The goods described in this consignment are of UK origin."
        ]
      },
      "options": {
        "signature_required": "true",
        "age_check": "false"
      },
      "invoice": {
        "incoterm": "DAP"
      },
      "custom_attributes": {
        "override_sender_name": "Subsidiary Ltd",
        "override_sender_eori": "GB123456789000",
        "global_e_order_id": "1234567890",
        "override_sender_address1": "123 Business Rd",
        "override_send_address2": "Business Park",
        "override_sender_address3": "West Wing",
        "override_sender_city": "London",
        "override_sender_state": "London",
        "override_sender_postcode": "D02 ABC",
        "override_sender_country": "GB",
        "override_sender_email": "info@subsidiary.com",
        "override_sender_phone": "+4412345678"
      }
    }
  ]'

Responses

The batch request was successfully received and processed by the application. Check the success array for successfully imported consignment identifiers and the errors object, which maps the failed item's original request index to a specific error message.

Bodyapplication/json
successArray of strings

List of identifiers for created consignments.

Example:
[ "8a12630db404424b943e131ce4ee3976" ]
errorsany

A map of validation errors keyed by the zero-indexed position of the failed request item. Each value is an array of failure messages.

Example:
{ "0": [ "recipient: name: Ensure this value has at most 255 characters (it has 256)." ], "1": [ "service_type: This field is required." ] }
Response
{ "success": [ "8a12630db404424b943e131ce4ee3976" ], "errors": { "0": [ … ], "1": [ … ] } }