I am using below python code to mark an order as shipped in Miva. this is returning 'Success:1' but not updating order status to 'shipped' from 'processed':
Please suggest.
request = OrderShipmentListUpdate(client)
shipment_updates = [
{
"shpmnt_id": shipment_id,
"mark_shipped": True,
"tracknum": "111111",
"tracktype": "UPS",
"cost": "5.00"
}
]
try:
request.set_shipment_updates = shipmen t_updates
response = request.send()
if response.is_success():
print('Successfully acknowledged')
print(response.data)
else:
print('Error while updating')
except ClientException as e:
print(str(e))
shipment_updates = [
{
"shpmnt_id": shipment_id,
"mark_shipped": True,
"tracknum": "111111",
"tracktype": "UPS",
"cost": "5.00"
}
]
try:
request.set_shipment_updates = shipmen t_updates
response = request.send()
if response.is_success():
print('Successfully acknowledged')
print(response.data)
else:
print('Error while updating')
except ClientException as e:
print(str(e))