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 line item ID, required by the fulfil endpoint.
[optional]
title
str
The line item title.
[optional]
sku
str
The variant SKU.
[optional]
variant_id
str
The variant ID.
[optional]
quantity
int
Quantity ordered.
[optional]
fulfilled_quantity
int
Quantity already fulfilled.
[optional]
returned_quantity
int
Quantity returned.
[optional]
unit_price
int
Unit price in the smallest currency unit.
[optional]
total
int
Line total in the smallest currency unit.
[optional]
Example
fromhostinger_api.models.ecommerce_v1_order_order_detail_resource_items_innerimportEcommerceV1OrderOrderDetailResourceItemsInner# TODO update the JSON string belowjson="{}"# create an instance of EcommerceV1OrderOrderDetailResourceItemsInner from a JSON stringecommerce_v1_order_order_detail_resource_items_inner_instance=EcommerceV1OrderOrderDetailResourceItemsInner.from_json(json)
# print the JSON string representation of the objectprint(EcommerceV1OrderOrderDetailResourceItemsInner.to_json())
# convert the object into a dictecommerce_v1_order_order_detail_resource_items_inner_dict=ecommerce_v1_order_order_detail_resource_items_inner_instance.to_dict()
# create an instance of EcommerceV1OrderOrderDetailResourceItemsInner from a dictecommerce_v1_order_order_detail_resource_items_inner_from_dict=EcommerceV1OrderOrderDetailResourceItemsInner.from_dict(ecommerce_v1_order_order_detail_resource_items_inner_dict)