a bit lost, I'm attempting to use
{SiteUrl}/rest/V1/order/{id}/ship
using litterally the request found here:
{
"tracks": [
{
"track_number": "1Y-9876543210",
"title": "Custom",
"carrier_code": "SomeCarrierCode"
}
]
}
The answer at the bottom, and several others I have seen imply that this should be sufficient to create a shipment via the url provided, and funnily enough while postman doesn't save the responses like the Talend plugin does, I was certain I was using this code via postman to correctly submit to two different Magento sites.
Today i finally worked out an issue with my code that was stopping me from posting these, and curiously even going back into postman i am now getting the following response
{
"message": "Shipment Document Validation Error(s):\nThe order does not allow a shipment to be created.\nYou can't create a shipment without products."
}
I have tried on both a completed order (one that previously worked) and 2 new orders with completed invoices.
Can anyone suggest where I might be going wrong? (I am confident I have the Oauth Correct because getOrders is working.