Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.58 KB

File metadata and controls

32 lines (23 loc) · 1.58 KB

EcommerceV1ProductCreatePhysicalProductRequest

Properties

Name Type Description Notes
name str The product name.
price int Price in the smallest currency unit (e.g. cents). Must be positive.
description str The product description. [optional]
currency str ISO 4217 currency code. Defaults to the store's default currency when omitted. [optional]

Example

from hostinger_api.models.ecommerce_v1_product_create_physical_product_request import EcommerceV1ProductCreatePhysicalProductRequest

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

# convert the object into a dict
ecommerce_v1_product_create_physical_product_request_dict = ecommerce_v1_product_create_physical_product_request_instance.to_dict()
# create an instance of EcommerceV1ProductCreatePhysicalProductRequest from a dict
ecommerce_v1_product_create_physical_product_request_from_dict = EcommerceV1ProductCreatePhysicalProductRequest.from_dict(ecommerce_v1_product_create_physical_product_request_dict)

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