Announcement

Collapse
No announcement yet.

JSON API - Cancelling orders

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

  • TipPro
    replied
    Thanks for the fast reply. I appreciate the info.

    Leave a comment:


  • dcarver
    replied
    There could be multiple triggered actions.
    1. For each cancelled order item the Module_Notify_OrderItem_StatusChange API function that is part of the the "not_orderitem" feature will be called
    2. Once the status on the order changes the Module_Notify_Order_StatusChange API function that is part of the "not_order" feature will be called
    3. There could be conditions in the Order Workflow module that are triggered based on these events too
    There may be additional triggered actions but those are the main ones that come to mind.

    Leave a comment:


  • TipPro
    started a topic JSON API - Cancelling orders

    JSON API - Cancelling orders

    To cancel a whole order, I am canceling each order item via the API using the function OrderItemList_Cancel. Once all the order's items are canceled, the order is automatically set to "Cancelled".

    Other than the status change, what other (if any) actions are triggered?
Working...
X