FulfillmentInbound.GetShipments() problem with ShipmentStatus INTRANSIT or CHECKEDIN #285
-
This library has been a real time saver and relatively easy to use so far. However, I did run into a problem calling FulfillmentInbound.GetShipments() when using QueryType.SHIPMENT with ShipmentStatus.INTRANSIT or ShipmentStatus.CHECKEDIN. Here is the code illustrating the problem:
The ShipmentStatus enum needs to be fixed so that INTRANSIT is IN_TRANSIT and CHECKEDIN is CHECKED_IN. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Update: the API documentation says to use "IN_TRANSIT" rather than "INTRANSIT", would would explain the error message noted. However, I noticed some actually get returned with "INTRANSIT" as the status, so not sure what is going on with that. |
Beta Was this translation helpful? Give feedback.
-
Yes, it works fine in version 1.4.23. Thanks for the quick fix! |
Beta Was this translation helpful? Give feedback.
Yes, it works fine in version 1.4.23. Thanks for the quick fix!