Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.61 KB

File metadata and controls

31 lines (22 loc) · 1.61 KB

EcommerceV1SalesChannelStoreRequest

Properties

Name Type Description Notes
type str Sales channel type. "custom" is a headless channel: it requires a name and takes an optional public url. "quick-link" is a one-page store whose handle is auto-generated; it supports neither name nor url.
name str Merchant-facing custom name. Required for custom channels; not supported for quick-link. [optional]
url str Optional public url for the channel. Custom channels only; not supported for quick-link. [optional]

Example

from hostinger_api.models.ecommerce_v1_sales_channel_store_request import EcommerceV1SalesChannelStoreRequest

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

# convert the object into a dict
ecommerce_v1_sales_channel_store_request_dict = ecommerce_v1_sales_channel_store_request_instance.to_dict()
# create an instance of EcommerceV1SalesChannelStoreRequest from a dict
ecommerce_v1_sales_channel_store_request_from_dict = EcommerceV1SalesChannelStoreRequest.from_dict(ecommerce_v1_sales_channel_store_request_dict)

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