SalesChannel
The sales channel type. This type represents a sales channel in the system.
type SalesChannel {
autoFulfill: Boolean!
brand: Brand!
brandId: ID!
channelType: SalesChannelTypeEnum
codeName: String
createdAt: ISO8601DateTime!
customPackingSlip: Boolean!
defaultChannel: Boolean!
description: String
id: ID!
localRouting: Boolean!
logoUrl: Url
name: String!
origin: SalesChannelOriginEnum
routingStrategy: [RoutingStrategyEnum!]!
status: StatusEnum!
updatedAt: ISO8601DateTime!
}
Fields
SalesChannel.autoFulfill
● Boolean!
non-null scalar
Indicates if orders from this channel should be automatically fulfilled.
SalesChannel.brand
● Brand!
non-null object
SalesChannel.brandId
● ID!
non-null scalar
SalesChannel.channelType
● SalesChannelTypeEnum
enum
SalesChannel.codeName
● String
scalar
SalesChannel.createdAt
● ISO8601DateTime!
non-null scalar
SalesChannel.customPackingSlip
● Boolean!
non-null scalar
SalesChannel.defaultChannel
● Boolean!
non-null scalar
SalesChannel.description
● String
scalar
SalesChannel.id
● ID!
non-null scalar
SalesChannel.localRouting
● Boolean!
non-null scalar
Indicates if orders from this channel should be routed locally or not. If false, Endless Commerce will use the roting information received from .external order sources. If true, Endless Commerce will use the routing strategy defined for this channel.
SalesChannel.logoUrl
● Url
scalar
SalesChannel.name
● String!
non-null scalar
SalesChannel.origin
● SalesChannelOriginEnum
enum
SalesChannel.routingStrategy
● [RoutingStrategyEnum!]!
non-null enum
The routing strategy to use when routing orders from this channel. This strategy is used when
localRouting
is set to true. The routing strategy is a list of routing rules that are applied in order.
SalesChannel.status
● StatusEnum!
non-null enum
SalesChannel.updatedAt
● ISO8601DateTime!
non-null scalar
Returned By
createSalesChannel
mutation ● salesChannel
query ● updateSalesChannel
mutation
Member Of
Order
object ● SalesChannelConnection
object ● SalesChannelEdge
object