Submit an Antavo event

Use this endpoint to submit a single event for a specified customer. The attributes provided in the data object are examples of point_add and checkout events. Refer to the complete list of events for all available actions and their attributes.

Examples of event submission:

  • Standard event submission: Submit an event for the customer without any additional identifiers.
  • Event submission with an external ID: Include the external_id attribute to link the event with an external identifier of the customer from another system or database.
  • Event submission with multiple accounts: Specify multiple accounts by including their IDs in the 'account' attribute. This requires the Points economy module to be enabled.
    Note: if no account is specified, the event will be assigned to the default account.
Body Params
string
required

The unique ID of the customer.

string

The external ID of the customer. This is only required for external ID lookup.

string
enum
required

The corresponding event action. For a complete list of available actions, please visit full list of events.

Allowed:
string

The unique ID of the account. This is only required for multi-accounts.

data
object
required
Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json