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_at
DateRequiredThe date with timezone at which the resource was created.
deleted_at
null | DateRequiredThe date with timezone at which the resource was deleted.
description
null | stringRequiredThe description of the sales channel.
id
stringRequiredThe sales channel's ID
is_disabled
booleanRequiredSpecify if the sales channel is enabled or disabled.
Default: false
The details of the stock locations related to the sales channel.
metadata
null | Record<string, unknown>RequiredAn optional key-value map with additional details
name
stringRequiredThe name of the sales channel.
updated_at
DateRequiredThe date with timezone at which the resource was updated.
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
void
voidWas this section helpful?