Checkout Sync Complete
Ozan avatar
Written by Ozan
Updated over a week ago

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

Request Body:

JSON

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

Response Body:

JSON

{ 
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:

JSON

{ 
command: 'registerCallback',
version: 1.0,
method: 'POST',
responseType: 'triggered',
callbackCommand: 'Checkout',
hookName: 'checkoutSyncComplete',
data: { wooCommerceOrderID : 'erg4534tfgve34tgefgt' } }
Did this answer your question?