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
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]
download_url
str
Optional external download link delivered to the customer after purchase.
[optional]
Example
fromhostinger_api.models.ecommerce_v1_product_create_digital_product_requestimportEcommerceV1ProductCreateDigitalProductRequest# TODO update the JSON string belowjson="{}"# create an instance of EcommerceV1ProductCreateDigitalProductRequest from a JSON stringecommerce_v1_product_create_digital_product_request_instance=EcommerceV1ProductCreateDigitalProductRequest.from_json(json)
# print the JSON string representation of the objectprint(EcommerceV1ProductCreateDigitalProductRequest.to_json())
# convert the object into a dictecommerce_v1_product_create_digital_product_request_dict=ecommerce_v1_product_create_digital_product_request_instance.to_dict()
# create an instance of EcommerceV1ProductCreateDigitalProductRequest from a dictecommerce_v1_product_create_digital_product_request_from_dict=EcommerceV1ProductCreateDigitalProductRequest.from_dict(ecommerce_v1_product_create_digital_product_request_dict)