struct

Polar::Models::EventCreateCustomer

Inherits JSON::Serializable < Struct < Value < Object

Model representing a EventCreateCustomer

This struct is auto-generated from the Polar.sh OpenAPI specification. It uses JSON::Serializable for automatic JSON parsing and serialization.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

customer_id

ID of the customer in your Polar organization associated with the event.

Source
metadata

Key-value object allowing you to store additional information about the event. Some keys like _llm are structured data that are handled specially by Polar.

The key must be a string with a maximum length of 40 characters. The value must be either:

A string with a maximum length of 500 characters An integer A floating-point number A boolean

You can store up to 50 key-value pairs.

Source
name

The name of the event.

Source
organization_id

The ID of the organization owning the event. Required unless you use an organization token.

Source
timestamp

The timestamp of the event.

Source