Phường / Xã
AG - Fulfillment cung cấp API thông tin địa chỉ giúp khách hàng đồng bộ đơn hàng dễ dàng hơn
HTTP Request
Attribute
Value
Description
Method
GET
Phương thức HTTP Request
Headers
content-type: application/json
HTTP Headers
Request Dto
Attribute
Type
Required
Description
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://api.agbiz.vn/v2/order/locations/wards?districtId=63_5136802',
headers: {
'Accept': 'application/json'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});Response mẫu
Last updated