Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2 KB

File metadata and controls

35 lines (26 loc) · 2 KB

EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel

Properties

Name Type Description Notes
id str Sales channel ID [optional]
type str Sales channel type [optional]
is_primary bool Whether this is the primary sales channel. [optional]
is_active bool Whether the sales channel is active. [optional]
external_id str External identifier for the sales channel. [optional]
name str Merchant-facing custom name. [optional]
domain str Public address where the custom sales channel lives. [optional]

Example

from hostinger_api.models.ecommerce_v1_sales_channel_sales_channel_creation_resource_sales_channel import EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel

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

# convert the object into a dict
ecommerce_v1_sales_channel_sales_channel_creation_resource_sales_channel_dict = ecommerce_v1_sales_channel_sales_channel_creation_resource_sales_channel_instance.to_dict()
# create an instance of EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel from a dict
ecommerce_v1_sales_channel_sales_channel_creation_resource_sales_channel_from_dict = EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel.from_dict(ecommerce_v1_sales_channel_sales_channel_creation_resource_sales_channel_dict)

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