Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 13.4 KB

order.md

File metadata and controls

33 lines (30 loc) · 13.4 KB

Order

Fields

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
status str ✔️ N/A
amount int ✔️ N/A
tax_amount int ✔️ N/A
refunded_amount int ✔️ Amount refunded
refunded_tax_amount int ✔️ Sales tax refunded
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.OrderProductPrice ✔️ N/A
discount Nullable[models.OrderDiscount] ✔️ N/A
subscription Nullable[models.OrderSubscription] ✔️ N/A
custom_field_data Dict[str, Nullable[models.OrderCustomFieldData]] Key-value object storing custom field values.