POST
/
api
/
delivery-service
/
ahamove
/
shipment
/
estimated_fee

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
path
object[]
required

Thô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
required

Integer (Unix timestamp) - Thời gian lấy hàng. Để là 0 để đơn hàng giao ngay.

service_id
string
required

String - 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ố}.

services
object[]
required

Dã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