Track a purchase conversion
POST/api/integrations/v1/conversions
Records a purchase that was attributed to a Neuroon search result.
Call this endpoint when a customer completes a purchase after clicking on a product
from Neuroon search results. Provide the order details and the searchLogId from
the widget response to link the conversion back to the original search.
Important: Each item must reference a valid searchLogId that was generated
when the customer performed the search. This establishes the attribution chain.
Order total: The orderTotal should include the total order value (all items,
pre-discount, pre-tax). Individual item lineTotal values should sum to the
total after distributing discounts proportionally.
Request
Responses
- 200
- 400
- 401
- 422
Conversion tracked successfully
Invalid request — check that items list is not empty and fields are valid
Missing or invalid API key
No attribution possible — searchLogId not found or expired