Add storeId to the Shipment Model
The Shipment Model does not include the storeId which is a crucial element of an Order.
Basically it is a property of the "advancedOptions" which is always returned as null in the Shipment Request. Why?
Hey, @TechWiz! Thank you for bringing this up! Can you tell me more about what you’re looking to do here? I’m not sure I understand what your goal may be.
I believe I was quite clear in my initial post but I will try to explain it better.
The storeId of an order and/or shipment may me one of the most, if not thee most crucial property of an order.
Truthfully I don't even understand why that property is located within the advancedOptions object rather than being one of the main properties of the Order & Shipment Model.
Within your Front End UI on the Shipments tab I have the option to filter by Store so obviously you felt it as being an important filter, yet in the API, you don't have a post argument to filter by Store ID nor do you return that information. Even more interesting is that you DO return the advancedOptions property, but it is always null, unlike when Orders are requested.
I seriously doubt that this should take more than 5-15 minutes to have the advancedOptions returned using the same info used in the Order Model or else just add that one property to the Shipment Model.
The alternative would be for me to have to make countless requests for each orderId so that I can get the storeId from there.
Thanks in advance for your understanding.
TechWiz Design Inc