Product type opened
The Callback hook is triggered when a product type is opened.
Request Body:
{
command: 'registerCallback',
version: 1.0,
method: 'POST',
data:
[
{
callbackCommand : 'Product',
hookName: 'productTypeOpened'
}
]
}
Response Body:
{
command: 'registerCallback',
version: 1.0,
method: 'POST',
responseType: 'registered',
Hooks:
[
{
callbackCommand : 'Product',
hookName: 'productTypeOpened',
status: 200,
message: 'Event registered successfully',
error: null
}
]
}
Triggered Callback Response Body:
{
command: 'registerCallback',
version: 1.0,
method: 'POST',
responseType: 'triggered',
callbackCommand: 'Product',
hookName: 'productTypeOpened',
data: {
productID: 'ge4538hfcvsrg3iebvc',
productType: 'composite'
}
}
Updated over 1 year ago