Business API

POSTInformation

Description

Zebra Delivery’s convenient API synching feature lets you connect orders from your website directly to the Zebra Delivery portal. This saves you a lot of time and hassle with phone calls, confirming details and back and forth communications. You can streamline your business processes, take more orders, and book the delivery solutions that work best for you. It’s another way that partnering with Zebra Delivery helps grow your business.
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/registration

Description

Use to register user to system.
authToken: Token will be auto generate at the time of registration.

Request Body parameter and value

firstName:aishwasry
lastName:singh
email:[email protected]
password:123456
businessName:mindiii
businessType:Busness
mobileNumber:8982077519
userType:Customer
vehicleType:1
homeAddress:mindiii
latitude:23.0123
longitude:74.7966
deliverAlcohol:Yes
deviceType:Ios
deviceToken:sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74
userProfile:
vehicleType:1
CityId:3

Sample Response - Success:

"status": "success",
"message": "User registered successfully.",
"userDetail": {
"userId": "2300",
"firstName": "aishwasry",
"lastName": "singh",
"userProfile": "https://www.zebradelivery.com.au/uploads/userImage/ZEBRA_6ACBE2493585617AECBCA10F65B58E6F.png",
"email": "[email protected]",
"password": "$2y$10$cNC8rrSy59c.mMTrgaWBT.p34c0PO.SSWVYK0PZd9JSJnEgWgulei",
"businessName": "mindiii",
"businessType": "Busness",
"mobileNumber": "8982077515",
"userType": "Customer",
"vehicleType": "1",
"homeAddress": "mindiii",
"latitude": "23.0123",
"longitude": "74.7966",
"deliverAlcohol": "Yes",
"deviceType": "Ios",
"deviceToken": "sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74",
"isVerify": "Yes",
"onlineStatus": "Online",
"authToken": "ZEBRA_955FA68BA4BFADA82C0820E49E2C02C3",
"availability": "Yes",
"status": "Active",
"crd": "2019-07-04 18:07:32",
"upd": "2019-07-04 18:07:32",
"userProfileThumb": "https://www.zebradelivery.com.au/uploads/userImage/thumb/ZEBRA_6ACBE2493585617AECBCA10F65B58E6F.png"
}
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/login

Description

Use to authenticate and provide system access to the user.

Request Body form-data

email:[email protected]
password:123456
deviceType:Ios
deviceToken:sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74
userType:Driver
source:Direct, Google, Facebook
source_id:Google, Facebook

Sample Response - Success:

"status": "success",
"message": "User logged in successfully.",
"userDetail": {
"userId": "4",
"firstName": "raana",
"lastName": "singh",
"userProfile": "https://www.zebradelivery.com.au/uploads/defaultimage/user.png",
"email": "[email protected]",
"password": "$2y$10$cpYr.bXq7Dx.AxG3yZQ8w.j7HWCbaBR.taz3QW5WGhnRWNoGQ1b5G",
"businessName": "mindiii",
"businessType": "Busness",
"mobileNumber": "8871379954",
"userType": "Driver",
"vehicleType": "1",
"homeAddress": "mindiii",
"latitude": "23.0123",
"longitude": "74.7966",
"deliverAlcohol": "Yes",
"deviceType": "Ios",
"deviceToken": "qazwsxcderfvbgtyhnmjuiklo",
"isVerify": "Yes",
"onlineStatus": "Online",
"authToken": "ZEBRA_1139D0CCF85BC24978BFE91F4B336158",
"availability": "Yes",
"status": "Active",
"crd": "2019-06-18 17:37:11",
"upd": "2019-07-04 17:48:33",
"userProfileThumb": "https://www.zebradelivery.com.au/uploads/defaultimage/thumb/user.png"
}

Sample Response 2 - Error:

"status": false,
"message": "Invalid email/password",
"userDetail": []
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/logout

Description

Use to delete to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Sample Response - Success:

"status": "success",
"message": "User logged in successfully."
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/createOrder

Description

Use to create order user to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

itemQuantity:1
itemDescription:apple
vehicleType:1
deliveryOption:1
pickupAddress:indore
pickupLatitude:22.7196
pickupLongitude:75.8577
pickupLandmark:pipliyahna
pickupInstructions:no Instructions
pickupDate:20-06-2019
pickupTime:06:00
senderName:aishwary singh
senderNumber:8982077519
deliveryAddress:indore
deliveryLatitude:22.7196
deliveryLongitude:75.8577
deliveryLandmark:gita bhavan
deliveryInstructions:no Instructions
receiverName:jay
receiverNumber:8871370661
sendMsg:Yes
checkRecipientId:Yes
alcoholDelivery:Yes
leaveUnattended:Yes
fragileItem:Yes
otherInstructions:It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many websites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
referenceId:QWASFJJREGUD
distance:1
price:12
originPlaceId:ChIJCSjKxd5RkWsR1SGE7j1eDLw
destinationPlaceId:EidLaW5nIFN0cmVldCwgQm93ZW4gSGlsbHMgUUxELCBBdXN0cmFsaWEiLiosChQKEgn9Azq77VmRaxEK304jqa146RIUChIJQ-uZO8BZkWsRIIHe81qjAgU
paymentTokenId:7bc4b1f8-ceb1-4249-a154-4e6bdf37eb75

Sample Response - Success:

"status": "success",
"message": "Order booked successfully.",
"orderId": 130
GEThttps://www.zebradelivery.com.au/admin_panel/api_v1/getOrder

Description

Use to get order to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Sample Response - Success:

"status": "success",
"message": "Request List",
"orderList": [
{
"orderId": "155",
"userId": "2569",
"orderToken": "ORDER_171926671573065334",
"itemQuantity": "3",
"itemDescription": "NA 65x65x65cm & 15kg per item",
"vehicleType": "Car",
"vehiclelogo": "https://www.zebradelivery.com.au/admin_panel/uploads/vehicleImage/ZEBRA_28D0B82510777794F87C25CBD46EAEE4.png",
"vehicleDescription": "65x65x65cm & 15kg per item",
"deliveryOption": "1 Hour Delivery",
"pickupAddress": "78 Outlook Pl, Durack QLD 4077, Australia",
"pickupLatitude": "-27.58563592610024",
"pickupLongitude": "152.98582948744297",
"pickupDate": "7 November 2019, 9.43 am",
"pickupTime": "04:34:00",
"senderName": "NA",
"senderNumber": "NA",
"deliveryAddress": "496 Blunder Rd, Durack QLD 4077, Australia",
"deliveryLatitude": "-27.58523475688769",
"deliveryLongitude": "152.9858485981822",
"receiverName": "NA",
"receiverNumber": "NA",
"sendMsg": "",
"checkRecipientId": "No",
"alcoholDelivery": "No",
"leaveUnattended": "No",
"fragileItem": "No",
"coupan": "",
"price": "10.9",
"distance": "19 m",
"time": "1 min",
"orderStatus": "",
"payment_status": "APPROVED",
"paymentType": "1",
"customerName": " ",
"mobileNumber": "",
"userProfileThumb": "https://www.zebradelivery.com.au//uploads/userImage/user.png"
},
{
"orderId": "159",
"userId": "2569",
"orderToken": "ORDER_2380589681573111171",
"itemQuantity": "3",
"itemDescription": "NA 65x65x65cm & 15kg per item",
"vehicleType": "Car",
"vehiclelogo": "https://www.zebradelivery.com.au/admin_panel/uploads/vehicleImage/ZEBRA_28D0B82510777794F87C25CBD46EAEE4.png",
"vehicleDescription": "65x65x65cm & 15kg per item",
"deliveryOption": "3 Hour Delivery",
"pickupAddress": "76 Outlook Pl, Durack QLD 4077, Australia",
"pickupLatitude": "-27.58575984251591",
"pickupLongitude": "152.98582546412945",
"pickupDate": "7 November 2019, 9.43 am",
"pickupTime": "19:18:00",
"senderName": "NA",
"senderNumber": "NA",
"deliveryAddress": "8 Littabella St, Durack QLD 4077, Australia",
"deliveryLatitude": "-27.587006130766376",
"deliveryLongitude": "152.98317477107048",
"receiverName": "NA",
"receiverNumber": "NA",
"sendMsg": "",
"checkRecipientId": "No",
"alcoholDelivery": "No",
"leaveUnattended": "No",
"fragileItem": "No",
"coupan": "",
"price": "10.9",
"distance": "1.3 km",
"time": "3 mins",
"orderStatus": "New",
"payment_status": "APPROVED",
"paymentType": "1",
"customerName": " ",
"mobileNumber": "",
"userProfileThumb": "https://www.zebradelivery.com.au/uploads/userImage/user.png"
},
{
"orderId": "162",
"userId": "2557",
"orderToken": "ORDER_8243925571573120209",
"itemQuantity": "2",
"itemDescription": "NA Max. 25x25x24cm & 10kg Per Item",
"vehicleType": "Motorcycle",
"vehiclelogo": "https://www.zebradelivery.com.au/admin_panel/uploads/vehicleImage/ZEBRA_C4EE80CBE96B12B9C1FE218FAD4456DA.png",
"vehicleDescription": "Max. 25x25x24cm & 10kg Per Item",
"deliveryOption": "1 Hour Delivery",
"pickupAddress": "37 MacGregor St, Wilston QLD 4051, Australia",
"pickupLatitude": "-27.43524376772956",
"pickupLongitude": "153.01893431693316",
"pickupDate": "7 November 2019, 9.43 am",
"pickupTime": "15:19:00",
"senderName": "NA",
"senderNumber": "NA",
"deliveryAddress": "20 Kenyon St, Eagle Farm QLD 4009, Australia",
"deliveryLatitude": "-27.43287569349127",
"deliveryLongitude": "153.08146599680185",
"receiverName": "NA",
"receiverNumber": "NA",
"sendMsg": "",
"checkRecipientId": "No",
"alcoholDelivery": "No",
"leaveUnattended": "No",
"fragileItem": "No",
"coupan": "",
"price": "15.67",
"distance": "9.4 km",
"time": "20 mins",
"orderStatus": "New",
"payment_status": "APPROVED",
"paymentType": "1",
"customerName": "Patel Patel",
"mobileNumber": "6543219875",
"userProfileThumb": "https://www.zebradelivery.com.au/uploads/userImage/user.png"
},
{
"orderId": "167",
"userId": "2557",
"orderToken": "ORDER_3713878121573122724",
"itemQuantity": "3",
"itemDescription": "NA Max. 25x25x24cm & 10kg Per Item",
"vehicleType": "Motorcycle",
"vehiclelogo": "https://www.zebradelivery.com.au/admin_panel/uploads/vehicleImage/ZEBRA_C4EE80CBE96B12B9C1FE218FAD4456DA.png",
"vehicleDescription": "Max. 25x25x24cm & 10kg Per Item",
"deliveryOption": "1 Hour Delivery",
"pickupAddress": "35 Goodall St, Kedron QLD 4031, Australia",
"pickupLatitude": "-27.403788397364345",
"pickupLongitude": "153.02833780646324",
"pickupDate": "7 November 2019, 9.43 am",
"pickupTime": "16:01:00",
"senderName": "NA",
"senderNumber": "NA",
"deliveryAddress": "115 Breakfast Creek Rd, Newstead QLD 4006, Australia",
"deliveryLatitude": "-27.445352891398517",
"deliveryLongitude": "153.04358046501875",
"receiverName": "NA",
"receiverNumber": "NA",
"sendMsg": "",
"checkRecipientId": "No",
"alcoholDelivery": "No",
"leaveUnattended": "No",
"fragileItem": "No",
"coupan": "",
"price": "13.69",
"distance": "6.9 km",
"time": "12 mins",
"orderStatus": "New",
"payment_status": "APPROVED",
"paymentType": "1",
"customerName": "Patel Patel",
"mobileNumber": "6543219875",
"userProfileThumb": "https://www.zebradelivery.com.au/uploads/userImage/user.png"
}
]
GEThttps://www.zebradelivery.com.au/admin_panel/api_v1/getOrderDashborad

Description

Use to get order dashborad to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Sample Response - Success:

"status": "success",
"message": "Request List",
"orderDelivered": 2,
"TotalEarned": 101.58
GEThttps://www.zebradelivery.com.au/admin_panel/api_v1/getOrderCustomer?status=Delivered?status=All

Description

Use to get order customer to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Sample Response - Success:

"status": "success",
"message": "Request List",
"orderList": [
{
"orderId": "112",
"orderToken": "ORDER_15042109001572877899",
"userId": "2532",
"driverId": "2478",
"itemQuantity": "2",
"itemDescription": "NA Max. 25x25x24cm & 10kg Per Item",
"serviceId": "",
"deliveryOption": "4",
"pickupAddress": "20 Lasseter St, Kedron QLD 4031, Australia",
"originPlaceId": "ChIJFe95cDdYkWsRa70wZHXavZA",
"pickupLatitude": "-27.41233547326368",
"pickupLongitude": "153.03484182804823",
"pickupLandmark": "pickup landmark",
"pickupInstructions": "No Instruction",
"pickupDate": "2019-11-04 00:00:00",
"pickupTime": "20:00:00",
"pick_item_category": "0",
"signature": "ZEBRA_0DC9B2264F88567E507F69A3E1DE648C.png",
"product_pic": "ZEBRA_ADE95A4FB7FADF5FCFE3D3BE2C3DB24B.png",
"senderNumber": "NA",
"deliveryAddress": "52 Gracemere St, Newmarket QLD 4051, Australia",
"destinationPlaceId": "ChIJ0fJgVntXkWsRJWVc6RkEJSM",
"deliveryLatitude": "-27.427299597509922",
"deliveryLongitude": "153.00867654383183",
"deliveryLandmark": "drop landmark",
"deliveryInstructions": "NA",
"receiverNumber": "NA",
"sendMsg": "",
"checkRecipientId": "No",
"alcoholDelivery": "No",
"leaveUnattended": "No",
"fragileItem": "No",
"otherInstructions": "NA",
"distance": "1",
"coupan_id": "0",
"price": "11.01",
"canceledAmount": "0",
"referenceId": "NA",
"orderStatus": "Delivered",
"receiver_countrycode": "",
"pick_countrycode": "",
"payment_status": "Yes",
"cancel_payment_status": "",
"paymentType": "1",
"paymentTokenId": "8df7ebab-3f06-465a-b57a-a859a04a21f0",
"payment_id": "",
"reference": "",
"crd": "2019-11-04 22:31:40",
"upd": "2019-11-05 15:05:34",
"userProfileThumb": "https://www.zebradelivery.com.au/uploads/userImage/ZEBRA_4877FFD9C7D2C1742425E97848BF8F4C.png",
"driverName": "Mukesh",
"mobileNumber": "9879873210",
"vehicleNumber": "",
"vehicleType": "Motorcycle"
}
]
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/sendReview

Description

Use to send review to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

userId:4
orderId:11
review:qwerty
rating:1

Sample Response - Success:

"status": "success",
"message": "Review and Rating Send Successfully.",
"ratingId": 3
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/coupanCodeApply

Description

Use to coupan code apply to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

coupanCode:#123546

Sample Response - Success:

"status": "success",
"message": "Coupan Code Apply Successfully.",
"data": {
"userId": "2353",
"coupan_id": "1",
"coupanCode": "#123546",
"title": "Diwali",
"description": "test",
"coupanValue": "20",
"startDate": "2019-10-09",
"endDate": "2019-10-30"
}
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/checkPayment

Description

Use to check payment to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

pickupLatitude:23.0123
pickupLongitude:74.7966
deliveryLatitude:23.0123
deliveryLongitude:74.8015
deliveryOption:1hour

Sample Response - Success:

"status": "success",
"message": "OK",
"distance": 0.50147195938058,
"price": 4
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/updateStatus

Description

Use to update status to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

orderId:11
status:Accept

Sample Response - Success:

"status": "success",
"message": "Request Accepted Successfully."
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/orderCancel

Description

Use to order cancel to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

status:Canceled
orderId:45

Sample Response - Success:

"status": "success",
"message": "Order is canceled successfully"

Error Response - Fail:

"status": "success",
"message": "Order is already Canceled"

Error Response - Fail:

"status": "success",
"message": "Order is not canceled"
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/addBankAccount

Description

Use to add bank account to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

holderName:raj
dob:1994-08-13
country:US
routingNumber:120000000
accountNumber:000123456784
address:indore india
postalCode:90211
city:Boston
state:Boston
ssnLast:1234
currency:USD

Sample Response - Success:

"status": "success",
"message": "Add successfully."
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/getBankDetail

Description

Use to get bank account to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

password:123456

Sample Response - Success:

"status": "success",
"message": "OK",
"bankDetail": {
"bankAccountId": "1",
"userId": "4",
"holderName": "raj",
"accNo": "6784",
"routNo": "0000",
"dob": "1994-08-13",
"country": "US",
"routingNumber": "120000000",
"accountNumber": "000123456784",
"address": "indore india",
"postalCode": "90211",
"city": "Boston",
"state": "Boston",
"ssnLast": "1234",
"currency": "USD"
}
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/getServices

Description

Use to get service and vehicle type to system.

Sample Response - Success:

"status": "success",
"message": "OK",
"Data": {
"vehicleDetail": [
{
"id": "2",
"name": "Motorcycle",
"description": "Max. 25x25x24cm & 10kg Per Item",
"logo": "ZEBRA_C4EE80CBE96B12B9C1FE218FAD4456DA.png",
"city_id": "3",
"createdate": "2019-07-22 17:09:47",
"status": "Active"
},
{
"id": "3",
"name": "Car",
"description": "65x65x65cm & 15kg per item",
"logo": "ZEBRA_28D0B82510777794F87C25CBD46EAEE4.png",
"city_id": "3",
"createdate": "2019-07-22 17:10:19",
"status": "Active"
},
{
"id": "4",
"name": "Van",
"description": "140x140x140cm & 20kg per item",
"logo": "ZEBRA_BBDA88274A607BACC4059CAD5838214F.png",
"city_id": "3",
"createdate": "2019-08-23 05:44:32",
"status": "Active"
}
]
}
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/getProfile

Description

Use to get user profile to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Driver Response / Sample Response - Success:

"status": "success",
"message": "OK",
"userDetail": {
"userId": "2484",
"firstName": "aishwasry",
"lastName": "singh",
"userProfile": "https://www.zebradelivery.com.au/uploads/userImage/user.png",
"email": "[email protected]",
"password": "$2y$10$0DJ9F/sWqup3NY0vmrC7x.m/ASMUaDe2AkL9brR.wAX2y1C9Ml/Zq",
"businessName": "mindiii",
"business_number": "",
"businessType": "",
"mobileNumber": "8982077519",
"mobileNumberOTP": "",
"mobileNumberStatus": "Pending",
"paymentDetailStatus": "Pending",
"profilePictureStatus": "Pending",
"userType": "Customer",
"vehicleType": "Bicycle",
"homeAddress": "mindiii",
"city_id": "0",
"latitude": "23.0123",
"longitude": "74.7966",
"deliverAlcohol": "Yes",
"deviceType": "Ios",
"deviceToken": "sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74",
"isVerify": "Yes",
"onlineStatus": "Online",
"authToken": "ZEBRA_8D08D1850B540F927655BD0F6CF34E97",
"availability": "Yes",
"status": "Active",
"crd": "2019-10-12 19:55:06",
"upd": "2019-10-12 19:55:06",
"licence_front": "Pending",
"licence_back": "Pending",
"licence_front_image": "",
"AgreementDoc": "https://www.zebradelivery.com.au/uploads/AgreementDoc/e81ac9b0b13f07f1772c06e469dc4163.docx",
"NoticesDoc": "https://www.zebradelivery.com.au/uploads/NoticesDoc/b7a809f08669703156ce791d50a2c107.docx",
"licence_back_image": "",
"vehicle_image": "",
"assigned": "Yes",
"unAssigned": "Yes",
"pickedup": "Yes",
"undoPickedup": "Yes",
"delivered": "Yes",
"undoDelivered": "Yes",
"cancelled": "Yes",
"refunded": "Yes",
"source": "",
"source_id": "",
"contact_preference": "",
"time_zone": "",
"driver_license_number": "",
"vehicle_plate_number": "",
"vehicle_plate_status": "Pending",
"AgreementDocStatus": "Pending",
"NoticesDoc_status": "Verified",
"abn_number": "",
"userProfileThumb": "https://www.zebradelivery.com.au/uploads/userImage/user.png",
"totalRating": "0"
}

Customer / Sample Response - Success:

"status": "success",
"message": "OK",
"userDetail": {
"userId": "2353",
"firstName": "surbhi",
"lastName": "Rag",
"userProfile": "https://www.zebradelivery.com.au/admin_panel/uploads/userProfile/ZEBRA_F34275E63F689878FCBD980795F65A40.jpg",
"email": "[email protected]",
"password": "$2y$10$VSSc8Uhygi5sAdft5Adrlez0aveDKFocWnF5S/VgfGidmvaZx/aI6",
"businessName": "online tution",
"business_number": "",
"businessType": "Business",
"mobileNumber": "8877665544",
"userType": "Customer",
"vehicleType": "0",
"homeAddress": "fdgfdgfnnghygherf",
"city_id": "0",
"latitude": "",
"longitude": "",
"deliverAlcohol": "Yes",
"deviceType": "Ios",
"deviceToken":
"sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74sef43sd5f43s5f4w6e8r7s54f6s74",
"isVerify": "Yes",
"onlineStatus": "Online",
"authToken": "ZEBRA_D3048538485BB783ACA668F67DEE07EC",
"availability": "Yes",
"status": "Active",
"crd": "2019-07-29 04:12:08",
"upd": "2019-08-13 06:01:45",
"licence_front": "Pending",
"licence_back": "Pending",
"licence_front_image": "",
"AgreementDoc": "",
"licence_back_image": "",
"vehicle_image": "",
"assigned": "Yes",
"unAssigned": "Yes",
"pickedup": "Yes",
"undoPickedup": "No",
"delivered": "Yes",
"undoDelivered": "No",
"cancelled": "No",
"refunded": "No",
"source": "",
"fb_id": "",
"contact_preference": "",
"time_zone": "",
"driver_license_number": "",
"vehicle_plate_number": "",
"vehicle_plate_status": "Verify",
"userProfileThumb": "https://www.zebradelivery.com.au/admin_panel/uploads/userProfile/thumb/ZEBRA_F34275E63F689878FCBD980795F65A40.jpg"
}
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/updateProfile / updateProfileImage

Description

Use to update profile to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

firstName:rajkumar
lastName:singh
businessName:TV
mobileNumber:8982077516
userType:Customer
homeAddress:Indore

Sample Response - Success:

"status": "success",
"message": "Profile updated successfully."
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/updateSignature

Description

Use to update profile to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

orderId:7
signature:file
product_pic:file

Sample Response - Success:

"status": "success",
"message": "Signature upload successfully."
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/mobileVerify

Description

Use to update mobile verify to system.

Request Body parameter and value

userId:4
mobileNumber:8982077519
OTP:123456

Sample Response - Success:

"status": "success",
"message": "Mobile number is verify successfully."

Error Response - Fail:

"status": "fail",
"message": "Invalid OTP number."

Error Response - Fail:

"status": "fail",
"message": "Invalid mobile number."
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/sendOTP

Description

Use to update send OTP to system.

Request Body parameter and value

userId:4
mobileNumber:8982077519

Sample Response - Success:

"status": "success",
"message": "OTP send your mobile number."

Error Response - Fail:

"status": "fail",
"message": "OTP send failed."

Error Response - Fail:

"status": "fail",
"message": "Invalid mobile number."
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/notificationStatus

Description

Use to notification on/off system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

assigned:No

Sample Response - Success:

"status": "success",
"message": "Successfully status changed."
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/forgotpassword

Description

Use to forgot password system.

Request Body parameter and value

Sample Response - Success:

"status": "success",
"message": "New password send your email id."
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/deliveryPrice

Description

Use to delivery price to system.

Request Body parameter and value

vehicle_id:1
pickup_lat:32.9697
pickup_long:-96.80322
dropup_lat:29.46786
dropup_long:-98.53506
time_id:1

Sample Response - Success:

"status": "success",
"message": "OK",
"Data": 17580.4
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/deliveryTime

Description

Use to delivery time to system.

Request Body parameter and value

vehicle_id:1

Sample Response - Success:

"status": "success",
"message": "OK",
"Data": [
{
"id": "1",
"vehicle_id": "1",
"deliveryOption": "1 Hour Delivery",
"kmfixed": "3",
"mincost": "16",
"maxperkmcost": "1.20",
"status": "Active"
},
{
"id": "2",
"vehicle_id": "1",
"deliveryOption": "3 Hour Delivery",
"kmfixed": "3",
"mincost": "12",
"maxperkmcost": "2.50",
"status": "Active"
},
{
"id": "3",
"vehicle_id": "1",
"deliveryOption": "Same Day Delivery",
"kmfixed": "3",
"mincost": "11",
"maxperkmcost": "1",
"status": "Active"
}
]
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/notification

Description

Use to get notification to system.

Request Body parameter and value

userId:4

Sample Response - Success:

"status": "success",
"message": "Data Found.",
"Notification": [
{
"id": "2",
"userId": "4",
"driverid": "0",
"orderId": "4",
"title": "new order",
"message": "Order Booked successfully",
"messagetype": "Order",
"createdate": "2019-09-19 16:21:00",
"status": "Inactive"
},
{
"id": "4",
"userId": "4",
"driverid": "0",
"orderId": "5",
"title": "new order",
"message": "Order booked successfully",
"messagetype": "Order",
"createdate": "2019-09-19 10:51:16",
"status": "Inactive"
},
{
"id": "7",
"userId": "4",
"driverid": "0",
"orderId": "7",
"title": "new order",
"message": "Order Booked successfully",
"messagetype": "Order",
"createdate": "2019-09-19 16:48:52",
"status": "Inactive"
},
{
"id": "9",
"userId": "4",
"driverid": "0",
"orderId": "8",
"title": "new order",
"message": "Order booked successfully",
"messagetype": "Order",
"createdate": "2019-09-19 11:19:06",
"status": "Inactive"
},
{
"id": "12",
"userId": "4",
"driverid": "0",
"orderId": "9",
"title": "new order",
"message": "Order booked successfully",
"messagetype": "Order",
"createdate": "2019-09-19 11:21:16",
"status": "Inactive"
}
]
GEThttps://www.zebradelivery.com.au/admin_panel/api_v1/city

Description

Use to get city to system.

Sample Response - Success:

"status": "success",
"message": "Data Found.",
"Notification": [
{
"id": "1",
"city_name": "Sydney",
"status": "Inactive"
},
{
"id": "2",
"city_name": "Melbourne",
"status": "Active"
},
{
"id": "3",
"city_name": "Brisbane",
"status": "Active"
},
{
"id": "4",
"city_name": "Perth ",
"status": "Active"
},
{
"id": "5",
"city_name": "Adelaide",
"status": "Inactive"
},
{
"id": "6",
"city_name": "Gold Coast",
"status": "Inactive"
},
{
"id": "7",
"city_name": "Canberra",
"status": "Inactive"
},
{
"id": "8",
"city_name": "Newcastle",
"status": "Inactive"
},
{
"id": "9",
"city_name": "Wollongong",
"status": "Inactive"
},
{
"id": "10",
"city_name": "Logan",
"status": "Inactive"
},
{
"id": "12",
"city_name": "Ipswich",
"status": "Inactive"
}
]
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/termsAndcondition

Description

Use to terms and conditions to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Sample Response - Success:

Html
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/addCards

Description

Use to add user cards details to system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Request Body parameter and value

cardnumber:378282246310005 cvc:458 expirymonth:08 expiryyear:2019 zipcode:451111

Sample Response - Success:

"status": "success",
"message": "Card Details Inserted Successfully"

Sample Response - Error:

"status": "success",
"message": "Card Details Not Inserted"
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/getUserCards

Description

Use to get user cards details from system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Sample Response - Success:

"status": "success",
"message": "OK",
"userCards": [
{
"id": "6",
"userId": "4",
"cardnumber": "98745556848321123",
"cvc": "452",
"expirymonth": "10",
"expiryyear": "2020",
"zipcode": "58785245",
"created_at": "2019-10-09 13:23:27",
"updated_at": "2019-10-09 13:23:27"
},
{
"id": "7",
"userId": "4",
"cardnumber": "98745556848321123",
"cvc": "452",
"expirymonth": "10",
"expiryyear": "2020",
"zipcode": "58785245",
"created_at": "2019-10-09 13:25:43",
"updated_at": "2019-10-09 13:25:43"
}
]

Sample Response - Error:

"message": "Invalid Auth Token",
"authToken": "",
"responseCode": 300,
"isActive": 0
POSThttps://www.zebradelivery.com.au/admin_panel/api_v1/deleteUserCards

Description

Use to delete user cards details from system.

Request Headers parameter and value

authtoken:ZEBRA_9DC6BE58468FE4BAD6B511B185906F7E

Sample Response - Success:

"status": "success",
"message": "Delete successfully"

Sample Response - Error:

"message": "Invalid Auth Token",
"authToken": "",
"responseCode": 300,
"isActive": 0

Sample Response - Error2:

"status": "fail",
"message": "Please enter delete id"

Sample Response - Error3:

"status": "fail",
"message": "No data found."
Download the 'Zebra - Customer' App Now!
Download the 'Zebra - Driver' App Now!