Update an existing checkout session using the client secret.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
custom_field_data |
Dict[str, Nullable[models.CheckoutUpdatePublicCustomFieldData]] | ➖ | Key-value object storing custom field values. | |
product_id |
OptionalNullable[str] | ➖ | ID of the product to checkout. Must be present in the checkout's product list. | |
product_price_id |
OptionalNullable[str] | ➖ | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. ID of the product price to checkout. Must correspond to a price present in the checkout's product list. |
|
amount |
OptionalNullable[int] | ➖ | N/A | |
seats |
OptionalNullable[int] | ➖ | Number of seats for seat-based pricing. | |
is_business_customer |
OptionalNullable[bool] | ➖ | N/A | |
customer_name |
OptionalNullable[str] | ➖ | N/A | John Doe |
customer_email |
OptionalNullable[str] | ➖ | N/A | |
customer_billing_name |
OptionalNullable[str] | ➖ | N/A | |
customer_billing_address |
OptionalNullable[models.AddressInput] | ➖ | N/A | |
customer_tax_id |
OptionalNullable[str] | ➖ | N/A | |
locale |
OptionalNullable[str] | ➖ | N/A | en |
discount_code |
OptionalNullable[str] | ➖ | Discount code to apply to the checkout. | |
allow_trial |
OptionalNullable[Literal[False]] | ➖ | Disable the trial period for the checkout session. It's mainly useful when the trial is blocked because the customer already redeemed one. |