List Estimate Rates
GET {{baseUrl}}/shipping/companies/estimate-rate?city_id=<integer>&country_id=<integer>&order_id=<integer>&geocode=<string>&postal_code=<string>
This endpoint allows you to fetch all of the shipping companies' estimate rates, based on the customer's order address
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
city_id | string | (Required) City ID. Get a list of City IDs from here | |
country_id | string | (Required) Country ID. Get a list of Country IDs from here | |
order_id | string | Order ID. Get a list of Order IDs from here | |
geocode | string | Geographic Location Code | |
postal_code | string | Address Postal Code value |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"status":"\u003cinteger\u003e","success":"\u003cboolean\u003e","data":[{"id":"\u003cinteger\u003e","company_id":"\u003cinteger\u003e","title":"\u003cstring\u003e","logo":"\u003cstring\u003e","working_days":"\u003cstring\u003e","total":{"amount":"\u003cinteger\u003e","currency":"\u003cstring\u003e"},"services":[{"name":"\u003cstring\u003e","amount":{"amount":"\u003cinteger\u003e","currency":"\u003cstring\u003e"}},{"name":"\u003cstring\u003e","amount":{"amount":"\u003cinteger\u003e","currency":"\u003cstring\u003e"}}]},{"id":"\u003cinteger\u003e","company_id":"\u003cinteger\u003e","title":"\u003cstring\u003e","logo":"\u003cstring\u003e","working_days":"\u003cstring\u003e","total":{"amount":"\u003cinteger\u003e","currency":"\u003cstring\u003e"},"services":[{"name":"\u003cstring\u003e","amount":{"amount":"\u003cinteger\u003e","currency":"\u003cstring\u003e"}},{"name":"\u003cstring\u003e","amount":{"amount":"\u003cinteger\u003e","currency":"\u003cstring\u003e"}}]}]}