cancel
Showing results for 
Search instead for 
Did you mean: 

salesShipOrderV1 - Posting shipments via API, ship date element?

salesShipOrderV1 - Posting shipments via API, ship date element?

Hello!

 

I am using the salesShipOrderV1 method to post shipping information to Magento2 from our fulfillment software.  I'm able to successfully create the shipment (along with carrier information and tracking numbers), however I can't find a way to indicate a shipment DATE in the post.  When the post is made, it uses the current date/time as the shipment date, which will not work in this situation.  Has anyone found success in doing this?  Thanks!

 

Endpoint:

http://magento2host/index.php/rest/V1/order/99999/ship

 

Body:

{
"items": [
{
"orderItemId": 417,
"qty": 1
}
],
"notify": true,
"tracks": [
{
"trackNumber": "1z9999999999999999",
"title": "UPS",
"carrierCode": "UPS"
}
]
}