brijesh
#1
@Devendra_Kumari_Dhay
const { platformClient } = req;
let applications = await platformClient
.order.getShipments({
pageNo: 1,
pageSize: 10,
fetchActiveShipment: true,
excludeLockedShipments: true,
sortType: "sla_asc",
});
i am using this method to get all shipments but it is giving error like getShipments is not a function
@brijesh which FDK client version you’re using and For which Environment you’re checking this.
As i have tried this on Jiox1 and it’s working.
{‘url’: ‘https://api.jiox1.de/service/platform/order/v1.0/company/4/shipments-listing?page_no=1&page_size=10&fetch_active_shipment=True&exclude_locked_shipments=True&sort_type=sla_asc’, ‘method’: ‘GET’, ‘payload’: ‘’, ‘external_call_request_time’: ‘2023-12-11 18:58:13.391969+05:30’, ‘status_code’: 200}
brijesh
#3
@Devendra_Kumari_Dhay
Active Environment: fynd,
“@gofynd/fdk-client-javascript”: “^1.0.0”,
fdk version: 3.0.4-alpha.9
brijesh
#4
it is resolved now. thanks @Devendra_Kumari_Dhay