Checkout started
Ozan avatar
Written by Ozan
Updated over a week ago

This Callback hook is triggered when Checkout has started.

Request Body:

JSON

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

Response Body:

JSON

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

Triggered Callback Response Body :

JSON

{ 
command: 'registerCallback',
version: 1.0,
method: 'POST',
responseType: 'triggered',
callbackCommand : 'Product',
hookName: 'checkoutStarted',
data: { customerEmail : '[email protected]', cartBalance : } }
Did this answer your question?