Item deleted from Cart

This Callback hook is triggered when an item is deleted from the cart.

Request Body:

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

Response Body:

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

Triggered Callback Response Body:

{
    command: 'registerCallback',
    version: 1.0,
    method: 'POST',
    responseType: 'triggered',
    callbackCommand: 'Cart',
    hookName: 'itemDeletedFromCart',
    data: {
            ID: 'qu658fhbeiimfoo',
            type: 'composite'
             }
}

Did this page help you?