Purpose
Theorder.approval.status.changed webhook is triggered whenever an Order’s approval status changes: when it is submitted for review, approved, rejected, or sent back to draft.
It is only sent for accounts that use approval workflows. Each transition sends an event, including a return to an earlier status, such as a second submitted after a rejection.
A new order starts as approved, and an event is sent only when the status changes. Saving a new order without submitting it sends draft. Submitting it then sends approved if it breaks no rules, or if the submitter can approve the violations themselves, and submitted otherwise.
Payload format
Unlike the other order webhooks, this event does not send the full order. Useorder_id to look the order up, or watch the approval_status field that every Order payload carries.
Example
JSON