Customer Deleted

This Callback hook is triggered when a customer is deleted from Oliver.

Request Body:

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

Response Body:

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

Triggered Callback Response Body:

{
    command: 'registerCallback',
      version: 1.0,
      method: 'POST',
      responseType: 'triggered',
      callbackCommand: 'Customer',
      hookName: 'customerDeleted',
      data: {
            ID: 'qu658fhbeiimfooogggdvu9w4',
              email: '[email protected]'
      }
}

Did this page help you?