GetOrderShipmentsHistory "StatusValue": 0 #368
Unanswered
liujialin95
asked this question in
Q&A
Replies: 1 comment
-
Hi, GetOrderShipmentsHistory will not return the status as it looks for both channel db and HQ for the order history. If you want to fetch the status then you need to override a request handler in that handler you can write a custom code to read status from HQ. Hope you get a clarification for the questions, else feel free to connect we can check this. Regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
on order history module I'm trying to add StatusValue in list view.
on devtools I can see that the api called is GetOrderShipmentsHistory that returns OrderShipments entity.
I noted that the StatusValue is always equal to 0.
I expect to have the StatusValue equal to SalesTable.SalesStatus in HQ.
I've try in postman to call another api {{baseUrl}}/Commerce/SalesOrders/GetSalesOrderDetailsBySalesId(salesId='{{salesId}}')
that returns SalesOrder entity that has the StatusValue correctly valorized.
in my example 3 = delivered
Is the Ordershipment.StatusValue related to SalesTable.SalesStatus or it get the value from other source?
Beta Was this translation helpful? Give feedback.
All reactions