Check out the same-town delivery template
Dxplaination of Interface Call Request
Example of request parameters
Examples of back-up
Dxplaination of request parameters
parameter | type | Is it compulsory? | Introductions |
Dxplaination of callback parameters
parameter | type | Introductions |
Error code | string | Error code |
errmsg | string | Error message |
Same_city_template.template_id | number | Same city distribution template ID |
Same_city_template.shipper | string | Suppliers |
Same_city_template.scope | number | Delivery range, metre per unit |
Same_city_template.same_city_valuation | object | Methods of pricing |
Same_city_template.special_Time | object | Special Hours |
Same_city_template.delivery_Time | object | Delivery time |
object-same_city_valuation
parameter | type | Introductions |
type | string | Type of billing |
condition_free_valuation | object | Free shipping conditions |
tiered_billing_valuation | object | Stairway billing method |
object-same_city_valuation.condition_free_valuation
parameter | type | Introductions |
min_free_price | number | Conditions Minimum Amount Free of Freight |
object-same_city_valuation.tiered_billing_valuation
parameter | type | Introductions |
min_send_price | number | Minimum starting amount, divided |
first_val_meter | number | Within xx minutes |
first_price | number | Within xx minutes |
second_val_meter | number | Each additional xx meters |
second_price | number | Increase xx points |
object-special_Time
parameter | type | Introductions |
type | string | type |
extra_fee_valuation | object | Additional charges for special periods |
parameter | type | Introductions |
fee_details[].start_hour | number | Start time, hours |
fee_details[].start_Minute | number | Start time, minutes |
fee_details[].end_hour | number | End time, hours |
fee_details[].end_Minute | number | End time, minutes |
fee_details[].fee | number | Fees for this period |
object-delivery_Time
first_val_meter内first_val_minutes, Every additional second_val_meter, Need to add second_val_minutes
parameter | type | Introductions |
start_business_hour | number | Time of opening shop, hours |
start_business_Minute | number | Time to open a shop, minutes |
end_business_hour | number | Closing time, hours |
end_business_Minute | number | Closing time, minutes |
book_Time | number | Can be scheduled for time, minutes |
first_val_meter | number | Range of delivery, meters |
first_val_minutes | number | Delivery time, minutes |
second_val_meter | number | Increase in reach, metres |
second_val_minutes | number | Increase in delivery time, minutes |
Enumeration values-shipper
The enumeration value | string | Introductions |
0 | Shipper_Unknown | unknown |
1 | Shipper_MerchantSend | Merchant delivery |
2 | Shipper_ThirdPartySend | Third Party Delivery |
Enumeration values-same_city_valuation.type
The enumeration value | string | Introductions |
0 | ValuationType_Free | Free shipping |
1 | ValuationType_ConditionFree | Conditions Free shipping |
2 | ValuationType_TieredBilling | Staircase billing |
Enumeration values-special_time.type
The enumeration value | string | Introductions |
0 | ValuationType_Free | No additional costs |
1 | ValuationType_ExtraFee | Additional cost increase |
Return code
Return code | Error Type |
-1 | System exceptions |
-2 | Token too long |