Checkout Sync Complete

This callback hook is triggered when the checkout information has successfully synced to woocommerce.

Request Body:

{
    command: 'registerCallback',
    version: 1.0,
    method: 'POST',
    data:   
[
            {
                callbackCommand : 'Checkout',
                hookName: 'checkoutSyncComplete'
            }
           ]
}

Response Body:

{
    command: 'registerCallback',
    version: 1.0,
    method: 'POST',
    responseType: 'registered',
    Hooks:
            [
{
                callbackCommand : 'Checkout',
                hookName: 'checkoutSyncComplete',
                status: 200,
                message: 'Event registered successfully',
                error: null
                
            }
]
    }

Triggered Callback Response Body:

{
    command: 'registerCallback',
    version: 1.0,
    method: 'POST',
    responseType: 'triggered',
    callbackCommand: 'Checkout',
    hookName: 'checkoutSyncComplete',
    data: {
            wooCommerceOrderID : 'erg4534tfgve34tgefgt'
             }
}

Did this page help you?