Polar::Models::SubscriptionCreateExternalCustomer
Inherits JSON::Serializable < Struct < Value < Object
Model representing a SubscriptionCreateExternalCustomer
This struct is auto-generated from the Polar.sh OpenAPI specification.
It uses JSON::Serializable for automatic JSON parsing and serialization.
Constructors
Instance methods
The ID of the customer in your system to create the subscription for. It must already exist in Polar.
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.
The ID of the recurring product to subscribe to. Must be a free product, otherwise the customer should go through a checkout flow.