Shipping APIs
Ước tính phí đơn hàng
Ước tính phí đơn hàng
POST
/
api
/
delivery-service
/
ahamove
/
shipment
/
fee
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
path
object[]
requiredThông tin lấy hàng và giao hàng, từ path[0] (path[0] là địa điểm nhận còn lại là điểm giao) và đến các path[x], x > 0.
order_time
integer
requiredInteger (Unix timestamp) - Thời gian lấy hàng. Để là 0 để đơn hàng giao ngay.
service_id
string
requiredString - Mã dịch vụ của AhaMove (SGN-BIKE, SGN-POOL...) lấy từ api api/delivery-service/ahamove/service_types/{Mã Thành Phố}.
requests
object[]
requiredDãy thể hiện các yêu cầu đặc biệt (lấy từ field requests trong api api/delivery-service/ahamove/service_types/{Mã Thành Phố}).
Response
200 - application/json
success
boolean
Request thành công hoặc thất bại
message
string
message