MerchantAssignment

{
"task_id": "121",
"merchant_id": "1",
"business_username": "aaaaaa",
"is_waiting_acceptation": true,
"merchant_notification_url": "https://your.domain.com/api/smartlivraison_notify",
"updated_at": "2020-07-06T00:14:47.000000Z",
"created_at": "2020-07-06T00:14:47.000000Z",
"id": 21,
"task": {
"id": 121,
"current_status": "unassigned",
"business_username": "",
"creator_id": 1,
"has_creator_customer": false,
"created_by": "merchants",
"is_unassigned": true,
"auto_assignment": false,
"is_completed": false,
"is_draft": false,
"on_time": false,
"orders": [
"1589661051"
],
"total_orders_amount": "10000",
"delivery_fees": "1500",
"currency_code": "XOF",
"has_paid_delivery_service": false,
"has_cash_managment": true,
"customer_paid": false,
"customer_paid_at": null,
"merchant_paid": false,
"business_receipt_id": null,
"customer_receipt_id": null,
"merchant_receipt_id": null,
"paid_delivery_service_receipt_id": null,
"is_archived": false,
"archived_datetime": null,
"has_percentage": true,
"fees": "150",
"percentage": "0.1",
"customer_payment_method_code": "cash",
"created_at": "2020-07-06T00:14:47.000000Z",
"updated_at": "2020-07-06T00:14:47.000000Z",
"deleted_at": null,
"pickups": [
{
"id": 133,
"customer_name": "Ange Bagui",
"customer_phone": "+22556888385",
"customer_email": null,
"location_name": "Pharmacie Arums",
"location_latitude": 5.395556400000000252248355536721646785736083984375,
"location_longitude": -3.97707180000000004582716428558342158794403076171875,
"location_address_typed": null,
"location_address_type": null,
"location_address_door": null,
"location_address_type_stage": null,
"location_address_town": null,
"order_id": "1589661051",
"order_description": null,
"order_price": "10000",
"delivery_fees": "0",
"currency_code": "XOF",
"has_pickup": true,
"job_datetime": "2020-05-17 09:00:00",
"description": null,
"timezone": "Africa/Abidjan",
"tracking_link": null,
"images": "[]",
"notify": null,
"geofence": null,
"tags": null,
"signatures": null,
"signatures_at": null,
"current_status": "unassigned",
"task_id": "121",
"is_completed": false,
"is_completed_on_time": false,
"has_customer_payment": false,
"customer_paid": false,
"customer_receipt_id": null,
"customer_payment_method_code": null,
"created_at": "2020-07-06T00:14:47.000000Z",
"updated_at": "2020-07-06T00:14:47.000000Z",
"deleted_at": null,
"histories": [
{
"id": 393,
"job_id": 133,
"status": "unassigned",
"agent_id": -1,
"agent_name": "",
"creator_id": 1,
"creator_name": null,
"creator": "merchants",
"job_location_address": "Pharmacie Arums",
"task_id": 121,
"created_at": "2020-07-06T00:14:47.000000Z",
"updated_at": "2020-07-06T00:14:47.000000Z",
"deleted_at": null
}
],
"customer_receipt": null
}
],
"deliveries": [
{
"id": 134,
"customer_name": "Marie Beatrice Tahi",
"customer_phone": "+22556888385",
"customer_email": null,
"location_name": "Abidjan Mall",
"location_latitude": 5.36174239999999979744416123139671981334686279296875,
"location_longitude": -3.96672400000000013875478543923236429691314697265625,
"location_address_typed": null,
"location_address_type": null,
"location_address_door": null,
"location_address_type_stage": null,
"location_address_town": null,
"order_id": "1589661051",
"order_description": null,
"order_price": "10000",
"delivery_fees": "1500",
"currency_code": "XOF",
"has_pickup": false,
"job_datetime": "2020-05-17 12:00:00",
"description": null,
"timezone": "Africa/Abidjan",
"tracking_link": null,
"images": "[]",
"notify": null,
"geofence": null,
"tags": null,
"signatures": null,
"signatures_at": null,
"current_status": "unassigned",
"task_id": "121",
"is_completed": false,
"is_completed_on_time": false,
"has_customer_payment": true,
"customer_paid": false,
"customer_receipt_id": null,
"customer_payment_method_code": null,
"created_at": "2020-07-06T00:14:47.000000Z",
"updated_at": "2020-07-06T00:14:47.000000Z",
"deleted_at": null,
"histories": [
{
"id": 394,
"job_id": 134,
"status": "unassigned",
"agent_id": -1,
"agent_name": "",
"creator_id": 1,
"creator_name": null,
"creator": "merchants",
"job_location_address": "Abidjan Mall",
"task_id": 121,
"created_at": "2020-07-06T00:14:47.000000Z",
"updated_at": "2020-07-06T00:14:47.000000Z",
"deleted_at": null
}
],
"customer_receipt": null
}
],
"agent_id": null
},
"merchant": {
"id": 211111,
"company_name": "QZAAAA",
"company_photo": "https://i.imgur.com/Y4oWqzk.png",
"company_address": "Immeuble Maiko, Angré 8eme Tranche, Cocody, Abidjan, Côte d'Ivoire",
"timezone": "Africa/Abidjan",
"phone_directory": "22584400483",
"merchant_permission": null,
"commission_percentage": "0.10",
"login": "angebagui@adjemin.com",
"password": "$2y$10$rl4rxMgstR6i3RZX6TRvrOHznNfiVPIAIwOlLl7Ye2h3Rtsl/1vTm",
"geofence": null,
"user_id": 4,
"created_at": "2020-05-30T23:14:16.000000Z",
"updated_at": "2020-05-30T23:14:16.000000Z",
"deleted_at": null
},
"business": {
"id": 31111,
"name": "Silo Express",
"company_address": null,
"company_latitude": null,
"company_longitude": null,
"username": "adjemin",
"website": null,
"facebook": null,
"twitter": null,
"country_code": "CI",
"rcc": null,
"photo": null,
"description": null,
"user_id": 85,
"categories": null,
"product_cost_limit": null,
"pricing_type": "fixe",
"distance_min_fees": null,
"distance_max_fees": null,
"fees": null,
"transport_types": null,
"currency_code": "XOF",
"is_insured": false,
"insurer_name": null,
"business_insurer_number": null,
"has_join_adjemin": false,
"default_language": "fr",
"created_at": "2020-06-02T11:11:02.000000Z",
"updated_at": "2020-06-02T11:11:02.000000Z",
"deleted_at": null
}
}