To get a list of all orders - call the following method

new GC.OrderService().getOrdersList()

12101210

To get detailed information about an order, you can use the method by passing it the order idOrder

new GC.OrderService().getOrderById(idOrder)

842842

If customer chooses to cancel an order use .cancelOrder.
NOTE: Cancel allowed until order delivery started. In NEW status only.

new GC.OrderService().cancelOrder(idOrder)


Did this page help you?