SalesChannel
A Sales Channel is a method a business offers its products for purchase for the customers. For example, a Webshop can be a sales channel, and a mobile app can be another.
Constructors
constructor
**new SalesChannel**()
A Sales Channel is a method a business offers its products for purchase for the customers. For example, a Webshop can be a sales channel, and a mobile app can be another.
Properties
created_atDateRequiredThe date with timezone at which the resource was created.
deleted_atnull | DateRequiredThe date with timezone at which the resource was deleted.
descriptionnull | stringRequiredThe description of the sales channel.
idstringRequiredThe sales channel's ID
is_disabledbooleanRequiredSpecify if the sales channel is enabled or disabled.
Default: false
The details of the stock locations related to the sales channel.
metadatanull | Record<string, unknown>RequiredAn optional key-value map with additional details
namestringRequiredThe name of the sales channel.
updated_atDateRequiredThe date with timezone at which the resource was updated.
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
voidvoidWas this section helpful?