Webhooks allow tracking the statuses of long processes running on the Personaclick side. To start using a webhook, set it up in your account in the "Webhooks" section. The data sent to the webhook depends on a process.
Import Products
Properties used in the request:
Name
Type
Description
status
string
Process completion status: succes, error.
task_id
string/number
Personaclick's internal process ID.
item_id
string/number
The product ID on which the import process failed.
operation
string
Process type. The "import_products" in this case.
Examples:
## success
{
"status": "success",
"task_id": "123456",
"operation": "import_products"
}
## error
{
"status": "error",
"message": "Product ID 100500 doesn't have a picture link.",
"item_id": "100500",
"operation": "import_products"
}
Import Audience
Properties used in the request:
Name
Type
Description
status
string
Process completion status: succes, error.
task_id
string/number
Personaclick's internal process ID.
segment_id
string/number
The segment ID on which the import process failed.
operation
string
Process type. The "import_segment" in this case.
Examples:
## success
{
"status": "success",
"segment_id": "100500",
"task_id": "12345",
"operation": "import_segment"
}
## error
{
"status": "error",
"message": "At least one ID must be in the request",
"segment_id": "100500",
"task_id": "12345",
"operation": "import_segment"
}
Dynamic Segment Calculation
Properties used in the request:
Name
Type
Description
status
string
Process completion status: succes, failed.
segment_id
string/number
The segment ID in the process.
operation
string
Process type. The "segment_recalculated_dynamic" in this case.