Wolt Drive Schemas

Wolt Drive API Schemas

AvailableVenuesListResponse

{
"pickup": {
"venue_id": "string",
"name": [
{
"lang": "string",
"value": "string"
}
],
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
}
},
"fee": {
"amount": 0,
"currency": "string"
},
"pre_estimate": {
"pickup_minutes": 0,
"delivery_minutes": 0,
"total_minutes": {
"min": 0,
"mean": 0,
"max": 0
}
},
"scheduled_dropoff_time": "string"
}
ParameterTypeRequiredDescription
pickupPickupDetailsRequiredPickup location details
feeFeeRequiredDelivery price details
pre_estimateEstimate]RequiredPre-estimated delivery time

Cash

{
"amount_to_collect": 0,
"amount_to_expect": 0
}
ParameterTypeRequiredDescription
amount_to_collectintRequiredAmount of cash to receive (e.g. 60€ order, 20€ credit, customer needs to pay 40€). Value should also include the delivery cost. Price presented in whole numbers in the lowest denomination, commonly cents (example amount 40€ = "4000").
amount_to_expectintAmount of cash expected to have change for (e.g. customer has a 50€ bill). Price presented in whole numbers in the lowest denomination, commonly cents.

ContactDetails

{
"name": "string",
"phone_number": "string",
"send_tracking_link_sms": true
}
ParameterTypeRequiredDescription
namestringRequiredName for contact
phone_numberstringRequiredPhone number with country code and leading plus symbol. E.g. +358123456789
send_tracking_link_smsbooleanRequiredSend a pre-defined SMS with an order tracking link to the provided phone_number

Contents

{
"count": 0,
"description": "string",
"identifier": "string",
"id_check_required": false,
"tags": ["alcohol"],
"price": {
"amount": 0,
"currency": "string"
},
"dimensions": {
"weight_gram": 0,
"width_cm": 0,
"height_cm": 0,
"depth_cm": 0
}
}
ParameterTypeRequiredDescription
countintegerRequiredCount of items
descriptionstringRequiredDescription of the item, eg. "Burger"
id_check_requiredbooleanDefines whether ID check is required. Enable to ask the courier partner to verify customer identity.
identifierstringRequiredAny kind of reference to item, eg. GUID
tagsContentTagList of the "features" of the parcel. Tag is visible in courier application.
pricePriceMonetary value of the parcel item. Please include, if available, to enable more order automation.
dimensionsParcelDimensionsV1Please include, if available, to enable more order automation.

ContentTag

ParameterTypeRequiredDescription
ContentTagstringList of the "features" of the parcel. Tag is visible in courier application.

Enumerated Values

PropertyValue
ContentTagnull
ContentTagalcohol
ContentTagmedicine
ContentTagtobacco

Coordinates

{
"lat": 0,
"lon": 0
}
ParameterTypeRequiredDescription
latnumberrequiredLatitude value in EPSG:3857 Coordinate Reference System
lonnumberrequiredLongitude in EPSG:3857 Coordinate Reference System

Courier

{
"vehicle_type": "string"
}
ParameterTypeRequiredDescription
vehicle_typestringCourier's vehicle type. Possible values are: "car", "bicycle", "motorcycle", "walking", "flying_drone", "unspecified"

CreateDropoffDetails

{
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
},
"contact_details": {
"name": "string",
"phone_number": "string",
"send_tracking_link_sms": true
},
"comment": "string"
}
ParameterTypeRequiredDescription
locationOrderLocationRequired
contact_detailsContactDetailsRequired
commentstring

CreateDropoffLocationV1

{
"coordinates": {
"lat": 0,
"lon": 0
}
}
ParameterTypeRequiredDescription
coordinatesCoordinatesRequiredCoordinates have to match those in the shipment promise response.

CreateDropoffOptionsV1

Additional information related to the dropoff

{
"is_no_contact": false,
"scheduled_time": "2023-01-23T14:21:00Z"
}
ParameterTypeRequiredDescription
is_no_contactbooleanDefault: false
scheduled_timestring(date-time)Target time for the drop off. Timestamp is in ISO8601 format e.g. 2020-01-30T10:00:13.123Z

CreateDropoffV1

The location with some additional information of the parcels destination

{
"location": {
"coordinates": {
"lat": 0,
"lon": 0
}
},
"comment": "string",
"options": {
"is_no_contact": false,
"scheduled_time": "2023-01-23T14:21:00Z"
}
}
ParameterTypeRequiredDescription
locationCreateDropoffLocationV1Required
commentstringAny additional information related to dropoff in a free text form. Displayed to the courier partner to help finding the recipient easier.
optionsCreateDropoffOptionsV1Additional information related to the dropoff

CreatePickupDetails

{
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
},
"comment": "string",
"contact_details": {
"name": "string",
"phone_number": "string",
"send_tracking_link_sms": true
},
"display_name": "string"
}
ParameterTypeRequiredDescription
locationOrderLocationRequired
commentstringAny additional information related to pickup in a free text form. Displayed to the courier partner to help finding the venue/sender easier.
contact_detailsContactDetailsRequired
display_namestringA display name for pickup location, eg. venue name. If not included, pickup address is used in customer, courier and support communication.

CreatePickupV1

{
"options": {
"min_preparation_time_minutes": 30
},
"comment": "string",
"display_name": "string
}
ParameterTypeRequiredDescription
optionsPickupOptionsV1Additional information related to the pickup
commentstringAny additional information related to pickup in a free text form. If not included, a pre-added pickup comment is used.
display_namestringOptional display name for pickup location, eg. venue name. If not included, a pre-added venue name is used. Leave out if unsure if needed.

CustomerSupport

Customer support contact information. It's required to provide a value in at least one of the fields.

At least one of the CustomerSupport fields has to be provided

{
"email": "string",
"phone_number": "string",
"url": "string"
}
ParameterTypeRequiredDescription
emailstringVisible in the tracking view.
phone_numberstringVisible in the tracking view.
urlstringVisible in the tracking view.

DeliveryFeeResponse

{
"created_at": "string",
"pickup": {
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
}
},
"dropoff": {
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
}
},
"fee": {
"amount": 0,
"currency": "string"
},
"time_estimate_minutes": 0,
"scheduled_dropoff_time": "string"
}
ParameterTypeRequiredDescription
created_atstringRequired
pickupPickupDetailsRequired
dropoffDropoffDetailsRequired
feeFeeRequired
time_estimate_minutesinteger
scheduled_dropoff_timestring

DeliveryOrderResponse

{
"pickup": {
"eta": "string",
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
},
"comment": "string",
"contact_details": {
"name": "string",
"phone_number": "string",
"send_tracking_link_sms": true
}
},
"dropoff": {
"eta": "string",
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
},
"comment": "string",
"contact_details": {
"name": "string",
"phone_number": "string",
"send_tracking_link_sms": true
}
},
"scheduled_dropoff_time": "string",
"customer_support": {
"email": "string",
"phone_number": "string",
"url": "string"
},
"is_no_contact": true,
"merchant_order_reference_id": "string",
"contents": [
{
"count": 0,
"description": "string",
"identifier": "string",
"id_check_required": false,
"tags": ["alcohol"],
"price": {
"amount": 0,
"currency": "string"
},
"dimensions": {
"weight_gram": 0,
"width_cm": 0,
"height_cm": 0,
"depth_cm": 0
}
}
],
"tips": [
{
"type": "pre_delivery_courier_tip",
"price": {
"amount": 0,
"currency": "string"
}
}
],
"price": {
"amount": 0,
"currency": "string"
},
"tracking": {
"id": "string",
"url": "string"
},
"wolt_order_reference_id": "string",
"min_preparation_time_minutes": 0,
"order_number": "string"
}
ParameterTypeRequiredDescription
pickupPickupResponseDetailsRequired
dropoffDropoffResponseDetailsRequired
scheduled_dropoff_timestring
customer_supportCustomerSupportRequired
is_no_contactbooleanRequired
merchant_order_reference_idstring
contents[Contents]Required
tips[Tip]Required
pricePriceRequired
trackingTrackingRequired
wolt_order_reference_idstringRequired
min_preparation_time_minutesintegerRequired
order_numberstringA short reference which links back to the delivery order. Suggested to be 5 chars or under. If present, is shown to courier partner instead of merchant_order_reference_id.

DeliveryOrderV1

{
"id": "string",
"status": "INFO_RECEIVED",
"tracking": {
"id": "string",
"url": "string"
},
"pickup": {
"location": {
"coordinates": {
"lat": 0,
"lon": 0
},
"formatted_address": "string"
},
"comment": "string",
"options": {
"min_preparation_time_minutes": 30
},
"eta": "2023-01-23T14:21:00Z",
"display_name": "string"
},
"dropoff": {
"location": {
"coordinates": {
"lat": 0,
"lon": 0
},
"formatted_address": "string"
},
"comment": "string",
"options": {
"is_no_contact": false,
"scheduled_time": "2023-01-23T14:21:00Z"
},
"eta": "2023-01-23T14:21:00Z"
},
"price": {
"amount": 0,
"currency": "string"
},
"recipient": {
"name": "string",
"phone_number": "string",
"email": "string"
},
"parcels": [
{
"dimensions": {
"weight_gram": 0,
"width_cm": 0,
"height_cm": 0,
"depth_cm": 0
},
"description": "string",
"identifier": "string",
"dropoff_restrictions": {
"id_check_required": false
},
"tags": ["alcohol"],
"price": {
"amount": 0,
"currency": "string"
}
}
],
"customer_support": {
"url": "string",
"email": "string",
"phone_number": "string"
},
"wolt_order_reference_id": "string",
"merchant_order_reference_id": "string",
"tips": [
{
"type": "pre_delivery_courier_tip",
"price": {
"amount": 0,
"currency": "string"
}
}
],
"order_number": "string"
}
ParameterTypeRequiredDescription
idstringRequired
statusDeliveryStatusV1Required
trackingTrackingInfoV1Required
pickupPickupV1Required
dropoffDropoffV1Required
pricePriceRequired
recipientRecipientV1Required
parcels[ParcelV1]Required
customer_supportCustomerSupportRequired
wolt_order_reference_idstringRequired
merchant_order_reference_idstring
tips[Tip]
order_numberstringA short reference which links back to the delivery order. Suggested to be 5 chars or under. If present, is shown to courier partner instead of merchant_order_reference_id.

DeliveryStatusV1

"INFO_RECEIVED"

DeliveryStatusV1

ParameterTypeRequiredDescription
DeliveryStatusV1stringAn enumeration.

Enumerated Values

PropertyValue
DeliveryStatusV1INFO_RECEIVED
DeliveryStatusV1IN_TRANSIT
DeliveryStatusV1DELIVERED

DropoffDetails

{
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
}
}
ParameterTypeRequiredDescription
locationOptionalLocationRequired

DropoffOptionsV1

{
"is_no_contact": false,
"scheduled_time": "2023-01-23T14:21:00Z"
}
ParameterTypeRequiredDescription
is_no_contactbooleanDefault: false
scheduled_timestring(date-time)Target time for the drop off. Timestamp is in ISO8601 format e.g. 2020-01-30T10:00:13.123Z

DropoffResponseDetails

{
"eta": "string",
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
},
"comment": "string",
"contact_details": {
"name": "string",
"phone_number": "string",
"send_tracking_link_sms": true
}
}
ParameterTypeRequiredDescription
etastringRequired
locationOrderLocationRequired
commentstring
contact_detailsContactDetailsRequired

DropoffRestrictionsV1

Used when sending eg. age-restricted products_

{
"id_check_required": false
}
ParameterTypeRequiredDescription
id_check_requiredbooleanDefines whether ID check is required. Enable to ask the courier partner to verify customer identity.

DropoffV1

{
"location": {
"coordinates": {
"lat": 0,
"lon": 0
},
"formatted_address": "string"
},
"comment": "string",
"options": {
"is_no_contact": false,
"scheduled_time": "2023-01-23T14:21:00Z"
},
"eta": "2023-01-23T14:21:00Z"
}
ParameterTypeRequiredDescription
locationLocationV1Required
commentstringAny additional information related to dropoff in a free text form.
optionsDropoffOptionsV1Additional information related to the dropoff
etastring(date-time)Drop off ETA. Timestamp is in ISO8601 format e.g. 2020-01-30T10:00:13.123Z. This will be null in scheduled dropoff case

Estimate

{
"pickup_minutes": 0,
"delivery_minutes": 0,
"total_minutes": {
"min": 0,
"mean": 0,
"max": 0
}
}
ParameterTypeRequiredDescription
pickup_minutesintegerRequiredPre-estimated time from the moment of ordering to pickup completion.
delivery_minutesintegerRequiredPre-estimated time from pickup event to dropoff completion.
total_minutesMinMeanMaxEstimateRequiredMin, Mean and Max pre-estimates for the full delivery process.

Fee

{
"amount": 0,
"currency": "string"
}
ParameterTypeRequiredDescription
amountintegerRequiredMonetary amount presented in whole numbers in the lowest denomination, commonly cents.
currencystringRequiredISO 4217 three-letter currency code

HandshakeDelivery

{
"is_required": false,
"should_send_sms_to_dropoff_contact": true
}
ParameterTypeDefaultsDescription
is_requiredbooleanDefault: falseEnable PIN verification feature on the delivery. Not supported in all regions, ask your Wolt Drive contact before enabling.
should_send_sms_to_dropoff_contactbooleanDefault: trueWhen enabled, Wolt will send a pre-defined SMS to recipient including the delivery PIN code. Disable only if PIN is communicated some other way.

IdentityVerificationV1

{
"name": "string"
}

IdentityVerificationV1

ParameterTypeRequiredDescription
namestringRequired

LocationV1

{
"coordinates": {
"lat": 0,
"lon": 0
},
"formatted_address": "string"
}
ParameterTypeRequiredDescription
coordinatesCoordinatesRequired
formatted_addressstring

Name

{
"lang": "string",
"value": "string"
}
ParameterTypeRequiredDescription
langstringRequiredLanguage code for localized name.
namestringRequiredLocalized pickup name.

MinMeanMaxEstimate

{
"min": 0,
"mean": 0,
"max": 0
}
ParameterTypeRequiredDescription
minintegerRequiredPre-estimated minimum time for the delivery process.
meanintegerRequiredPre-estimated mean time for the delivery process.
maxintegerRequiredPre-estimated max time for the delivery process.

OptionalLocation

{
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
}
ParameterTypeRequiredDescription
formatted_addressstring
coordinatesCoordinates

OrderLocation

{
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
}
ParameterTypeRequiredDescription
formatted_addressstringRequired
coordinatesCoordinates

ParcelDimensionsV1

{
"weight_gram": 0,
"width_cm": 0,
"height_cm": 0,
"depth_cm": 0
}
ParameterTypeRequiredDescription
weight_graminteger
width_cminteger
height_cminteger
depth_cminteger

ParcelV1

{
"dimensions": {
"weight_gram": 0,
"width_cm": 0,
"height_cm": 0,
"depth_cm": 0
},
"price": {
"amount": 0,
"currency": "string"
},
"description": "string",
"identifier": "string",
"dropoff_restrictions": {
"id_check_required": false
},
"tags": ["alcohol"],
"count": 1
}
ParameterTypeRequiredDescription
dimensionsParcelDimensionsV1Please include, if available, to enable more order automation.
pricePriceMonetary value of the parcel item. Please include, if available, to enable more order automation.
descriptionstringDescription of the item, eg. "Burger"
identifierstringAny kind of reference to item, eg. GUID
dropoff_restrictionsDropoffRestrictionsV1
tags[TagV1]List of the "features" of the parcel. Tag is visible in courier application.
countintegerNumber of items, cannot be smaller than 1. If not provided, count will be 1 by default.

PickupDetails

{
"venue_id": "string",
"name": [
{
"lang": "string",
"value": "string"
}
],
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
}
}
ParameterTypeRequiredDescription
venue_idstringWolt venue ID, if available
name[Name]List of localized pickup location (venue) names
locationOptionalLocationRequiredPickup location details

PickupOptionsV1

{
"min_preparation_time_minutes": 30
}
ParameterTypeRequiredDescription
min_preparation_time_minutesintegerDefault: 30Minimum time in minutes it takes to prepare the order for pickup. When shipment promise ID is included in request, this field is ignored.

PickupResponseDetails

{
"eta": "string",
"location": {
"formatted_address": "string",
"coordinates": {
"lat": 0,
"lon": 0
}
},
"comment": "string",
"contact_details": {
"name": "string",
"phone_number": "string",
"send_tracking_link_sms": true
}
}
ParameterTypeRequiredDescription
etastringRequired
locationOrderLocationRequired
commentstring
contact_detailsContactDetailsRequired

PickupV1

{
"location": {
"coordinates": {
"lat": 0,
"lon": 0
},
"formatted_address": "string"
},
"comment": "string",
"options": {
"min_preparation_time_minutes": 30
},
"eta": "2023-01-23T14:21:00Z",
"display_name": "string"
}
ParameterTypeRequiredDescription
locationLocationV1Required
commentstringAny additional information related to pickup in a free text form.
optionsPickupOptionsV1Additional information related to the pickup
etastring(date-time)RequiredPre-estimated time for pickup
display_namestringAdditional display name for pickup location, eg. venue name.

Price

{
"amount": 0,
"currency": "string"
}
ParameterTypeRequiredDescription
amountintegerRequiredMonetary amount presented in whole numbers in the lowest denomination, commonly cents.
currencystringRequiredISO 4217 three-letter currency code

RecipientV1

{
"name": "string",
"phone_number": "string",
"email": "string"
}
ParameterTypeRequiredDescription
namestringRequiredName of delivery recipient. Must be non-empty string.
phone_numberstringRequiredPhone number with a country code, e.g. +358501234567
emailstringRecipient email address

ShipmentPromiseDetailsV1

Promise contains calculated price and estimated delivery time based on destination location. It can be binding in case when the location is detailed enough for price and time estimate to be accurate. Also it can be non-binding which means that location is not precise enough and price and time are rough estimates. In case of non-binding promise it is not possible to create a delivery order using the promise.

{
"id": "string",
"created_at": "2023-01-23T14:21:00Z",
"valid_until": "2023-01-23T14:21:00Z",
"pickup": {
"venue_id": "string",
"location": {
"coordinates": {
"lat": 0,
"lon": 0
},
"formatted_address": "string"
},
"options": {
"min_preparation_time_minutes": 0
},
"eta_minutes": 0
},
"dropoff": {
"location": {
"coordinates": {
"lat": 0,
"lon": 0
},
"formatted_address": "string"
},
"options": {
"scheduled_time": "2023-01-23T14:21:00Z"
},
"eta_minutes": 0
},
"price": {
"amount": 0,
"currency": "string"
},
"time_estimate_minutes": 0,
"is_binding": true,
"parcels": [
{
"dimensions": {
"weight_gram": 0,
"width_cm": 0,
"height_cm": 0,
"depth_cm": 0
},
"price": {
"amount": 0,
"currency": "string"
},
"count": 1
}
]
}
ParameterTypeRequiredDescription
idstringRequiredPromise id is used for creating a delivery order.
created_atstring(date-time)RequiredTimestamp is in ISO8601 format e.g. 2020-01-30T10:00:13.123Z
valid_untilstring(date-time)RequiredDetermines when the shipment promise will expire.Timestamp is in ISO8601 format e.g. 2020-01-30T10:00:13.123Z
pickupShipmentPromisePickupV1Required
dropoffShipmentPromiseDropoffV1Required
pricePriceRequiredEstimated delivery fee based on provided details.
time_estimate_minutesintegerRequiredWARNING: this field is deprecated, use dropoff.eta_minutes or dropoff.options.scheduled_time in order to determine the delivery estimate.
is_bindingbooleanRequiredDetermines if further delivery order can be created from this promise.
parcels[ParcelV1]Parcel details, if provided in the request.

ShipmentPromiseDropoffOptionsV1

{
"scheduled_time": "2023-01-23T14:21:00Z"
}
ParameterTypeRequiredDescription
scheduled_timestring(date-time)Target time for the drop off. Timestamp is in ISO8601 format e.g. 2020-01-30T10:00:13.123Z

ShipmentPromiseDropoffV1

{
"location": {
"coordinates": {
"lat": 0,
"lon": 0
},
"formatted_address": "string"
},
"options": {
"scheduled_time": "2023-01-23T14:21:00Z"
},
"eta_minutes": 0
}
ParameterTypeRequiredDescription
locationLocationV1Required
optionsShipmentPromiseDropoffOptionsV1
eta_minutesintegerDrop off ETA in minutes. This will be null in scheduled dropoff case

ShipmentPromisePickupOptionsV1

{
"min_preparation_time_minutes": 0
}
ParameterTypeRequiredDescription
min_preparation_time_minutesintegerRequired

ShipmentPromisePickupV1

{
"venue_id": "string",
"location": {
"coordinates": {
"lat": 0,
"lon": 0
},
"formatted_address": "string"
},
"options": {
"min_preparation_time_minutes": 0
},
"eta_minutes": 0
}
ParameterTypeRequiredDescription
venue_idstring
locationLocationV1Required
optionsShipmentPromisePickupOptionsV1Required
eta_minutesintegerRequiredPickup ETA in minutes

SmsNotifications

{
"received": "string",
"picked_up": "string"
}
ParameterTypeRequiredDescription
receivedstringContent to be sent as sms when order is received. The content should contain a placeholder for the tracking link: TRACKING_LINK. Example: "Hello John Doe! Your order from Amazing Store will be delivered soon. You can follow it here: TRACKING_LINK".
picked_upstringContent to be sent as sms when order is picked up. The content should contain a placeholder for the tracking link: TRACKING_LINK. Example: "Hello John Doe! Your order from Amazing Store has been picked up and will be delivered soon. You can follow it here: TRACKING_LINK".

TagV1

"alcohol"
ParameterTypeRequiredDescription
TagV1stringList of the "features" of the parcel. Tag is visible in courier application.

Enumerated Values

PropertyValue
TagV1null
TagV1alcohol
TagV1medicine
TagV1tobacco

Tip

{
"type": "pre_delivery_courier_tip",
"price": {
"amount": 0,
"currency": "string"
}
}
ParameterTypeRequiredDescription
typeTipTypeRequiredAn enumeration.
pricePriceRequired

TipType

"pre_delivery_courier_tip"
ParameterTypeRequiredDescription
TipTypestringAn enumeration.

Enumerated Values

PropertyValue
TipTypepre_delivery_courier_tip

Tracking

{
"id": "string",
"url": "string"
}
ParameterTypeRequiredDescription
idstringRequired
urlstringRequired

TrackingInfoV1

{
"id": "string",
"url": "string"
}
ParameterTypeRequiredDescription
idstringRequired
urlstringRequired

WebHookDetailsV1

{
"callback_config": {
"exponential_retry_backoff": {
"exponent_base": 0,
"max_retry_count": 0
}
},
"callback_url": "string",
"created_at": "string",
"disabled": true,
"id": "string",
"modified_at": "string",
"subscribed_events": ["string"]
}
ParameterTypeRequiredDescription
callback_configWebhookCallbackConfigV1Required
callback_urlstringRequiredEnd-point url where webhook events are sent.
created_atstringRequiredTimestamp is in ISO8601 format e.g. 2020-01-30T10:00:13.123Z
disabledbooleanDefault: falseDetermines whether the webhook is in use and events should be sent.
modified_atstringRequiredTimestamp is in ISO8601 format e.g. 2020-01-30T10:00:13.123Z
subscribed_events[string]RequiredThe list of events a webhook sends updates about.

WebhookCreatePayloadV1

{
"callback_config": {
"exponential_retry_backoff": {
"exponent_base": 2,
"max_retry_count": 10
}
},
"callback_url": "string",
"client_secret": "string",
"disabled": false
}
ParameterTypeRequiredDescription
callback_configWebhookCallbackConfigV1Required
callback_urlstringRequiredEnd-point url where webhook events are sent.
client_secretstringRequiredA string which is used to sign the webhook event payload.
disabledbooleanDefault: falseDetermines whether the webhook is in use and events should be sent.

WebhookUpdatePayloadV1

{
"callback_config": {
"exponential_retry_backoff": {
"exponent_base": 2,
"max_retry_count": 10
}
},
"callback_url": "string",
"client_secret": "string",
"disabled": false,
"subscribed_events": ["order.received"]
}
ParameterTypeRequiredDescription
callback_configWebhookCallbackConfigV1
callback_urlstringEnd-point url where webhook events are sent.
client_secretstringA string which is used to sign the webhook event payload.
disabledbooleanA string which is used to sign the webhook event payload.
subscribed_eventsstringAn array of enumerated event types

WebhookCallbackConfigV1

{
"exponential_retry_backoff": {
"exponent_base": 0,
"max_retry_count": 0
}
}
ParameterTypeRequiredDescription
exponential_retry_backoffexponential_retry_backoffRequiredThis configuration is going to be applied when sending a webhook event fails and there is a need to resend it. The strategy applied is exponential backoff when we delay every consequent retry exponentially according to formula exponent_base^n where n is an integer number increasing from 0 to max_retry_count.

ExponentialRetryBackoffStrategyV1

This configuration is going to be applied when sending a webhook event fails and there is a need to resend it. The strategy applied is exponential backoff when we delay every consequent retry exponentially according to formula exponent_base^n where n is an integer number increasing from 0 to max_retry_count.

{
"exponent_base": 0,
"max_retry_count": 0
}
ParameterTypeRequiredDescription
exponent_baseintegerRequiredBase of the exponent in retry_delay = base^n calculating the delay in seconds until the next retry attempt to deliver webhook event.
max_retry_countintegerRequiredThe number of times webhook event will be resent.

WebhookParcelArray

[
{
"description": "string",
"identifier": "string"
}
]
ParameterTypeRequiredDescription
descriptionstringItem's description as received in delivery creation.
identifierstringItem's identifier as received in delivery creation.

WebhookDropoffEta

{
"dropoff": {
"eta": {
"min": "2023-01-01T00:00:00.000Z",
"max": "2023-01-01T00:00:00.000Z"
},
"completed_at": "2023-01-01T00:00:00.000Z"
}
}
ParameterTypeRequiredDescription
dropoff.eta
dropoff.eta.minstringEarliest dropoff time estimate.
dropoff.eta.maxstringLatest dropoff time estimate.
completed_atstringTime of completing the delivery. Included in order.delivered and otherwise null