booking

Create a new booking

post/booking/createBooking

Request

  • Base URL: http://api.pickerexpress.com
  • URL: http://api.pickerexpress.com/booking/createBooking
  • Auth: none declared. Required headers: authorization, content-language

Headers

authorizationstring required

Bearer Token

content-languagestring required

en/ar

Request body application/x-www-form-urlencoded

deliveryCitystring required
deliveryStatestring
deliveryZipCodestring
deliveryAddressstring required
deliveryLongitudenumber required
deliveryLatitudenumber required
deliveryReferencesstring
saveDeliveryAddressboolean
pickupLongitudenumber required
pickupLatitudenumber required
pickupCitystring required
pickupStatestring
pickupZipCodestring
pickupAddressstring required
pickupReferencesstring
savePickupAddressboolean
pickupDateTimeFromstring
bookingNotesstring
isLaterBookingboolean
carTypenumber required

Type of vehicle for this booking. Bike: 1, Lite: 0

carName'BIKE' | 'LITE' required

Type of vehicle for this booking

paymentMethod'CARD' | 'CASH' required

Payment method for the booking. CARD or CASH

bookingType0 | 1 required
promoAliasIDstring

Promo to be used for this booking

regionIDstring

Region this booking belongs to

billedDistancenumber required

Total distance from pickup to delivery location

oneSignalIdstring

Customer's id from oneSignal

realPhonestring
realPositionLatitudenumber
realPositionLongitudenumber
minimumDriverCashnumber

Minimum amount the driver has to have to accept this booking

subtype'SHOP' | 'PICKUP' | 'DELIVER' | 'BUSINESS_SHOP' | 'BUSINESS_DELIVER' | 'PICKUP_AND_DELIVER'
contactobject

Information for the booking's contact

tipBusinessnumber

Tip for the driver

Response

Successful

Changes

No recorded changes to this operation across all 2 revisions of this API.