MerchantAssignment
1
{
2
"task_id": "121",
3
"merchant_id": "1",
4
"business_username": "aaaaaa",
5
"is_waiting_acceptation": true,
6
"merchant_notification_url": "https://your.domain.com/api/smartlivraison_notify",
7
"updated_at": "2020-07-06T00:14:47.000000Z",
8
"created_at": "2020-07-06T00:14:47.000000Z",
9
"id": 21,
10
"task": {
11
"id": 121,
12
"current_status": "unassigned",
13
"business_username": "",
14
"creator_id": 1,
15
"has_creator_customer": false,
16
"created_by": "merchants",
17
"is_unassigned": true,
18
"auto_assignment": false,
19
"is_completed": false,
20
"is_draft": false,
21
"on_time": false,
22
"orders": [
23
"1589661051"
24
],
25
"total_orders_amount": "10000",
26
"delivery_fees": "1500",
27
"currency_code": "XOF",
28
"has_paid_delivery_service": false,
29
"has_cash_managment": true,
30
"customer_paid": false,
31
"customer_paid_at": null,
32
"merchant_paid": false,
33
"business_receipt_id": null,
34
"customer_receipt_id": null,
35
"merchant_receipt_id": null,
36
"paid_delivery_service_receipt_id": null,
37
"is_archived": false,
38
"archived_datetime": null,
39
"has_percentage": true,
40
"fees": "150",
41
"percentage": "0.1",
42
"customer_payment_method_code": "cash",
43
"created_at": "2020-07-06T00:14:47.000000Z",
44
"updated_at": "2020-07-06T00:14:47.000000Z",
45
"deleted_at": null,
46
"pickups": [
47
{
48
"id": 133,
49
"customer_name": "Ange Bagui",
50
"customer_phone": "+22556888385",
51
"customer_email": null,
52
"location_name": "Pharmacie Arums",
53
"location_latitude": 5.395556400000000252248355536721646785736083984375,
54
"location_longitude": -3.97707180000000004582716428558342158794403076171875,
55
"location_address_typed": null,
56
"location_address_type": null,
57
"location_address_door": null,
58
"location_address_type_stage": null,
59
"location_address_town": null,
60
"order_id": "1589661051",
61
"order_description": null,
62
"order_price": "10000",
63
"delivery_fees": "0",
64
"currency_code": "XOF",
65
"has_pickup": true,
66
"job_datetime": "2020-05-17 09:00:00",
67
"description": null,
68
"timezone": "Africa/Abidjan",
69
"tracking_link": null,
70
"images": "[]",
71
"notify": null,
72
"geofence": null,
73
"tags": null,
74
"signatures": null,
75
"signatures_at": null,
76
"current_status": "unassigned",
77
"task_id": "121",
78
"is_completed": false,
79
"is_completed_on_time": false,
80
"has_customer_payment": false,
81
"customer_paid": false,
82
"customer_receipt_id": null,
83
"customer_payment_method_code": null,
84
"created_at": "2020-07-06T00:14:47.000000Z",
85
"updated_at": "2020-07-06T00:14:47.000000Z",
86
"deleted_at": null,
87
"histories": [
88
{
89
"id": 393,
90
"job_id": 133,
91
"status": "unassigned",
92
"agent_id": -1,
93
"agent_name": "",
94
"creator_id": 1,
95
"creator_name": null,
96
"creator": "merchants",
97
"job_location_address": "Pharmacie Arums",
98
"task_id": 121,
99
"created_at": "2020-07-06T00:14:47.000000Z",
100
"updated_at": "2020-07-06T00:14:47.000000Z",
101
"deleted_at": null
102
}
103
],
104
"customer_receipt": null
105
}
106
],
107
"deliveries": [
108
{
109
"id": 134,
110
"customer_name": "Marie Beatrice Tahi",
111
"customer_phone": "+22556888385",
112
"customer_email": null,
113
"location_name": "Abidjan Mall",
114
"location_latitude": 5.36174239999999979744416123139671981334686279296875,
115
"location_longitude": -3.96672400000000013875478543923236429691314697265625,
116
"location_address_typed": null,
117
"location_address_type": null,
118
"location_address_door": null,
119
"location_address_type_stage": null,
120
"location_address_town": null,
121
"order_id": "1589661051",
122
"order_description": null,
123
"order_price": "10000",
124
"delivery_fees": "1500",
125
"currency_code": "XOF",
126
"has_pickup": false,
127
"job_datetime": "2020-05-17 12:00:00",
128
"description": null,
129
"timezone": "Africa/Abidjan",
130
"tracking_link": null,
131
"images": "[]",
132
"notify": null,
133
"geofence": null,
134
"tags": null,
135
"signatures": null,
136
"signatures_at": null,
137
"current_status": "unassigned",
138
"task_id": "121",
139
"is_completed": false,
140
"is_completed_on_time": false,
141
"has_customer_payment": true,
142
"customer_paid": false,
143
"customer_receipt_id": null,
144
"customer_payment_method_code": null,
145
"created_at": "2020-07-06T00:14:47.000000Z",
146
"updated_at": "2020-07-06T00:14:47.000000Z",
147
"deleted_at": null,
148
"histories": [
149
{
150
"id": 394,
151
"job_id": 134,
152
"status": "unassigned",
153
"agent_id": -1,
154
"agent_name": "",
155
"creator_id": 1,
156
"creator_name": null,
157
"creator": "merchants",
158
"job_location_address": "Abidjan Mall",
159
"task_id": 121,
160
"created_at": "2020-07-06T00:14:47.000000Z",
161
"updated_at": "2020-07-06T00:14:47.000000Z",
162
"deleted_at": null
163
}
164
],
165
"customer_receipt": null
166
}
167
],
168
"agent_id": null
169
},
170
"merchant": {
171
"id": 211111,
172
"company_name": "QZAAAA",
173
"company_photo": "https://i.imgur.com/Y4oWqzk.png",
174
"company_address": "Immeuble Maiko, Angré 8eme Tranche, Cocody, Abidjan, Côte d'Ivoire",
175
"timezone": "Africa/Abidjan",
176
"phone_directory": "22584400483",
177
"merchant_permission": null,
178
"commission_percentage": "0.10",
179
"login": "[email protected]",
180
"password": "$2y$10$rl4rxMgstR6i3RZX6TRvrOHznNfiVPIAIwOlLl7Ye2h3Rtsl/1vTm",
181
"geofence": null,
182
"user_id": 4,
183
"created_at": "2020-05-30T23:14:16.000000Z",
184
"updated_at": "2020-05-30T23:14:16.000000Z",
185
"deleted_at": null
186
},
187
"business": {
188
"id": 31111,
189
"name": "Silo Express",
190
"company_address": null,
191
"company_latitude": null,
192
"company_longitude": null,
193
"username": "adjemin",
194
"website": null,
195
"facebook": null,
196
"twitter": null,
197
"country_code": "CI",
198
"rcc": null,
199
"photo": null,
200
"description": null,
201
"user_id": 85,
202
"categories": null,
203
"product_cost_limit": null,
204
"pricing_type": "fixe",
205
"distance_min_fees": null,
206
"distance_max_fees": null,
207
"fees": null,
208
"transport_types": null,
209
"currency_code": "XOF",
210
"is_insured": false,
211
"insurer_name": null,
212
"business_insurer_number": null,
213
"has_join_adjemin": false,
214
"default_language": "fr",
215
"created_at": "2020-06-02T11:11:02.000000Z",
216
"updated_at": "2020-06-02T11:11:02.000000Z",
217
"deleted_at": null
218
}
219
}
Copied!
Last modified 1yr ago
Copy link