An OpenAPI specification for the Pinkbot Delivery API, focusing on managing and tracking deliveries.
An OpenAPI specification for the Pinkbot Delivery API, focusing on managing and tracking deliveries.
Comma-separated full address, in the order appropriate for your locale.
The precise location, as latitude and longitude, of the drop-off. If your request includes both location and address, location will be used for Dasher navigation only; address will be used for fee and serviceability checks.
The phone number for the Dasher to call if there are any issues with the delivery. Should include the country code. Must adhere to E.164 international phone number standard.
Instructions for the Dasher to follow when picking up the order.
Given/first name of the contact.
Time details in ISO-8601 format. If not provided assumes that pickup time is now + merchant prepare time.
The subtotal for all items in the order, excluding tax/tip, in the lowest currency denomination (e.g. cents). i.e. $19.99 = 1999.
curl -i -X POST \
https://api.pinkbot.com/_mock/openapi/drive/v2/deliveries/ \
-H 'Content-Type: application/json' \
-d '{
"external_delivery_id": "string",
"pickup_address": "string",
"dropoff_address": "string",
"dropoff_location": {
"lat": 0.1,
"lng": 0.1
},
"dropoff_phone_number": "string",
"dropoff_instructions": "string",
"dropoff_contact_given_name": "string",
"dropoff_contact_family_name": "string",
"pickup_time": "string",
"dropoff_time": "string",
"order_value": 0,
"tip": 0
}'OK
Comma-separated full address, in the order appropriate for your locale.
The precise location, as latitude and longitude, of the drop-off. If your request includes both location and address, location will be used for Dasher navigation only; address will be used for fee and serviceability checks.
The phone number for the Dasher to call if there are any issues with the delivery. Should include the country code. Must adhere to E.164 international phone number standard.
Instructions for the Dasher to follow when picking up the order.
Given/first name of the contact.
Time details in ISO-8601 format. If not provided assumes that pickup time is now + merchant prepare time.
The subtotal for all items in the order, excluding tax/tip, in the lowest currency denomination (e.g. cents). i.e. $19.99 = 1999.
The tip amount. Use cents or the equivalent lowest currency denomination (e.g. $5.99 = 599).
Current status of the delivery.
Tracking page for the delivery that you can use or share with the sender and/or receiver of the delivery. Note, the URL format is not fixed and may change over time.
Link to the picture taken by the courier to indicate where the order was dropped off.
Internal reference for this delivery; reference it when talking or writing to Pinkbot support.
{ "external_delivery_id": "string", "pickup_address": "string", "dropoff_address": "string", "dropoff_location": { "lat": 0.1, "lng": 0.1 }, "dropoff_phone_number": "string", "dropoff_instructions": "string", "dropoff_contact_given_name": "string", "dropoff_contact_family_name": "string", "pickup_time": "string", "dropoff_time": "string", "order_value": 0, "tip": 0, "currency": "USD", "fee": 0, "delivery_status": "quote", "tracking_url": "http://example.com", "dasher_vehicle_make": "string", "dasher_vehicle_model": "string", "dasher_vehicle_year": "string", "dasher_name": "string", "dasher_id": 0, "dropoff_verification_image_url": "http://example.com", "pickup_time_actual": "string", "dropoff_time_actual": "string", "updated_at": "string", "support_reference": "string", "event_name": "DASHER_CONFIRMED" }
curl -i -X GET \
'https://api.pinkbot.com/_mock/openapi/drive/v2/deliveries/{external_delivery_id}'OK
Comma-separated full address, in the order appropriate for your locale.
The precise location, as latitude and longitude, of the drop-off. If your request includes both location and address, location will be used for Dasher navigation only; address will be used for fee and serviceability checks.
The phone number for the Dasher to call if there are any issues with the delivery. Should include the country code. Must adhere to E.164 international phone number standard.
Instructions for the Dasher to follow when picking up the order.
Given/first name of the contact.
Time details in ISO-8601 format. If not provided assumes that pickup time is now + merchant prepare time.
The subtotal for all items in the order, excluding tax/tip, in the lowest currency denomination (e.g. cents). i.e. $19.99 = 1999.
The tip amount. Use cents or the equivalent lowest currency denomination (e.g. $5.99 = 599).
Current status of the delivery.
Tracking page for the delivery that you can use or share with the sender and/or receiver of the delivery. Note, the URL format is not fixed and may change over time.
Link to the picture taken by the courier to indicate where the order was dropped off.
Internal reference for this delivery; reference it when talking or writing to Pinkbot support.
{ "external_delivery_id": "string", "pickup_address": "string", "dropoff_address": "string", "dropoff_location": { "lat": 0.1, "lng": 0.1 }, "dropoff_phone_number": "string", "dropoff_instructions": "string", "dropoff_contact_given_name": "string", "dropoff_contact_family_name": "string", "pickup_time": "string", "dropoff_time": "string", "order_value": 0, "tip": 0, "currency": "USD", "fee": 0, "delivery_status": "quote", "tracking_url": "http://example.com", "dasher_vehicle_make": "string", "dasher_vehicle_model": "string", "dasher_vehicle_year": "string", "dasher_name": "string", "dasher_id": 0, "dropoff_verification_image_url": "http://example.com", "pickup_time_actual": "string", "dropoff_time_actual": "string", "updated_at": "string", "support_reference": "string", "event_name": "DASHER_CONFIRMED" }
Comma-separated full address, in the order appropriate for your locale.
The precise location, as latitude and longitude, of the drop-off. If your request includes both location and address, location will be used for Dasher navigation only; address will be used for fee and serviceability checks.
The phone number for the Dasher to call if there are any issues with the delivery. Should include the country code. Must adhere to E.164 international phone number standard.
Instructions for the Dasher to follow when picking up the order.
Given/first name of the contact.
Time details in ISO-8601 format. If not provided assumes that pickup time is now + merchant prepare time.
The subtotal for all items in the order, excluding tax/tip, in the lowest currency denomination (e.g. cents). i.e. $19.99 = 1999.
curl -i -X PATCH \
'https://api.pinkbot.com/_mock/openapi/drive/v2/deliveries/{external_delivery_id}' \
-H 'Content-Type: application/json' \
-d '{
"external_delivery_id": "string",
"pickup_address": "string",
"dropoff_address": "string",
"dropoff_location": {
"lat": 0.1,
"lng": 0.1
},
"dropoff_phone_number": "string",
"dropoff_instructions": "string",
"dropoff_contact_given_name": "string",
"dropoff_contact_family_name": "string",
"pickup_time": "string",
"dropoff_time": "string",
"order_value": 0,
"tip": 0
}'OK
Comma-separated full address, in the order appropriate for your locale.
The precise location, as latitude and longitude, of the drop-off. If your request includes both location and address, location will be used for Dasher navigation only; address will be used for fee and serviceability checks.
The phone number for the Dasher to call if there are any issues with the delivery. Should include the country code. Must adhere to E.164 international phone number standard.
Instructions for the Dasher to follow when picking up the order.
Given/first name of the contact.
Time details in ISO-8601 format. If not provided assumes that pickup time is now + merchant prepare time.
The subtotal for all items in the order, excluding tax/tip, in the lowest currency denomination (e.g. cents). i.e. $19.99 = 1999.
The tip amount. Use cents or the equivalent lowest currency denomination (e.g. $5.99 = 599).
Current status of the delivery.
Tracking page for the delivery that you can use or share with the sender and/or receiver of the delivery. Note, the URL format is not fixed and may change over time.
Link to the picture taken by the courier to indicate where the order was dropped off.
Internal reference for this delivery; reference it when talking or writing to Pinkbot support.
{ "external_delivery_id": "string", "pickup_address": "string", "dropoff_address": "string", "dropoff_location": { "lat": 0.1, "lng": 0.1 }, "dropoff_phone_number": "string", "dropoff_instructions": "string", "dropoff_contact_given_name": "string", "dropoff_contact_family_name": "string", "pickup_time": "string", "dropoff_time": "string", "order_value": 0, "tip": 0, "currency": "USD", "fee": 0, "delivery_status": "quote", "tracking_url": "http://example.com", "dasher_vehicle_make": "string", "dasher_vehicle_model": "string", "dasher_vehicle_year": "string", "dasher_name": "string", "dasher_id": 0, "dropoff_verification_image_url": "http://example.com", "pickup_time_actual": "string", "dropoff_time_actual": "string", "updated_at": "string", "support_reference": "string", "event_name": "DASHER_CONFIRMED" }
curl -i -X PUT \
'https://api.pinkbot.com/_mock/openapi/drive/v2/deliveries/{external_delivery_id}/cancel'OK
Comma-separated full address, in the order appropriate for your locale.
The precise location, as latitude and longitude, of the drop-off. If your request includes both location and address, location will be used for Dasher navigation only; address will be used for fee and serviceability checks.
The phone number for the Dasher to call if there are any issues with the delivery. Should include the country code. Must adhere to E.164 international phone number standard.
Instructions for the Dasher to follow when picking up the order.
Given/first name of the contact.
Time details in ISO-8601 format. If not provided assumes that pickup time is now + merchant prepare time.
The subtotal for all items in the order, excluding tax/tip, in the lowest currency denomination (e.g. cents). i.e. $19.99 = 1999.
The tip amount. Use cents or the equivalent lowest currency denomination (e.g. $5.99 = 599).
Current status of the delivery.
Tracking page for the delivery that you can use or share with the sender and/or receiver of the delivery. Note, the URL format is not fixed and may change over time.
Link to the picture taken by the courier to indicate where the order was dropped off.
Internal reference for this delivery; reference it when talking or writing to Pinkbot support.
{ "external_delivery_id": "string", "pickup_address": "string", "dropoff_address": "string", "dropoff_location": { "lat": 0.1, "lng": 0.1 }, "dropoff_phone_number": "string", "dropoff_instructions": "string", "dropoff_contact_given_name": "string", "dropoff_contact_family_name": "string", "pickup_time": "string", "dropoff_time": "string", "order_value": 0, "tip": 0, "currency": "USD", "fee": 0, "delivery_status": "quote", "tracking_url": "http://example.com", "dasher_vehicle_make": "string", "dasher_vehicle_model": "string", "dasher_vehicle_year": "string", "dasher_name": "string", "dasher_id": 0, "dropoff_verification_image_url": "http://example.com", "pickup_time_actual": "string", "dropoff_time_actual": "string", "updated_at": "string", "support_reference": "string", "event_name": "DASHER_CONFIRMED" }