# Order management
# PA-API-3.1 Create order
POST /order/create
API type | Request API |
Usage | - Create delivery order |
# Request
Name | Type | Mandatory | Default | Description | Remarks |
---|---|---|---|---|---|
quotation_key | string | N | - | Quotation Key | Please obtain the Quotation Key by PA-API-3.6 Get Quotation |
merchant_id | string | Y | - | Merchant ID in Zeek Platform | |
client | object | Y | - | Client info | |
client.order_id | string | Y | - | Client order ID | The order ID in Client system |
client.shipment_code | string | N | '' | Client shippment code | The shipping code in Client system |
product_code | string | Y | - | Product code | - Support "DASH2HR" , "DASH4HR" or "MPOINTS" .- Please consult Zeek team about the supported values. |
preferences | array | N | [] | Preferences | Please refer to supplementary info How to input preferences below. Optional for monthly contract merchants when using "DASH2HR" and "DASH4HR" Required field for monthly merchants or using "MPOINTS" |
preferences.type | string | Y | - | Preference type | Example: "business_position" |
preferences.value | string | Y | - | Preference value | Example: "mR" |
schedule_time | string | N | '' | Scheduled pickup time | - Please omit it for real time order - Earliest schedule time = Current time + 30mins - Latest schedule E11time = Current time + 31days - Example: "2020-09-08 16:00" |
cancel_time | string | N | - | Cancel publish time | - If the order is not accepted by any partner by cancel_time , system will cancel the order automatically.- For real-time order, the default cancel time is 2 hours after it is created; For scheduled order, the default cancel time is the scheduled pickup time. - The maximum value of real time order is the current time +24 hours; the maximum value of scheduled order is the scheduled pickup time +24 hours |
contact | object | N | - | Contact person info | - "DASH2HR", "DASH4HR : Not required - "MPOINTS" : Required |
contact.name | string | N | '' | Contact person name | |
contact.country_code | string | N | * Ref to remarks | Contact person country code | By default, system finds the corresponding country code based on the region value. For example, the default value for region="HK" is "852" . |
contact.phone | string | N | '' | Contact person phone number | |
path | array | Y | - | Delivery waypoints | Please input the pickup point and drop-off in sequence. - DASH2HR" and "DASH4HR" support one pickup point and one drop-off point - "MPOINTS" supports one pickup point and up to 20 drop-off points |
path[].address | string | Y | - | Address | |
path[].postal_code | string | N | '' | Postal code | |
path[].description | string | N | - | Supplementary address | |
path[].coordinate | string | Y | - | Coordinates | Ref Geolocation |
path[].contact | array | Y | - | Contact person(s) for that waypoint | It can be multiple contact persons. Minimum one contact person. |
path[].contact[].name | string | Y | - | Contact person name | |
path[].contact[].phone | string | Y | - | Contact person phone number | |
path[].contact[].country_code | string | N | * Ref to remarks | Contact person country code | By default, system finds the corresponding country code based on the region value. For example, the default value for region="HK" is "852" . |
path[].contact[].company_name | string | N | '' | Contact person company name | |
vas | array | N | [] | VAS service | Please obtain the available VAS by PA-API-2.1 Get available VAS. |
vas[].code | string | Y | - | VAS service code | |
vas[].count | string | Y | - | VAS service count | |
items | object | N | - | Items | - "DASH2HR", "DASH4HR : Required - "MPOINTS" : Not required |
items.amount | string | Y | - | Item amount | - Unit: dollar - Max. 2 decimal places |
items.weight | string | Y | - | Item weight | - Unit: KG - Max. 2 decimal places |
items.box | string | Y | - | Item capacity code | Please refer to Box size code |
items.types | array | N | [] | Item type | - Supports "Bouquet" 、"Food" 、"Wine" 、"Doc" |
items.detail | string | N | '' | Item description | |
cod | object | N | - | Cash on delivery (COD) information | |
cod.service_fee | string | N | "0.00" | Delivery fee | - Unit: dollar - Max. 2 decimal places |
cod.cash | string | N | "0.00" | Item amount | - Unit: dollar - Max. 2 decimal places |
remark | object | N | - | Remarks | |
remark.partner | string | N | '' | Remarks for partner |
Sample (DASH2HR)
{
"quotation_key": "33333",
"merchant_id": "999",
"client": {
"order_id": "11111111",
"shipment_code": "22222222"
},
"product_code": "DASH2HR",
"preferences": [
{
"type": "business_position",
"value": "mR"
}
],
"schedule_time": "",
"cancel_time": "",
"path": [
{
"address": "Langham Place, 638 Shanghai St, Mong Kok, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.31814, 114.16866",
"contact": [
{
"name": "Lee",
"phone": "98765431",
"country_code": "852",
"company_name": ""
}
]
},
{
"address": "New Town Plaza Phase One, 18-19 Sha Tin Centre Street, Sha Tin, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.38177, 114.18862",
"contact": [
{
"name": "Wong",
"phone": "98765430"
}
]
}
],
"vas": [
{
"code": "HKDASH_VDELIVERY",
"count": "1",
"fee": ""
}
],
"items": {
"amount": "123",
"weight": "10",
"box": "S",
"types": [
"Bouquet",
"Wine"
],
"detail": "Gift set"
},
"cod": {
"service_fee": "",
"cash": ""
},
"remark": {
"partner": "remark_partner"
}
}
Sample (MPOINTS)
{
"quotation_key": "99999",
"merchant_id": "999",
"client": {
"order_id": "11111111",
"shipment_code": "22222222"
},
"product_code": "MPOINTS",
"preferences": [
{
"type": "business_position",
"value": "mR"
}
],
"schedule_time": "",
"cancel_time": "",
"contact": {
"name": "Chan",
"country_code": "852",
"phone": "98765432"
},
"path": [
{
"address": "Langham Place, 638 Shanghai St, Mong Kok, Hong Kong",
"description": "Shop 999, 999/F",
"postal": "",
"coordinate": "22.31814, 114.16866",
"contact": [
{
"name": "Lee",
"country_code": "852",
"phone": "98765431",
"company_name": ""
}
]
},
{
"address": "New Town Plaza Phase One, 18-19 Sha Tin Centre Street, Sha Tin, Hong Kong",
"description": "Shop 999, 999/F",
"postal": "",
"coordinate": "22.38177, 114.18862",
"contact": [
{
"name": "Wong",
"country_code": "",
"phone": "98765433",
"company_name": ""
}
]
},
{
"address": "Tuen Mun Town Plaza, 1 Tuen Shun St, Tuen Mun, Hong Kong",
"description": "Shop 999, 999/F",
"postal": "",
"coordinate": "22.39302, 113.97660",
"contact": [
{
"name": "Cheng",
"country_code": "",
"phone": "98765430",
"company_name": ""
}
]
}
],
"vas": [
{
"code": "HKDASH_VDELIVERY_D",
"count": "1",
"fee": ""
}
],
"items": {
"amount": "123",
"weight": "10",
"box": "S",
"types": [
"Bouquet",
"Wine"
],
"detail": "Gift set"
},
"cod": {
"service_fee": "",
"cash": ""
},
"remark": {
"partner": "remark_partner"
}
}
# How to input preferences
You need to obtain the available business position values by PA-API-2.2 Get available business positions in advance, so that you can input the appropriate values in this parameter.
If you are going to create order for MPOINTS or you are Not Monthly Contract merchant, please input one "business_position" in the preferences
parameter.
Here is an example:
"preferences": [
{
"type": "business_position",
"value": "mR"
}
]
For further question, please consult Zeek team.
# Response
Name | Type | Description | Remarks |
---|---|---|---|
order_id | string | Order ID |
Example:
{
"error": 0,
"data": {
"order_id": "DA-A-04844"
}
}
# PA-API-3.2 Get order details
POST /order/info
API type | Request API |
Usage | - Get order detailed information. |
# Request
Name | Type | Mandatory | Default | Description | Remarks |
---|---|---|---|---|---|
merchant_id | string | Y | - | Merchant ID in Zeek platform | |
order_id | string | Y | - | Order ID |
Example:
{
"merchant_id": "111111",
"order_id": "DA-A-04844"
}
# Response
Name | Type | Description | Remarks |
---|---|---|---|
order_id | string | Order ID | |
merchant_id | string | Merchant ID in Zeek platform | |
client | object | Client info | |
client.order_id | string | Client order ID | The order ID in Client system |
client.shipment_code | string | Client shippment code | The shipping code in Client system |
product_code | string | Product code | |
order_time | string | Order creation time | |
schedule_time | string | Scheduled pickup time | |
publish_until_time | string | The time which the order will be cancelled by system. | |
accept_time | string | Partner accepts order time | |
complete_time | string | Order completed time | |
cancel_time | string | Actual order cancelled time | |
contact | object | Contact person info | |
contact.name | string | Contact person name | |
contact.country_code | string | Contact person country code | |
contact.phone | string | Contact person phone number | |
path | array | Delivery waypoints | - Please input the paths (starting point, midpoints and destination) in sequence. - Starting point and destination are required. |
path[].address | string | Address | |
path[].description | string | Supplementary address | |
path[].coordinate | string | Coordinates | |
path[].contact | array | Contact person(s) for that waypoint | |
path[].contact[].name | string | Contact person name | |
path[].contact[].phone | string | Contact person phone number | |
path[].contact[].country_code | string | Contact person country code | |
path[].contact[].company_name | string | Contact person company name | |
vas | array | VAS service | |
vas[].code | string | VAS service code | |
vas[].count | string | VAS service count | |
vas[].fee | string | VAS service fee | |
items | object | Items | |
items.amount | string | Item amount | |
items.weight | string | Item weight | |
items.box | string | Item capacity code | |
items.types | array | Item type | |
items.detail | string | Item description | |
cod | object | Cash on delivery (COD) information | |
cod.type | string | COD type | |
cod.service_fee | string | Delivery fee | |
cod.cash | string | Item amount | |
cod.total | string | Total fee | |
payment | object | Payment info which merchant pay to Zeek | |
payment.type | string | Payment type | |
status | object | Order status | |
status.code | string | Order status code | Please refer to Order status code |
status.name | string | Order status description | |
status.lastmodify | string | Order status time | |
partner | object | Partner info | |
partner.name | string | Partner name | |
partner.country_code | string | Partner country code | |
partner.phone | string | Partner phone number | |
partner.position | object | Partner position | |
partner.position.code | string | Position code | |
partner.position.name | string | Position name | |
partner.position.vehicle_number | string | Vehicle number | |
receipts | array | Receipt image URLs | |
remark.partner | string | Remarks for partner |
Example:
{
"error": 0,
"data": {
"order_id": "DA-A-04788",
"merchant_id": "1111111",
"client": {
"order_id": "order-12345",
"shipment_code": "ship-12345"
},
"product_code": "DASH2HR",
"order_time": "2020-07-22 15:59",
"schedule_time": "2020-07-22 15:59",
"publish_until_time": "2020-07-22 15:59",
"accept_time": "2020-07-22 16:06",
"complete_time": "2020-07-22 16:06",
"cancel_time": "2020-07-22 15:59",
"contact": {
"name": "Kevin Tsang",
"country_code": "852",
"phone": "91234567"
},
"path": [
{
"address": "JW Marriott Hotel Hong Kong, Queensway, Admiralty, Hong Kong",
"description": "Flat 27, 3/F",
"coordinate": "22.277495,114.166271",
"contact": [
{
"name": "Mr. Chan",
"phone": "91334455",
"country_code": "852",
"company_name": "ABC Company"
},
{
"name": "Mr. Li",
"phone": "91334459"
}
]
},
{
"address": "Hotel Icon, Tsim Sha Tsui, Kowloon",
"description": "Room 414",
"coordinate": "22.300813,114.179696",
"contact": [
{
"name": "Mr. Cheung",
"phone": "912345678"
}
]
}
],
"vas": [
{
"code": "HKDASH_HOURS",
"count": "3",
"fee": "6.00",
"name": "Hourly rental"
},
{
"code": "HKDASH_PASSENGER",
"count": "1",
"fee": "6.00",
"name": "Ride with passengers"
}
],
"items": {
"amount": "0.00",
"weight": "0.00",
"box": "S",
"type": "",
"detail": ""
},
"cod": {
"type": "cash",
"service_fee": "12.50",
"cash": "30.50",
"total": "43.00"
},
"payment": {
"type": "1",
},
"status": {
"code": "9005",
"name": "About to pickup",
"lastmodify": "2020-07-22 16:06"
},
"partner": {
"name": "Albert Chan",
"country_code": "852",
"phone": "17612008",
"position": {
"code": "R",
"name": "Motobike",
"vehicle_number": "RJ 456"
}
},
"receipts": [
"https://ap1-img.zeek.one/1.jpeg",
"https://ap1-img.zeek.one/2.jpeg",
"https://ap1-img.zeek.one/3.jpeg"
],
"remark": {
"partner": "This is the remark sent to partner"
}
}
}
# PA-API-3.3 Cancel order
POST /order/cancel
API type | Request API |
Usage | Cancel order |
You can request this API to cancel an order when the order status is [9033 Pending] or [9034 Assigned]. If you need to cancel an order that is in another status, please contact Customer Services.
# Request
Name | Type | Mandatory | Default | Description | Remarks |
---|---|---|---|---|---|
merchant_id | string | Y | - | Merchant ID in Zeek platform | |
order_id | string | Y | - | Order ID | |
cancel_reason | string | N | '' | Reason to cancel order |
{
"merchant_id": "111111",
"order_id": "DA-A-04844",
"cancel_reason": "Cancelled by customer"
}
# Response
Example:
{
"error": 0
}
# PA-API-3.4 Order status callback
POST The endpoint is provided by developer
API type | Callback API |
Usage | When delivery order status updates, Zeek platform will send latest status code to the callback API. |
# Request failure handling
When Zeek platform cannot receive a successful response from callback API, it will be regarded as failure. Then the platform will retry. The retry frequency is 15/15/30/180/1800/1800/1800/1800/3600 in seconds.
# API Authentication
Zeek platform will pass signature to developer's callback API. The signature is generated according to Status Callback Authentication. Therefore, please verify the signature.
# Request
- Zeek platform sends API request to Client system
Name | Type | Mandatory | Default | Description | Remarks |
---|---|---|---|---|---|
order_id | string | Y | - | Order ID | |
merchant_id | string | Y | - | Merchant ID in Zeek platform | |
client | object | Y | - | Client info | |
client.order_id | string | Y | '' | Client order ID | The order ID in Client system |
client.shipment_code | string | Y | '' | Client shippment code | The shipping code in Client system |
status | object | Y | - | Order status | |
status.code | string | Y | - | Order status code | Please refer to Order status code |
status.name | string | Y | - | Order status description | Zeek platform will send in same the language when the order is created. |
status.lastmodify | string | Y | - | Order status time |
{
"order_id": "DA-A-04844",
"merchant_id": "1111111",
"client": {
"order_id": "order-12345",
"shipment_code": "ship-12345"
},
"status": {
"code": "9005",
"name": "About to pickup",
"lastmodify": "2020-07-22 16:06",
}
}
# Response
- Please reply the payload below for successful API response. Otherwise, Zeek platform will consider the callback is failed and retry.
{
"error": 0
}
# PA-API-3.5 Get order status
POST /order/status
API type | Request API |
Usage | Get the latest order status |
# Request
Name | Type | Mandatory | Default | Description | Remarks |
---|---|---|---|---|---|
merchant_id | string | Y | - | Merchant ID in Zeek platform | |
order_id | string | Y | - | Order ID |
Example:
{
"merchant_id": "1111111",
"order_id": "DA-A-04844"
}
# Response
Name | Type | Description | Remarks |
---|---|---|---|
status | object | Y | - |
status.code | string | Y | - |
status.name | string | Y | - |
status.lastmodify | string | Y | - |
Example:
{
"error": 0,
"data": {
"status": {
"code": "9005",
"name": "About to pickup",
"lastmodify": "2020-07-22 16:06"
}
}
}
# PA-API-3.6 Get Quotation
POST /order/quote
API type | Request API |
Usage | - Get order quotation |
# Request
Name | Type | Mandatory | Default | Description | Remarks |
---|---|---|---|---|---|
merchant_id | string | Y | - | Merchant ID in Zeek Platform | |
client | object | Y | - | Client info | |
client.order_id | string | Y | - | Client order ID | The order ID in Client system |
client.shipment_code | string | N | '' | Client shippment code | The shipping code in Client system |
product_code | string | Y | - | Product code | - Support "DASH2HR" , "DASH4HR" or "MPOINTS" .- Please consult Zeek team about the supported values. |
preferences | array | N | [] | Preferences | Please refer to supplementary info How to input preferences below. Optional for monthly contract merchants when using "DASH2HR" and "DASH4HR" Required field for monthly merchants or using "MPOINTS" |
preferences.type | string | Y | - | Preference type | Example: "business_position" |
preferences.value | string | Y | - | Preference value | Example: "mR" |
schedule_time | string | N | '' | Scheduled pickup time | - Please omit it for real time order - Earliest schedule time = Current time + 30mins - Latest schedule E11time = Current time + 31days - Example: "2020-09-08 16:00" |
cancel_time | string | N | - | Cancel publish time | - If the order is not accepted by any partner by cancel_time , system will cancel the order automatically.- For real-time order, the default cancel time is 2 hours after it is created; For scheduled order, the default cancel time is the scheduled pickup time. - The maximum value of real time order is the current time +24 hours; the maximum value of scheduled order is the scheduled pickup time +24 hours |
contact | object | N | - | Contact person info | - "DASH2HR", "DASH4HR : Not required - "MPOINTS" : Required |
contact.name | string | N | '' | Contact person name | |
contact.country_code | string | N | * Ref to remarks | Contact person country code | By default, system finds the corresponding country code based on the region value. For example, the default value for region="HK" is "852" . |
contact.phone | string | N | '' | Contact person phone number | |
path | array | Y | - | Delivery waypoints | Please input the pickup point and drop-off in sequence. - DASH2HR" and "DASH4HR" support one pickup point and one drop-off point - "MPOINTS" supports one pickup point and up to 20 drop-off points |
path[].address | string | Y | - | Address | |
path[].postal_code | string | N | '' | Postal code | |
path[].description | string | N | - | Supplementary address | |
path[].coordinate | string | Y | - | Coordinates | Ref Geolocation |
path[].contact | array | Y | - | Contact person(s) for that waypoint | It can be multiple contact persons. Minimum one contact person. |
path[].contact[].name | string | Y | - | Contact person name | |
path[].contact[].phone | string | Y | - | Contact person phone number | |
path[].contact[].country_code | string | N | * Ref to remarks | Contact person country code | By default, system finds the corresponding country code based on the region value. For example, the default value for region="HK" is "852" . |
path[].contact[].company_name | string | N | '' | Contact person company name | |
vas | array | N | [] | VAS service | Please obtain the available VAS by PA-API-2.1 Get available VAS. |
vas[].code | string | Y | - | VAS service code | |
vas[].count | string | Y | - | VAS service count | |
items | object | N | - | Items | - "DASH2HR", "DASH4HR : Required - "MPOINTS" : Not required |
items.amount | string | Y | - | Item amount | - Unit: dollar - Max. 2 decimal places |
items.weight | string | Y | - | Item weight | - Unit: KG - Max. 2 decimal places |
items.box | string | Y | - | Item capacity code | Please refer to Box size code |
items.types | array | N | [] | Item type | - Supports "Bouquet" 、"Food" 、"Wine" 、"Doc" |
items.detail | string | N | '' | Item description | |
cod | object | N | - | Cash on delivery (COD) information | |
cod.service_fee | string | N | "0.00" | Delivery fee | - Unit: dollar - Max. 2 decimal places |
cod.cash | string | N | "0.00" | Item amount | - Unit: dollar - Max. 2 decimal places |
remark | object | N | - | Remarks | |
remark.partner | string | N | '' | Remarks for partner |
Example
{
"merchant_id": "999",
"client": {
"order_id": "1234567890",
"shipment_code": "S99999"
},
"product_code": "MPOINTS",
"preferences": [
{
"type": "business_position",
"value": "mR"
}
],
"schedule_time": "",
"cancel_time": "",
"contact": {
"name": "Chan",
"country_code": "852",
"phone": "98765432"
},
"path": [
{
"address": "Langham Place, 638 Shanghai St, Mong Kok, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.31814, 114.16866",
"contact": [
{
"name": "Lee",
"phone": "98765431",
"country_code": "852",
"company_name": ""
}
]
},
{
"address": "Tuen Mun Town Plaza, 1 Tuen Shun St, Tuen Mun, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.39302, 113.97660",
"contact": [
{
"name": "Cheng",
"phone": "98765430"
}
]
},
{
"address": "New Town Plaza Phase One, 18-19 Sha Tin Centre Street, Sha Tin, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.38177, 114.18862",
"contact": [
{
"name": "Wong",
"phone": "98765433"
}
]
}
],
"vas": [
{
"code": "HKDASH_VDELIVERY_D",
"count": "1",
"fee": ""
}
],
"items": {
"amount": "123",
"weight": "10",
"box": "S",
"types": [
"Bouquet",
"Wine"
],
"detail": "Gift set"
},
"cod": {
"service_fee": "",
"cash": ""
},
"remark": {
"partner": "remark_partner"
}
}
# How to input preferences
You need to obtain the available business position values by PA-API-2.2 Get available business positions in advance, so that you can input the appropriate values in this parameter.
If you are going to create order for MPOINTS or you are Not Monthly Contract merchant, please input one "business_position" in the preferences
parameter.
Here is an example:
"preferences": [
{
"type": "business_position",
"value": "mR"
}
]
For further question, please consult Zeek team.
# Response
Name | Type | Description | Remarks |
---|---|---|---|
quotations | array | Quotation details | |
quotations[].quotation_key | int | Quotation ID | |
quotations[].type | array | Quotation Type | |
quotations[].type.path | string | Route Type | exact : User route smart : Suggested route |
quotations[].path | array | Delivery waypoints | Will return pickup point and drop-off in sequence. |
quotations[].path.coordinate | string | Coordinates | Ref Geolocation |
quotations[].path.contact | array | Contact person(s) for that waypoint | It can be multiple contact persons. Minimum one contact person. |
quotations[].path.contact.name | string | Contact person name | |
quotations[].path.contact.phone | string | Contact person phone number | |
quotations[].path.contact.country_code | string | Contact person country code | By default, system finds the corresponding country code based on the region value. For example, the default value for region="HK" is "852". |
quotations[].path.contact.company_name | string | Contact person company name | |
quotations[].path.description | string | Supplementary address | |
quotations[].path.address | string | Address | |
quotations[].name | string | Quotation Name | |
quotations[].binding_parameters | array | Quotation binding parameters | |
quotations[].binding_parameters.position | string | Position Code | |
quotations[].binding_parameters.position_name | string | Position Name | |
quotations[].binding_parameters.toll_code | string | Toll Road Code | |
quotations[].binding_parameters.toll_name | string | Toll Road Name | |
quotations[].binding_parameters.product_code | string | Product code | |
quotations[].fee | array | Quotation Fee | |
quotations[].fee.amount | string | Amount | |
quotations[].fee_detail | array | Details | |
quotations[].fee_detail.code | string | Code | |
quotations[].fee_detail.description | string | Description | |
quotations[].fee_detail.description_suffix | string | Description suffix | |
quotations[].fee_detail.title | string | Title | |
quotations[].fee_detail.fee | string | Amount |
Example:
{
"error": 0,
"data": {
"quotations": [
{
"quotation_key": 11111,
"type": {
"path": "exact"
},
"path": [
{
"type": 2,
"postal": "",
"address": "Langham Place, 638 Shanghai St, Mong Kok, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.31814, 114.16866",
"contact": [
{
"name": "Lee",
"country_code": "852",
"phone": "98765431",
"company_name": ""
}
]
},
{
"type": 2,
"postal": "",
"address": "Tuen Mun Town Plaza, 1 Tuen Shun St, Tuen Mun, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.39302, 113.97660",
"contact": [
{
"name": "Cheng",
"country_code": "",
"phone": "98765430",
"company_name": ""
}
]
},
{
"postal": "",
"address": "New Town Plaza Phase One, 18-19 Sha Tin Centre Street, Sha Tin, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.38177, 114.18862",
"contact": [
{
"name": "Wong",
"country_code": "",
"phone": "98765433",
"company_name": ""
}
]
}
],
"name": "User route",
"binding_parameters": {
"position": "R",
"position_name": "電單車司機",
"business_position": "mR",
"toll_code": "城",
"toll_name": "Shing Mun Tunnels",
"product_code": "MPOINTS"
},
"fee": {
"amount": "241"
},
"fee_detail": [
{
"code": "distance_fee",
"title": "Base fee",
"description": "Base fee",
"description_suffix": "",
"fee": "236"
},
{
"code": "toll_fee",
"title": "Toll road/ area",
"description": "Toll road/ area(電單車司機:Shing Mun Tunnels)",
"description_suffix": "",
"fee": "5"
}
],
"distance": {
"total": "0",
"points_distance": []
},
"publish_until": "2022-09-20 21:09:00"
},
{
"quotation_key": 22222,
"type": {
"path": "smart"
},
"path": [
{
"postal": "",
"address": "Langham Place, 638 Shanghai St, Mong Kok, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.31814, 114.16866",
"contact": [
{
"name": "Lee",
"country_code": "852",
"phone": "98765431",
"company_name": ""
}
]
},
{
"postal": "",
"address": "New Town Plaza Phase One, 18-19 Sha Tin Centre Street, Sha Tin, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.38177, 114.18862",
"contact": [
{
"name": "Wong",
"country_code": "",
"phone": "98765433",
"company_name": ""
}
]
},
{
"postal": "",
"address": "Tuen Mun Town Plaza, 1 Tuen Shun St, Tuen Mun, Hong Kong",
"description": "Shop 999, 999/F",
"coordinate": "22.39302, 113.97660",
"contact": [
{
"name": "Cheng",
"country_code": "",
"phone": "98765430",
"company_name": ""
}
]
}
],
"name": "Suggested route",
"binding_parameters": {
"position": "R",
"position_name": "電單車司機",
"business_position": "mR",
"toll_code": "獅,城",
"toll_name": "Lion Rock Tunnel, Shing Mun Tunnels",
"product_code": "MPOINTS"
},
"fee": {
"amount": "223"
},
"fee_detail": [
{
"code": "distance_fee",
"title": "Base fee",
"description": "Base fee",
"description_suffix": "",
"fee": "210"
},
{
"code": "toll_fee",
"title": "Toll road/ area",
"description": "Toll road/ area(電單車司機:Lion Rock Tunnel, Shing Mun Tunnels)",
"description_suffix": "",
"fee": "13"
}
],
"distance": {
"total": "0",
"points_distance": []
},
"publish_until": "2022-09-20 21:09:00"
}
]
}
}