Announcement

Collapse
No announcement yet.

Order Status as Shipped is not Updating

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Order Status as Shipped is not Updating

    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':

    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))
    Please suggest.
Working...
X