curl -i -X POST \
'https://docs.scurri.com/_mock/connect/consignments-api/versions/1.0.0/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",
"carrier": "Generic Carrier",
"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",
"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",
"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,
"weight_unit": "kg",
"length": 5,
"width": 2,
"height": 10,
"dimensions_unit": "cm",
"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"
}
],
"reference": "SC1234"
}
],
"export_customs": {
"reason_for_export": "merchandise",
"shipping_cost": "10.00",
"ioss_number": "IM0123456789"
},
"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"
}
}
]'