Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.93 KB

File metadata and controls

39 lines (30 loc) · 1.93 KB

Event

Properties

Name Type Description Notes
id int The internal ID of this entity.
created datetime The time this entity was created.
application_id int The ID of the Application that owns this entity.
profile_id str ID of the customer profile set by your integration layer. Note: If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. [optional]
store_integration_id str The integration ID of the store. You choose this ID when you create a store. [optional]
type str A string representing the event. Must not be a reserved event name.
attributes object Arbitrary additional JSON data associated with the event.
session_id str The ID of the session that this event occurred in. [optional]
effects List[object] An array of effects generated by the rules of the enabled campaigns of the Application. You decide how to apply them in your system. See the list of API effects.
ledger_entries List[LedgerEntry] Ledger entries for the event. [optional]
meta Meta [optional]

Example

from talon_one.models.event import Event

# TODO update the JSON string below
json = "{}"
# create an instance of Event from a JSON string
event_instance = Event.from_json(json)
# print the JSON string representation of the object
print(Event.to_json())

# convert the object into a dict
event_dict = event_instance.to_dict()
# create an instance of Event from a dict
event_from_dict = Event.from_dict(event_dict)

[Back to Model list] [Back to API list] [Back to README]