Task
Task is made up of jobs
1
{
2
"id": 121,
3
"current_status": "unassigned",
4
"business_username": "",
5
"creator_id": 1,
6
"has_creator_customer": false,
7
"created_by": "merchants",
8
"is_unassigned": true,
9
"auto_assignment": false,
10
"is_completed": false,
11
"is_draft": false,
12
"on_time": false,
13
"orders": [
14
"1589661051"
15
],
16
"total_orders_amount": "10000",
17
"delivery_fees": "1500",
18
"currency_code": "XOF",
19
"has_paid_delivery_service": false,
20
"has_cash_managment": true,
21
"customer_paid": false,
22
"customer_paid_at": null,
23
"merchant_paid": false,
24
"business_receipt_id": null,
25
"customer_receipt_id": null,
26
"merchant_receipt_id": null,
27
"paid_delivery_service_receipt_id": null,
28
"is_archived": false,
29
"archived_datetime": null,
30
"has_percentage": true,
31
"fees": "150",
32
"percentage": "0.10",
33
"customer_payment_method_code": "cash",
34
"created_at": "2020-07-06T00:14:47.000000Z",
35
"updated_at": "2020-07-06T00:14:47.000000Z",
36
"deleted_at": null,
37
"pickups": [
38
{
39
"id": 133,
40
"customer_name": "Ange Bagui",
41
"customer_phone": "+22556888385",
42
"customer_email": null,
43
"location_name": "Pharmacie Arums",
44
"location_latitude": 5.395556400000000252248355536721646785736083984375,
45
"location_longitude": -3.97707180000000004582716428558342158794403076171875,
46
"location_address_typed": null,
47
"location_address_type": null,
48
"location_address_door": null,
49
"location_address_type_stage": null,
50
"location_address_town": null,
51
"order_id": "1589661051",
52
"order_description": null,
53
"order_price": "10000",
54
"delivery_fees": "0",
55
"currency_code": "XOF",
56
"has_pickup": true,
57
"job_datetime": "2020-05-17 09:00:00",
58
"description": null,
59
"timezone": "Africa/Abidjan",
60
"tracking_link": null,
61
"images": "[]",
62
"notify": null,
63
"geofence": null,
64
"tags": null,
65
"signatures": null,
66
"signatures_at": null,
67
"current_status": "unassigned",
68
"task_id": "121",
69
"is_completed": false,
70
"is_completed_on_time": false,
71
"has_customer_payment": false,
72
"customer_paid": false,
73
"customer_receipt_id": null,
74
"customer_payment_method_code": null,
75
"created_at": "2020-07-06T00:14:47.000000Z",
76
"updated_at": "2020-07-06T00:14:47.000000Z",
77
"deleted_at": null,
78
"histories": [
79
{
80
"id": 393,
81
"job_id": 133,
82
"status": "unassigned",
83
"agent_id": -1,
84
"agent_name": "",
85
"creator_id": 1,
86
"creator_name": null,
87
"creator": "merchants",
88
"job_location_address": "Pharmacie Arums",
89
"task_id": 121,
90
"created_at": "2020-07-06T00:14:47.000000Z",
91
"updated_at": "2020-07-06T00:14:47.000000Z",
92
"deleted_at": null
93
}
94
],
95
"customer_receipt": null
96
}
97
],
98
"deliveries": [
99
{
100
"id": 134,
101
"customer_name": "Marie Beatrice Tahi",
102
"customer_phone": "+22556888385",
103
"customer_email": null,
104
"location_name": "Abidjan Mall",
105
"location_latitude": 5.36174239999999979744416123139671981334686279296875,
106
"location_longitude": -3.96672400000000013875478543923236429691314697265625,
107
"location_address_typed": null,
108
"location_address_type": null,
109
"location_address_door": null,
110
"location_address_type_stage": null,
111
"location_address_town": null,
112
"order_id": "1589661051",
113
"order_description": null,
114
"order_price": "10000",
115
"delivery_fees": "1500",
116
"currency_code": "XOF",
117
"has_pickup": false,
118
"job_datetime": "2020-05-17 12:00:00",
119
"description": null,
120
"timezone": "Africa/Abidjan",
121
"tracking_link": null,
122
"images": "[]",
123
"notify": null,
124
"geofence": null,
125
"tags": null,
126
"signatures": null,
127
"signatures_at": null,
128
"current_status": "unassigned",
129
"task_id": "121",
130
"is_completed": false,
131
"is_completed_on_time": false,
132
"has_customer_payment": true,
133
"customer_paid": false,
134
"customer_receipt_id": null,
135
"customer_payment_method_code": null,
136
"created_at": "2020-07-06T00:14:47.000000Z",
137
"updated_at": "2020-07-06T00:14:47.000000Z",
138
"deleted_at": null,
139
"histories": [
140
{
141
"id": 394,
142
"job_id": 134,
143
"status": "unassigned",
144
"agent_id": -1,
145
"agent_name": "",
146
"creator_id": 1,
147
"creator_name": null,
148
"creator": "merchants",
149
"job_location_address": "Abidjan Mall",
150
"task_id": 121,
151
"created_at": "2020-07-06T00:14:47.000000Z",
152
"updated_at": "2020-07-06T00:14:47.000000Z",
153
"deleted_at": null
154
}
155
],
156
"customer_receipt": null
157
}
158
],
159
"agent_id": null
160
}
Copied!
get
https://api.smartlivraison.com/v1/
tasks/{id}
Show Task
Last modified 1yr ago
Copy link
Contents
get
Show Task