Download OpenAPI specification:Download
This document describes the current version of the Shipping API.
The Convelio API is organized around REST. Our API has predictable resource-oriented urls, accept and return json-encoded requests and responses. It also use standard HTTP response codes, authentication, and verbs.
You can use the Convelio API in sandbox mode, which does not affect your live data or interact with the live api. The API key you use to authenticate the request determine whether the request is live mode or sandbox mode.
Convelio authenticates your API requests using your account’s API key. If you do not include your key when making an API request, or use one that is incorrect, Convelio returns an error.
Your API key has a Secret type, prefixed by sk, and should be kept confidential and only stored on your own servers. Your account’s secret API key can perform any API request to Convelio without restriction.
There are also two modes for your API key: live and test.
Type \ Mode | Test | Live |
---|---|---|
Secret | sk_test_0000000000000000000000000 | sk_live_0000000000000000000000000 |
To get your API key, please send your request at api@convelio.com.
Use this endpoint to obtain a first estimation for a shipment.
currency | string (CurrencyCode) Default: "EUR" Enum: "EUR" "USD" "GBP" Currency to use for the response. Accepted currencies are EUR, USD and GBP. |
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
required | object (delivery) Delivery details. | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
shipping_speed | string (speed-shipment-estimation) Value: "regular_speed" Freight speed. Possible values:
| ||||||||||||||||||||||||||||||||||||
direct_label_request | string (direct-label-request) Enum: "cheapest_option" "direct_label_only" "direct_label_excluded" Direct label request. Possible values:
| ||||||||||||||||||||||||||||||||||||
contract_insurance | boolean (contract-insurance) You can add an Ad Valorem insurance that will compensate your prejudice in the event of damage, theft or loss (up to the declared value of your items and shipping costs, in case of total loss). | ||||||||||||||||||||||||||||||||||||
Array of objects (Pickup) | |||||||||||||||||||||||||||||||||||||
Array
|
{- "delivery": {
- "type": "curbside",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contact": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}, - "company_name": "Company Name LTD",
- "additional_info": "Additional information regarding the delivery."
}, - "shipping_speed": "regular_speed",
- "direct_label_request": "cheapest_option",
- "contract_insurance": false,
- "pickups": [
- {
- "company_name": "Company Name LTD",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contacts": [
- {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}
], - "items": [
- {
- "name": "Vase ming",
- "description": "Vase ming XIV",
- "quantity": 1,
- "current_packing": "not_packed",
- "desired_packing": "masterpack",
- "measurement_system": "us",
- "type": "other.other",
- "materials": [
- "stone",
- "glass"
], - "value": {
- "amount": 15000,
- "currency_code": "EUR"
}, - "length": 100,
- "height": 100,
- "width": 100,
- "weight": 100
}
], - "additional_info": "Additional information regarding the pickup."
}
]
}
{- "currency_code": "EUR",
- "vat_excluded_amount": 10000,
- "vat_included_amount": 12000,
- "vat_amount": 2000,
- "insurance_amount": 700
}
Get a quote from Convelio. An operations representative will get in contact with you if necessary.
currency | string (CurrencyCode) Default: "EUR" Enum: "EUR" "USD" "GBP" Currency to use for the response. Accepted currencies are EUR, USD and GBP. |
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
required | object (delivery) Delivery details. | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
shipping_speed required | string (shipping-speed) Enum: "regular_speed" "express" Freight speed. Possible values:
| ||||||||||||||||||||||||||||||||||||
direct_label_request | string (direct-label-request) Enum: "cheapest_option" "direct_label_only" "direct_label_excluded" Direct label request. Possible values:
| ||||||||||||||||||||||||||||||||||||
contract_insurance | boolean (contract-insurance) You can add an Ad Valorem insurance that will compensate your prejudice in the event of damage, theft or loss (up to the declared value of your items and shipping costs, in case of total loss). | ||||||||||||||||||||||||||||||||||||
required | Array of objects (pickup) | ||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
customer_email | string <email> <= 255 characters Add a customer email address to receive the quote by email. | ||||||||||||||||||||||||||||||||||||
customer_reference_number | string <= 255 characters | ||||||||||||||||||||||||||||||||||||
additional_info | string <= 8000 characters |
{- "delivery": {
- "type": "curbside",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contact": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}, - "company_name": "Company Name LTD",
- "additional_info": "Additional information regarding the delivery."
}, - "shipping_speed": "regular_speed",
- "direct_label_request": "cheapest_option",
- "contract_insurance": false,
- "pickups": [
- {
- "company_name": "Company Name LTD",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contacts": [
- {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}
], - "items": [
- {
- "name": "Vase ming",
- "description": "Vase ming XIV",
- "quantity": 1,
- "current_packing": "not_packed",
- "desired_packing": "masterpack",
- "measurement_system": "us",
- "type": "other.other",
- "materials": [
- "stone",
- "glass"
], - "value": {
- "amount": 15000,
- "currency_code": "EUR"
}, - "length": 100,
- "height": 100,
- "width": 100,
- "weight": 100
}
], - "additional_info": "Additional information regarding the pickup."
}
], - "customer_email": "person@example.com",
- "customer_reference_number": "string",
- "additional_info": "string"
}
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "quote_reference_number": "QVO-001",
- "shipping_speed": "regular_speed",
- "direct_label_request": "cheapest_option",
- "delivery": {
- "type": "curbside",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contact": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}, - "company_name": "Company Name LTD",
- "additional_info": "Additional information regarding the delivery."
}, - "pickups": [
- {
- "company_name": "Company Name LTD",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contacts": [
- {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}
], - "items": [
- {
- "name": "Vase ming",
- "description": "Vase ming XIV",
- "quantity": 1,
- "current_packing": "not_packed",
- "desired_packing": "masterpack",
- "measurement_system": "us",
- "type": "other.other",
- "materials": [
- "stone",
- "glass"
], - "value": {
- "amount": 15000,
- "currency_code": "EUR"
}, - "length": 100,
- "height": 100,
- "width": 100,
- "weight": 100
}
], - "additional_info": "Additional information regarding the pickup."
}
], - "contract_insurance": false,
- "customer_email": "person@example.com",
- "price": {
- "currency_code": "EUR",
- "vat_excluded_amount": 10000,
- "vat_included_amount": 12000,
- "vat_amount": 2000,
- "insurance_amount": 700
}, - "status": "created",
- "customer_reference_number": "CRN123456789",
- "additional_info": "Additional information for customs."
}
Retrieve a quote by its ID.
quoteId required | string Quote ID |
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "quote_reference_number": "QVO-001",
- "shipping_speed": "regular_speed",
- "direct_label_request": "cheapest_option",
- "delivery": {
- "type": "curbside",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contact": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}, - "company_name": "Company Name LTD",
- "additional_info": "Additional information regarding the delivery."
}, - "pickups": [
- {
- "company_name": "Company Name LTD",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contacts": [
- {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}
], - "items": [
- {
- "name": "Vase ming",
- "description": "Vase ming XIV",
- "quantity": 1,
- "current_packing": "not_packed",
- "desired_packing": "masterpack",
- "measurement_system": "us",
- "type": "other.other",
- "materials": [
- "stone",
- "glass"
], - "value": {
- "amount": 15000,
- "currency_code": "EUR"
}, - "length": 100,
- "height": 100,
- "width": 100,
- "weight": 100
}
], - "additional_info": "Additional information regarding the pickup."
}
], - "contract_insurance": false,
- "customer_email": "person@example.com",
- "price": {
- "currency_code": "EUR",
- "vat_excluded_amount": 10000,
- "vat_included_amount": 12000,
- "vat_amount": 2000,
- "insurance_amount": 700
}, - "status": "created",
- "customer_reference_number": "CRN123456789",
- "additional_info": "Additional information for customs."
}
Update a quote from Convelio.
quoteId required | string Quote ID |
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
object (delivery-update) Delivery details update. | |||||||||||||||||||||
| |||||||||||||||||||||
customer_reference_number | string <= 255 characters | ||||||||||||||||||||
customer_email | string <email> <= 255 characters Add a customer email address to receive the quote by email. | ||||||||||||||||||||
additional_info | string <= 8000 characters Additional information regarding the whole booking. |
{- "delivery": {
- "contact": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}, - "company_name": "Company Name LTD",
- "additional_info": "Additional information regarding the delivery."
}, - "customer_reference_number": "string",
- "customer_email": "person@example.com",
- "additional_info": "Additional information for customs."
}
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "quote_reference_number": "QVO-001",
- "shipping_speed": "regular_speed",
- "direct_label_request": "cheapest_option",
- "delivery": {
- "type": "curbside",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contact": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}, - "company_name": "Company Name LTD",
- "additional_info": "Additional information regarding the delivery."
}, - "pickups": [
- {
- "company_name": "Company Name LTD",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contacts": [
- {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}
], - "items": [
- {
- "name": "Vase ming",
- "description": "Vase ming XIV",
- "quantity": 1,
- "current_packing": "not_packed",
- "desired_packing": "masterpack",
- "measurement_system": "us",
- "type": "other.other",
- "materials": [
- "stone",
- "glass"
], - "value": {
- "amount": 15000,
- "currency_code": "EUR"
}, - "length": 100,
- "height": 100,
- "width": 100,
- "weight": 100
}
], - "additional_info": "Additional information regarding the pickup."
}
], - "contract_insurance": false,
- "customer_email": "person@example.com",
- "price": {
- "currency_code": "EUR",
- "vat_excluded_amount": 10000,
- "vat_included_amount": 12000,
- "vat_amount": 2000,
- "insurance_amount": 700
}, - "status": "created",
- "customer_reference_number": "CRN123456789",
- "additional_info": "Additional information for customs."
}
Create an order for given Quote ID.
currency | string (CurrencyCode) Default: "EUR" Enum: "EUR" "USD" "GBP" Currency to use for the response. Accepted currencies are EUR, USD and GBP. |
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
quote_id required | string <uuid> Quote ID, which is the base of the Order | ||||||||||||||||||||||||||
object (billing-details) Required when no default billing details are set. Please, contact Convelio. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
customer_reference_number | string <= 255 characters |
{- "quote_id": "123e4567-e89b-12d3-a456-426614174000",
- "billing_details": {
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "name": "Art center",
- "email": "art@center.org",
- "phone": "+442033188673",
- "vat_number": "GB12345697",
- "customer_reference_number": "REF123456",
- "eori_number": "DE 1234567890 8"
}, - "customer_reference_number": "REF123456"
}
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "order_reference_number": "CVO-288",
- "contract_insurance": false,
- "shipping_speed": "regular_speed",
- "pickups": [
- {
- "company_name": "Company Name LTD",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contacts": [
- {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}
], - "items": [
- {
- "name": "Vase ming",
- "description": "Vase ming XIV",
- "quantity": 1,
- "current_packing": "not_packed",
- "desired_packing": "masterpack",
- "measurement_system": "us",
- "type": "other.other",
- "materials": [
- "stone",
- "glass"
], - "value": {
- "amount": 15000,
- "currency_code": "EUR"
}, - "length": 100,
- "height": 100,
- "width": 100,
- "weight": 100
}
], - "additional_info": "Additional information regarding the pickup."
}
], - "delivery": {
- "type": "curbside",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contact": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}, - "company_name": "Company Name LTD",
- "additional_info": "Additional information regarding the delivery."
}, - "price": {
- "currency_code": "EUR",
- "vat_excluded_amount": 10000,
- "vat_included_amount": 12000,
- "vat_amount": 2000,
- "insurance_amount": 700
}, - "billing_details": {
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "name": "Art center",
- "email": "art@center.org",
- "phone": "+442033188673",
- "vat_number": "GB12345697",
- "customer_reference_number": "REF123456",
- "eori_number": "DE 1234567890 8"
}, - "customer_reference_number": "REF123456"
}
Upload an order document. Allowed formats: jpg, jpeg, png, pdf. The maximum allowed file size is 2MB. This endpoint value for the Content-Type header is multipart/form-data.
orderId required | string Order ID |
ContentType | string Default: multipart/form-data |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
file required | string The document file to upload. |
type required | string (document-type) Enum: "airway_bill" "art_declaration" "atf" "atf_exemption_document" "atr" "bill_of_lading" "certificate_of_insurance" "certificate_of_origin" "cites_permits" "commercial_invoice" "courier_label" "cultural_export_licence" "dau" "dhl_poa" "dle" "eur1" "export_declaration" "import_declaration" "item_pictures" "items_pictures_at_collection" "lacey_act" "letter_of_instruction" "packing_list" "pictures_at_delivery" "poa_other_agent_for_export" "poa_other_agent_for_import" "portside_poa" "proforma_invoice" "prolongations" "proof_of_delivery" "proof_of_export" "proof_of_id_importer" "proof_of_residence_importer" "shipping_label" "t1_form" "t2_form" "tax_id_form" "temporary_regulations" The type of document. |
curl --location --request POST 'https://api.sandbox.convelio.com/v2/shipping/order/421e1e90-c5fe-4d1e-8b27-141b5ee9f1ea/document' \ --header 'Content-Type: multipart/form-data' \ --header 'Authorization: token {TOKEN}' \ --form 'file=@/home/username/file.pdf' \ --form 'type=art_declaration'
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad Request."
}
Get tracking details for a given Order ID.
orderId required | string Order ID |
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
curl --location --request GET 'https://api.sandbox.convelio.com/v2/shipping/order/{order_id}/tracking \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: token {TOKEN}'
{- "order_reference_number": 123456789,
- "tracking_number": "CTN56321478",
- "shipment_status": "shipment_created",
- "estimated_delivery_date": "2021-10-10T00:00:00+00:00",
- "last_status_update": "2021-06-14T16:04:44+00:00"
}
Sent when a price is available for a custom quote.
event | string Value: "custom_quote_ready" | ||
created | string <date-time> | ||
object | |||
|
{- "event": "custom_quote_ready",
- "created": "2019-08-24T14:15:22Z",
- "payload": {
- "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992"
}
}
Sent when a quote was paid
event | string Value: "quote_paid" | ||||
created | string <date-time> | ||||
object | |||||
|
{- "event": "quote_paid",
- "created": "2019-08-24T14:15:22Z",
- "payload": {
- "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
}
}
Sent when an order is created through the API.
event | string Value: "order_created" | ||||
created | string <date-time> | ||||
object | |||||
|
{- "event": "order_created",
- "created": "2019-08-24T14:15:22Z",
- "payload": {
- "quote_id": "3c071a1d-db86-46a7-9dc8-72ba3fbca992",
- "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe"
}
}
Sent when a new shipment status is published.
event | string Value: "shipment_status_changed" | ||||
created | string <date-time> | ||||
object | |||||
|
{- "event": "shipment_status_changed",
- "created": "2019-08-24T14:15:22Z",
- "payload": {
- "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "shipment_status": "string"
}
}
Sent when a new document is available.
event | string Value: "document_ready" | ||||||
created | string <date-time> | ||||||
object | |||||||
|
{- "event": "document_ready",
- "created": "2019-08-24T14:15:22Z",
- "payload": {
- "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
- "document_type": "string",
}
}
List all webhooks.
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
[- {
- "id": "df35ed86-2151-437d-839e-ef650313a067",
- "triggering_event_name": "custom_quote_ready",
- "creation_date": "2020-01-01T00:00:00Z"
}
]
Create a webhook.
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
url required | string <uri> (webhook-url) <= 255 characters ^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{... URL to receive webhooks. |
triggering_event_name required | string (triggering-event-name) Enum: "custom_quote_ready" "quote_paid" "order_created" "shipment_status_changed" "document_ready" |
{- "triggering_event_name": "custom_quote_ready"
}
{- "id": "df35ed86-2151-437d-839e-ef650313a067",
- "triggering_event_name": "custom_quote_ready",
- "creation_date": "2020-01-01T00:00:00Z"
}
Get a webhook.
webhookId required | string Webhook ID |
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
{- "id": "df35ed86-2151-437d-839e-ef650313a067",
- "triggering_event_name": "custom_quote_ready",
- "creation_date": "2020-01-01T00:00:00Z"
}
Update a webhook.
webhookId required | string Webhook ID |
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
url required | string <uri> (webhook-url) <= 255 characters ^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{... URL to receive webhooks. |
{
}
{- "id": "df35ed86-2151-437d-839e-ef650313a067",
- "triggering_event_name": "custom_quote_ready",
- "creation_date": "2020-01-01T00:00:00Z"
}
Delete a webhook.
webhookId required | string Webhook ID |
Content-Type | string Default: application/json Enum: "application/json" "application/vnd.convelio-shipping.v2+json" Content-Type header should be sent and should be |
Accept | string Default: application/json Enum: "*/*" "application/json" Accept header should be sent and should be |
{- "title": "Unauthorized",
- "status": 401,
- "detail": "Token not found."
}
type required | string A URL to a page with more details regarding the problem. The primary identifier for the problem. It's typically an absolute URL that leads to an HTML page containing human-readable documentation regarding the problem. |
title required | string Short human-readable summary of the problem. |
status required | integer >= 100 The HTTP status code. It's always the same as the status code in the HTTP header. It's only included for the convenience of the consumer. |
detail required | string Human-readable description of this specific problem. |
{- "title": "Forbidden",
- "status": 403,
- "detail": "Forbidden"
}
type required | string A URL to a page with more details regarding the problem. The primary identifier for the problem. It's typically an absolute URL that leads to an HTML page containing human-readable documentation regarding the problem. | ||||||
title required | string Short human-readable summary of the problem. | ||||||
status required | integer >= 100 The HTTP status code. It's always the same as the status code in the HTTP header. It's only included for the convenience of the consumer. | ||||||
detail required | string Human-readable description of this specific problem. | ||||||
object Validation messages are only returned when your request have a body and the body is invalid. | |||||||
|
{- "title": "Forbidden",
- "status": 422,
- "detail": "Forbidden",
- "validation_messages": {
- "{field_name}": {
- "{error_title}": "Invalid delivery type. Valid values are: curbside, white_glove"
}
}
}
street | string <= 255 characters Address's street. |
city | string <= 255 characters Address's city. |
state | string <= 255 characters Address's state. |
postcode | string <= 255 characters Address's postcode. |
country_code required | string (country-code) Enum: "AD" "AE" "AF" "AG" "AI" "AL" "AM" "AO" "AQ" "AR" "AS" "AT" "AU" "AW" "AX" "AZ" "BA" "BB" "BD" "BE" "BF" "BG" "BH" "BI" "BJ" "BL" "BM" "BN" "BO" "BQ" "BR" "BS" "BT" "BV" "BW" "BY" "BZ" "CA" "CC" "CD" "CF" "CG" "CH" "CI" "CK" "CL" "CM" "CN" "CO" "CR" "CU" "CV" "CW" "CX" "CY" "CZ" "DE" "DJ" "DK" "DM" "DO" "DZ" "EC" "EE" "EG" "EH" "ER" "ES" "ET" "FI" "FJ" "FK" "FM" "FO" "FR" "GA" "GB" "GD" "GE" "GF" "GG" "GH" "GI" "GL" "GM" "GN" "GP" "GQ" "GR" "GS" "GT" "GU" "GW" "GY" "HK" "HM" "HN" "HR" "HT" "HU" "ID" "IE" "IL" "IM" "IN" "IO" "IQ" "IR" "IS" "IT" "JE" "JM" "JO" "JP" "KE" "KG" "KH" "KI" "KM" "KN" "KP" "KR" "KW" "KY" "KZ" "LA" "LB" "LC" "LI" "LK" "LR" "LS" "LT" "LU" "LV" "LY" "MA" "MC" "MD" "ME" "MF" "MG" "MH" "MK" "ML" "MM" "MN" "MO" "MP" "MQ" "MR" "MS" "MT" "MU" "MV" "MW" "MX" "MY" "MZ" "NA" "NC" "NE" "NF" "NG" "NI" "NL" "NO" "NP" "NR" "NU" "NZ" "OM" "PA" "PE" "PF" "PG" "PH" "PK" "PL" "PM" "PN" "PR" "PS" "PT" "PW" "PY" "QA" "RE" "RO" "RS" "RU" "RW" "SA" "SB" "SC" "SD" "SE" "SG" "SH" "SI" "SJ" "SK" "SL" "SM" "SN" "SO" "SR" "SS" "ST" "SV" "SX" "SY" "SZ" "TC" "TD" "TF" "TG" "TH" "TJ" "TK" "TL" "TM" "TN" "TO" "TR" "TT" "TV" "TW" "TZ" "UA" "UG" "UM" "US" "UY" "UZ" "VA" "VC" "VE" "VG" "VI" "VN" "VU" "WF" "WS" "YE" "YT" "ZA" "ZM" "ZW" The country code according to iso-3166-1-alpha-2 |
{- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}
first_name required | string <= 255 characters Contact's first name. |
last_name required | string <= 255 characters Contact's last name. |
email required | string <email> <= 255 characters Contact's main email. |
phone required | string (phone) <= 255 characters Phone number with following formats:
|
additional_emails | Array of strings <email> [ items <email > ] Contact's additional email addresses. |
additional_phones | Array of strings (Phone) [ items <= 255 characters ] Contact's additional phone numbers. |
{- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}
name | string <= 255 characters | ||||
description required | string <= 255 characters | ||||
quantity | integer multiple of 1 >= 1 Default: 1 Item quantity. | ||||
current_packing required | string (packing-type) Enum: "not_packed" "wood_crated"
| ||||
desired_packing | string (desired-packing) Enum: "masterpack" "cardboard_box_stdo_c1" "cardboard_box_stdo_c2" "cardboard_box_stdo_c3" "cardboard_box_stdo_c4" "cardboard_box_stdo_c5" "cardboard_box_stdo_c6" "cardboard_box_stdo_fp1" "cardboard_box_stdo_fp2" "cardboard_box_stdo_t1" "cardboard_box_stdo_j1" "cardboard_box_stdo_f1" "cardboard_box_stdo_largetube" "cardboard_box_stdo_2c1" "cardboard_box_stdo_3c1" "cardboard_box_stdo_2c2" "cardboard_box_stdo_3c2" "cardboard_box_stdo_2c3" "cardboard_box_stdo_3c3" "cardboard_box_stdo_2c4" "cardboard_box_stdo_3c4" "cardboard_box_stdo_2c5" "cardboard_box_stdo_3c5" "cardboard_box_stdo_2c6" "cardboard_box_stdo_3c6" "cardboard_box_stdo_2fp1" "cardboard_box_stdo_3fp1" "cardboard_box_stdo_2fp2" "cardboard_box_stdo_3fp2" "woodcrate_nsdp_pp" "woodcrate_nsdp_g" "woodcrate_nsdp_ppg" "woodcrate_nsdp_cw" "woodcrate_nsdp_tf" "woodcrate_nsdp_tfw" "woodcrate_nsdp_af" "woodcrate_nsdo_scs" "woodcrate_nsdo_scl" Leave empty by default.
| ||||
measurement_system | string (measurement-system) Default: "metric" Enum: "us" "metric" Unit system used for the pickup. | ||||
type | string (item-type) Available options:
| ||||
materials | Array of strings (item-materials) Available options:
Invalid values will be matched to | ||||
required | object (commercial-value) Item commercial value. | ||||
| |||||
length required | integer multiple of 1 >= 1 Item length in cm or inch, depending on the measurement system used. | ||||
height required | integer multiple of 1 >= 1 Item height in cm or inch, depending on the measurement system used. | ||||
width required | integer multiple of 1 >= 1 Item width in cm or inch, depending on the measurement system used. | ||||
weight | integer multiple of 1 >= 1 Item weight in kg or lbs, depending on the measurement system used. |
{- "name": "Vase ming",
- "description": "Vase ming XIV",
- "quantity": 1,
- "current_packing": "not_packed",
- "desired_packing": "masterpack",
- "measurement_system": "us",
- "type": "other.other",
- "materials": [
- "stone",
- "glass"
], - "value": {
- "amount": 15000,
- "currency_code": "EUR"
}, - "length": 100,
- "height": 100,
- "width": 100,
- "weight": 100
}
currency_code | string (Money) Shipping estimate price's currency code. Accepted currencies are EUR, USD and GBP. |
vat_excluded_amount | integer Amount is a positive integer or zero. Estimated price of the shipping excluding taxes. A positive integer representing the price of the quote in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). |
vat_included_amount | integer Amount is a positive integer or zero. Estimated price of the shipping including taxes. A positive integer representing the price of the quote in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). |
vat_amount | integer Amount is a positive integer or zero. Estimated price of the taxes. A positive integer representing the price of the quote in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). |
insurance_amount | integer Amount is a positive integer or zero. Estimated price of the insurance including taxes. A positive integer representing the price of the quote in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). |
{- "currency_code": "EUR",
- "vat_excluded_amount": 10000,
- "vat_included_amount": 12000,
- "vat_amount": 2000,
- "insurance_amount": 700
}
id | string <uuid> ID of the Quote. | ||||||||||||||||||||||||||||||||||||
quote_reference_number | string This QVO number is a direct reference to the quote and is used to communicate with Convelio's operational and support teams. | ||||||||||||||||||||||||||||||||||||
shipping_speed | string (shipping-speed) Enum: "regular_speed" "express" Freight speed. Possible values:
| ||||||||||||||||||||||||||||||||||||
direct_label_request | string (direct-label-request) Enum: "cheapest_option" "direct_label_only" "direct_label_excluded" Direct label request. Possible values:
| ||||||||||||||||||||||||||||||||||||
object (delivery) Delivery details. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
Array of objects (Pickup) | |||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
share_link | string <uri> Instant quote sharelink. | ||||||||||||||||||||||||||||||||||||
contract_insurance | boolean (contract-insurance) You can add an Ad Valorem insurance that will compensate your prejudice in the event of damage, theft or loss (up to the declared value of your items and shipping costs, in case of total loss). | ||||||||||||||||||||||||||||||||||||
customer_email | string <email> <= 255 characters Add a customer email address to receive the quote by email. | ||||||||||||||||||||||||||||||||||||
object (price) | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
status | string (quote-status) Enum: "created" "processing"
| ||||||||||||||||||||||||||||||||||||
customer_reference_number | string <= 255 characters | ||||||||||||||||||||||||||||||||||||
additional_info | string <= 8000 characters |
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "quote_reference_number": "QVO-001",
- "shipping_speed": "regular_speed",
- "direct_label_request": "cheapest_option",
- "delivery": {
- "type": "curbside",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contact": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}, - "company_name": "Company Name LTD",
- "additional_info": "Additional information regarding the delivery."
}, - "pickups": [
- {
- "company_name": "Company Name LTD",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contacts": [
- {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}
], - "items": [
- {
- "name": "Vase ming",
- "description": "Vase ming XIV",
- "quantity": 1,
- "current_packing": "not_packed",
- "desired_packing": "masterpack",
- "measurement_system": "us",
- "type": "other.other",
- "materials": [
- "stone",
- "glass"
], - "value": {
- "amount": 15000,
- "currency_code": "EUR"
}, - "length": 100,
- "height": 100,
- "width": 100,
- "weight": 100
}
], - "additional_info": "Additional information regarding the pickup."
}
], - "contract_insurance": false,
- "customer_email": "person@example.com",
- "price": {
- "currency_code": "EUR",
- "vat_excluded_amount": 10000,
- "vat_included_amount": 12000,
- "vat_amount": 2000,
- "insurance_amount": 700
}, - "status": "created",
- "customer_reference_number": "CRN123456789",
- "additional_info": "Additional information for customs."
}
id | string <uuid> Order ID. | ||||||||||||||||||||||||||||||||||||
order_reference_number | string | ||||||||||||||||||||||||||||||||||||
contract_insurance | boolean (contract-insurance) You can add an Ad Valorem insurance that will compensate your prejudice in the event of damage, theft or loss (up to the declared value of your items and shipping costs, in case of total loss). | ||||||||||||||||||||||||||||||||||||
shipping_speed | string (shipping-speed) Enum: "regular_speed" "express" Freight speed. Possible values:
| ||||||||||||||||||||||||||||||||||||
Array of objects (Pickup) | |||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
object (delivery) Delivery details. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object (price) | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object (billing-details) | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
tracking_link | string <uri> Link to follow the progress of the shipping order. | ||||||||||||||||||||||||||||||||||||
dashboard_order_link | string <uri> Link to see the details of the shipping order. | ||||||||||||||||||||||||||||||||||||
customer_reference_number | string <= 255 characters Customer/partner provided reference number. |
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "order_reference_number": "CVO-288",
- "contract_insurance": false,
- "shipping_speed": "regular_speed",
- "pickups": [
- {
- "company_name": "Company Name LTD",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contacts": [
- {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}
], - "items": [
- {
- "name": "Vase ming",
- "description": "Vase ming XIV",
- "quantity": 1,
- "current_packing": "not_packed",
- "desired_packing": "masterpack",
- "measurement_system": "us",
- "type": "other.other",
- "materials": [
- "stone",
- "glass"
], - "value": {
- "amount": 15000,
- "currency_code": "EUR"
}, - "length": 100,
- "height": 100,
- "width": 100,
- "weight": 100
}
], - "additional_info": "Additional information regarding the pickup."
}
], - "delivery": {
- "type": "curbside",
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "contact": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "john.doe@exemple.com",
- "phone": "+442033188673",
- "additional_emails": [
- "user@example.com"
], - "additional_phones": [
- "+442033188673"
]
}, - "company_name": "Company Name LTD",
- "additional_info": "Additional information regarding the delivery."
}, - "price": {
- "currency_code": "EUR",
- "vat_excluded_amount": 10000,
- "vat_included_amount": 12000,
- "vat_amount": 2000,
- "insurance_amount": 700
}, - "billing_details": {
- "address": {
- "street": "42 rue des allees",
- "city": "Paris",
- "state": "Ile-de-france",
- "postcode": "75004",
- "country_code": "FR"
}, - "name": "Art center",
- "email": "art@center.org",
- "phone": "+442033188673",
- "vat_number": "GB12345697",
- "customer_reference_number": "REF123456",
- "eori_number": "DE 1234567890 8"
}, - "customer_reference_number": "REF123456"
}
order_reference_number required | integer The Order reference number. |
tracking_number required | string The Order tracking number. |
shipment_status required | string (shipment-status) Enum: "shipment_created" "picked_up" "packing_in_progress" "export_in_progress" "freight_in_transit" "import_in_progress" "out_for_delivery" "shipment_completed" "on_hold" "canceled" The shipment status of the tracked order. Possible values:
|
estimated_delivery_date | string <date-time> The estimated delivery date for the tracked order. The estimated delivery date becomes available once the shipment has been taken care of by our suppliers. Otherwise, this field will be ommitted from the response. |
last_status_update required | string <date-time> Last shipment status update time. |
{- "order_reference_number": 123456789,
- "tracking_number": "CTN56321478",
- "shipment_status": "shipment_created",
- "estimated_delivery_date": "2021-10-10T00:00:00+00:00",
- "last_status_update": "2021-06-14T16:04:44+00:00"
}
id | string <uuid> Identifier of the webhook |
url required | string <uri> (webhook-url) <= 255 characters ^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{... URL to receive webhooks. |
triggering_event_name required | string (triggering-event-name) Enum: "custom_quote_ready" "quote_paid" "order_created" "shipment_status_changed" "document_ready" |
creation_date | string <date-time> |
{- "id": "df35ed86-2151-437d-839e-ef650313a067",
- "triggering_event_name": "custom_quote_ready",
- "creation_date": "2020-01-01T00:00:00Z"
}
Delivery options for the shipment. 2 possible values:
"curbside"
The country code according to iso-3166-1-alpha-2
"FR"
Freight speed. Possible values:
"regular_speed"
Direct label request. Possible values:
"cheapest_option"
"not_packed"
Leave empty by default.
"masterpack"
Freight speed. Possible values:
"regular_speed"
"created"
The type of document.
"airway_bill"