You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The order ID, required by every other order endpoint.
[optional]
display_id
int
The order number the merchant and customer see.
[optional]
status
str
The order status.
[optional]
payment_status
str
The payment status. A paid order is "captured".
[optional]
fulfillment_status
str
The fulfilment status.
[optional]
total
int
Order total in the smallest currency unit.
[optional]
currency_code
str
The order currency code.
[optional]
customer_email
str
The customer email.
[optional]
item_count
int
Number of distinct line items. Retrieve the order for the items themselves.
[optional]
created_at
datetime
ISO timestamp of when the order was created.
[optional]
Example
fromhostinger_api.models.ecommerce_v1_order_order_resourceimportEcommerceV1OrderOrderResource# TODO update the JSON string belowjson="{}"# create an instance of EcommerceV1OrderOrderResource from a JSON stringecommerce_v1_order_order_resource_instance=EcommerceV1OrderOrderResource.from_json(json)
# print the JSON string representation of the objectprint(EcommerceV1OrderOrderResource.to_json())
# convert the object into a dictecommerce_v1_order_order_resource_dict=ecommerce_v1_order_order_resource_instance.to_dict()
# create an instance of EcommerceV1OrderOrderResource from a dictecommerce_v1_order_order_resource_from_dict=EcommerceV1OrderOrderResource.from_dict(ecommerce_v1_order_order_resource_dict)