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
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
fromhostinger_api.models.ecommerce_v1_sales_channel_store_requestimportEcommerceV1SalesChannelStoreRequest# TODO update the JSON string belowjson="{}"# create an instance of EcommerceV1SalesChannelStoreRequest from a JSON stringecommerce_v1_sales_channel_store_request_instance=EcommerceV1SalesChannelStoreRequest.from_json(json)
# print the JSON string representation of the objectprint(EcommerceV1SalesChannelStoreRequest.to_json())
# convert the object into a dictecommerce_v1_sales_channel_store_request_dict=ecommerce_v1_sales_channel_store_request_instance.to_dict()
# create an instance of EcommerceV1SalesChannelStoreRequest from a dictecommerce_v1_sales_channel_store_request_from_dict=EcommerceV1SalesChannelStoreRequest.from_dict(ecommerce_v1_sales_channel_store_request_dict)