Polar::Models::CustomerCreate
Inherits JSON::Serializable < Struct < Value < Object
Model representing a CustomerCreate
This struct is auto-generated from the Polar.sh OpenAPI specification.
It uses JSON::Serializable for automatic JSON parsing and serialization.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
billing_address
Sourceexternal_id
The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.
metadata
Key-value object allowing you to store additional information.
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.
name
Sourceorganization_id
The ID of the organization owning the customer. Required unless you use an organization token.
tax_id
Source