Crea un nuevo evento para el cliente
Security
api-key
- Production serverhttps://app.mercately.com/retailers/api/v1/customers/:id/events
- Shops API Production serverhttps://mercately.shop/retailers/api/v1/customers/:id/events
curl -i -X POST \
https://app.mercately.com/retailers/api/v1/customers/:id/events \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"customer_event": {
"category": "purchase",
"subcategory": "order_placed",
"action": "created",
"type_event": "order",
"source": "api",
"url_spec": "https://example.com/order/123",
"created_at": "2024-01-15T10:30:00Z"
}
}'Response
{ "messages": "Customer event created successfully" }