Field | Type | Required | Description |
---|---|---|---|
created_at |
date | ✔️ | Creation timestamp of the object. |
modified_at |
date | ✔️ | Last modification timestamp of the object. |
id |
str | ✔️ | The ID of the object. |
metadata |
Dict[str, models.OrderMetadata] | ✔️ | N/A |
amount |
int | ✔️ | N/A |
tax_amount |
int | ✔️ | N/A |
currency |
str | ✔️ | N/A |
billing_reason |
models.OrderBillingReason | ✔️ | N/A |
billing_address |
Nullable[models.Address] | ✔️ | N/A |
customer_id |
str | ✔️ | N/A |
product_id |
str | ✔️ | N/A |
product_price_id |
str | ✔️ | N/A |
discount_id |
Nullable[str] | ✔️ | N/A |
subscription_id |
Nullable[str] | ✔️ | N/A |
checkout_id |
Nullable[str] | ✔️ | N/A |
customer |
models.OrderCustomer | ✔️ | N/A |
user_id |
str | ✔️ | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. |
user |
models.OrderUser | ✔️ | N/A |
product |
models.OrderProduct | ✔️ | N/A |
product_price |
models.ProductPrice | ✔️ | N/A |
discount |
Nullable[models.OrderDiscount] | ✔️ | N/A |
subscription |
Nullable[models.OrderSubscription] | ✔️ | N/A |
custom_field_data |
Optional[models.OrderCustomFieldData] | ➖ | Key-value object storing custom field values. |