Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.08 KB

File metadata and controls

42 lines (33 loc) · 2.08 KB

CustomerActivityReport

A summary report of customer activity for a given time range.

Properties

Name Type Description Notes
integration_id str The integration ID set by your integration layer.
created datetime The time this entity was created.
name str The name for this customer profile.
customer_id int The internal Talon.One ID of the customer.
last_activity datetime The last activity of the customer. [optional]
coupon_redemptions int Number of coupon redemptions in all customer campaigns.
coupon_use_attempts int Number of coupon use attempts in all customer campaigns.
coupon_failed_attempts int Number of failed coupon use attempts in all customer campaigns.
accrued_discounts float Number of accrued discounts in all customer campaigns.
accrued_revenue float Amount of accrued revenue in all customer campaigns.
total_orders int Number of orders in all customer campaigns.
total_orders_no_coupon int Number of orders without coupon used in all customer campaigns.
campaign_name str The name of the campaign this customer belongs to.

Example

from talon_one.models.customer_activity_report import CustomerActivityReport

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

# convert the object into a dict
customer_activity_report_dict = customer_activity_report_instance.to_dict()
# create an instance of CustomerActivityReport from a dict
customer_activity_report_from_dict = CustomerActivityReport.from_dict(customer_activity_report_dict)

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