I'm using Miva Merchant 5.5 PR8. Is there a way to update the order status programmatically using Miva Script? We use an older custom mvc that updates the order status through the Viking Coders Order Status Manager plugin. I would like to update this code to utilize the new Miva order status functions. I get the results I want when I manually use the admin Import Data XML and the OrderShipment_Add and OrderShipment_SetStatus xml (from the master provide file - sample below). Is there a way to do this programmatically? Can the same function be called that the Import Data XML uses?
Code:
<OrderShipment_Add order_id="1234"> <ProductList> <Product product_code="STDPROD001" quantity="1" /> </ProductList> <Code>01741-20120515-01185</Code> </OrderShipment_Add> <OrderShipment_SetStatus code="01741-20120515-01185"> <MarkAsShipped>1</MarkAsShipped> <TrackingNumber>0000000012345678912345</TrackingNumber> <TrackingType>USPS</TrackingType> <ShipDate> <Day>15</Day> <Month>05</Month> <Year>2012</Year> </ShipDate> </OrderShipment_SetStatus>
Comment