POST
/api/v1/storefront/projects/{project_slug}/eventsRecord Storefront Event
| Name | Type | In | Description |
|---|---|---|---|
| project_slug | string | path | Required. |
| Field | Type | Description | |
|---|---|---|---|
| target_type | CatalogEventTargetType | required | Storefront catalog engagement target kinds. |
| target_id | string | required | — |
| source_url | string (nullable) | optional | — |
| metadata | object | optional | — |
curl -X POST "https://api.webtools.ng/api/v1/storefront/projects/your-project/events" \
-H "X-Project-Key: wt_pk_your_key" \
-H "Content-Type: application/json" \
-d '{ "target_type": "…", "target_id": "…" }'