@things-factory/lazop-api
v0.0.2
Published
Lazada Open Platform API
Downloads
8
Maintainers
Keywords
Readme
LAZADA Open Platform API
https://open.lazada.com/doc/api.htm
for logistics
GetNewBagNumber https://open.lazada.com/doc/api.htm#/api?cid=6&path=/logistics/lzd_bag/get GetShipmentProvider https://open.lazada.com/doc/api.htm#/api?cid=6&path=/shipment/providers/get QueryPackageStatus https://open.lazada.com/doc/api.htm#/api?cid=6&path=/logistics/package/query UploadLazadaBagNumber https://open.lazada.com/doc/api.htm#/api?cid=6&path=/logistics/lzd_bag/upload UploadSellerBagNumber https://open.lazada.com/doc/api.htm#/api?cid=6&path=/logistics/seller_bag/upload
프로젝트 빌드 설정
https://github.com/microsoft/TypeScript-Babel-Starter 가이드를 따름
SAMPLE
const client = new LazopClient(url, appkey, appSecret);
const response = await client.get('/order/get', {}, {
order_id, '16090'
}, accessToken)
console.log(response.json());