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
Optional sale price in the smallest currency unit; must be lower than amount.
[optional]
currency
str
ISO 4217 currency code. Defaults to the store's default currency.
[optional]
Example
fromhostinger_api.models.ecommerce_v1_variant_batch_update_variants_request_variants_inner_prices_innerimportEcommerceV1VariantBatchUpdateVariantsRequestVariantsInnerPricesInner# TODO update the JSON string belowjson="{}"# create an instance of EcommerceV1VariantBatchUpdateVariantsRequestVariantsInnerPricesInner from a JSON stringecommerce_v1_variant_batch_update_variants_request_variants_inner_prices_inner_instance=EcommerceV1VariantBatchUpdateVariantsRequestVariantsInnerPricesInner.from_json(json)
# print the JSON string representation of the objectprint(EcommerceV1VariantBatchUpdateVariantsRequestVariantsInnerPricesInner.to_json())
# convert the object into a dictecommerce_v1_variant_batch_update_variants_request_variants_inner_prices_inner_dict=ecommerce_v1_variant_batch_update_variants_request_variants_inner_prices_inner_instance.to_dict()
# create an instance of EcommerceV1VariantBatchUpdateVariantsRequestVariantsInnerPricesInner from a dictecommerce_v1_variant_batch_update_variants_request_variants_inner_prices_inner_from_dict=EcommerceV1VariantBatchUpdateVariantsRequestVariantsInnerPricesInner.from_dict(ecommerce_v1_variant_batch_update_variants_request_variants_inner_prices_inner_dict)