Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.07 KB

File metadata and controls

37 lines (28 loc) · 2.07 KB

EcommerceV1ProductProductResource

Properties

Name Type Description Notes
id str The product ID, required by every other product endpoint. [optional]
title str The product name. [optional]
status str The product status. [optional]
thumbnail str The product's primary image URL, or null. [optional]
type str The product type. [optional]
variant_count int Number of variants. Use include=variants to retrieve them. [optional]
price_range EcommerceV1ProductProductResourcePriceRange [optional]
variants List[EcommerceV1ProductProductResourceVariantsInner] Present (non-null) only when include=variants is set; null otherwise. [optional]
media List[EcommerceV1ProductProductResourceMediaInner] Present (non-null) only when include=media is set; null otherwise. [optional]

Example

from hostinger_api.models.ecommerce_v1_product_product_resource import EcommerceV1ProductProductResource

# TODO update the JSON string below
json = "{}"
# create an instance of EcommerceV1ProductProductResource from a JSON string
ecommerce_v1_product_product_resource_instance = EcommerceV1ProductProductResource.from_json(json)
# print the JSON string representation of the object
print(EcommerceV1ProductProductResource.to_json())

# convert the object into a dict
ecommerce_v1_product_product_resource_dict = ecommerce_v1_product_product_resource_instance.to_dict()
# create an instance of EcommerceV1ProductProductResource from a dict
ecommerce_v1_product_product_resource_from_dict = EcommerceV1ProductProductResource.from_dict(ecommerce_v1_product_product_resource_dict)

[Back to Model list] [Back to API list] [Back to README]