You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The number of times the product or SKU was purchased.
product_id
int
The ID of the product.
product_name
str
The name of the product.
Example
fromtalon_one.models.product_unit_analytics_data_pointimportProductUnitAnalyticsDataPoint# TODO update the JSON string belowjson="{}"# create an instance of ProductUnitAnalyticsDataPoint from a JSON stringproduct_unit_analytics_data_point_instance=ProductUnitAnalyticsDataPoint.from_json(json)
# print the JSON string representation of the objectprint(ProductUnitAnalyticsDataPoint.to_json())
# convert the object into a dictproduct_unit_analytics_data_point_dict=product_unit_analytics_data_point_instance.to_dict()
# create an instance of ProductUnitAnalyticsDataPoint from a dictproduct_unit_analytics_data_point_from_dict=ProductUnitAnalyticsDataPoint.from_dict(product_unit_analytics_data_point_dict)