Kaddra integrates with Magento using the username and password used in the Magento console. This will need to be provided to the Customer Success team together with the site URL.

Setting up Webhooks

Webhooks will need to be created manually in Magento but before that please ask on the three webhook URLs from the Customer Success team

Webhooks needed:

Product Created

Product Updated

Product Archived

Once the URLs are provided follow the steps below to set up.

1. From the Magento console go to System and then press Manage Hooks

2. Press Add New and then select New Product as hook type.

3. In General, Set the below:

Name: Product Created

Status: Enable

Store Views: All Store Views

Priority: 0

4. In Actions, set the below:

Payload URL: Webhook URL provided for Product Created

Method: POST

Content Type: application/json

Body: copy paste the below

{

"entity_id": "{{ item.entity_id }}",

"name": "{{ item.name }}",

"sku": "{{ item.sku }}",

"sku_type": "{{ item.sku_type }}",

"price": "{{ item.price }}",

"enabled_status":"{{ item.status }}",

"updated_at":"{{ item.updated_at }}",

"weight": "{{ item.weight }}",

"quantity":"{{ item.quantity }}",

"old_id":"{{ item.old_id }}"

}

5. Press Save from the upper right part of the screen.

6. In Manage Hooks screen, press Add New again and select Update Product

7. In General, Set the below:

Name: Product Updated

Status: Enable

Store Views: All Store Views

Priority: 0

8. In Actions. set the below:

Payload URL: Webhook URL provided for Product Updated

Method: POST

Content Type: application/json

Body: copy paste the below

{

"entity_id": "{{ item.entity_id }}",

"name": "{{ item.name }}",

"sku": "{{ item.sku }}",

"sku_type": "{{ item.sku_type }}",

"price": "{{ item.price }}",

"enabled_status":"{{ item.status }}",

"updated_at":"{{ item.updated_at }}",

"weight": "{{ item.weight }}",

"quantity":"{{ item.quantity }}",

"old_id":"{{ item.old_id }}"

}

9. Press Save from the upper right part of the screen

10. In Manage Hooks screen, press Add New again and select Delete Product

11. In General, Set the below:

Name: Product Archived

Status: Enable

Store Views: All Store Views

Priority: 0

12. In Actions. set the below:

Payload URL: Webhook URL provided for Product Archived

Method: POST

Content Type: application/json

Body: copy paste the below

{

"entity_id": "{{ item.entity_id }}"

}

13. Press Save from the upper right part of the screen, Three webhooks should then appear in the Manage Hooks screen.

Did this answer your question?