Skip to main content

SalesChannel

Sales Channel​

Represents a sales channel within a brand. Sales channels define different sources through which orders can be placed and managed, including configuration for routing, fulfillment, and order processing behavior.

type SalesChannel {
allocateToExternal: Boolean!
approveOrders: Boolean!
autoFulfill: Boolean!
brand: Brand @deprecated
brandId: ID @deprecated
channelType: SalesChannelTypeEnum
codeName: String
consolidatedReceiptsAutomation: Boolean!
consolidatedSalesReceipts: Boolean!
createdAt: ISO8601DateTime!
customPackingSlip: Boolean!
defaultChannel: Boolean!
defaultCustomer: Customer
defaultCustomerId: ID
defaultTemplateId: ID
description: String
fulfillUnpaid: Boolean!
handle: String
id: ID!
imageRequirements: ImageRequirements!
integrationMappings: [SalesChannelIntegrationMapping!]
invoicingScope: String!
invoicingType: String!
localRouting: Boolean!
logoUrl: Url
name: String!
origin: SalesChannelOriginEnum
retrieveCartonLevelData: Boolean!
routingConfiguration: RoutingConfiguration
routingStrategy: [RoutingStrategyEnum!]!
salesChannelWarehouses: [SalesChannelWarehouse!]!
status: StatusEnum!
updatedAt: ISO8601DateTime!
warehouses: [Warehouse!]!
}

Fields​

SalesChannel.allocateToExternal ● Boolean! non-null scalar common​

Whether orders from this channel can be allocated to read-only buildings.

SalesChannel.approveOrders ● Boolean! non-null scalar common​

Whether pending orders are auto-approved when problems are resolved or require manual approval.

SalesChannel.autoFulfill ● Boolean! non-null scalar common​

Whether orders from this channel should be automatically fulfilled.

SalesChannel.brand ● Brand deprecated object common​

DEPRECATED

This field will be removed in the future. Brand is becoming a product-only attribute.

The brand this sales channel belongs to.

SalesChannel.brandId ● ID deprecated scalar common​

DEPRECATED

This field will be removed in the future. Brand is becoming a product-only attribute.

The unique identifier of the brand this sales channel belongs to.

SalesChannel.channelType ● SalesChannelTypeEnum enum sales-channels​

The type of sales channel.

SalesChannel.codeName ● String scalar common​

A unique code name for programmatic identification.

SalesChannel.consolidatedReceiptsAutomation ● Boolean! non-null scalar common​

When enabled, the scheduled consolidated send runs for this channel, blocking manual bulk and individual sends.

SalesChannel.consolidatedSalesReceipts ● Boolean! non-null scalar common​

When enabled, receipts on this channel are consolidated into a single per-cadence document, blocking manual creation of order-level receipts.

SalesChannel.createdAt ● ISO8601DateTime! non-null scalar common​

When the sales channel was created.

SalesChannel.customPackingSlip ● Boolean! non-null scalar common​

Whether this channel uses custom packing slips for shipments.

SalesChannel.defaultChannel ● Boolean! non-null scalar common​

Whether this is the default sales channel for the brand.

SalesChannel.defaultCustomer ● Customer object common​

The default customer for orders created through this channel.

SalesChannel.defaultCustomerId ● ID scalar common​

ID of the default customer stamped onto inbound orders without an explicit customer.

SalesChannel.defaultTemplateId ● ID scalar common​

The default template ID for special orders created in this channel.

SalesChannel.description ● String scalar common​

Detailed description of the sales channel's purpose.

SalesChannel.fulfillUnpaid ● Boolean! non-null scalar common​

Whether orders from this channel will be fulfilled even if they are not paid.

SalesChannel.handle ● String scalar common​

A stable, human-readable identifier unique per company.

SalesChannel.id ● ID! non-null scalar common​

Unique identifier for the sales channel.

SalesChannel.imageRequirements ● ImageRequirements! non-null object sales-channels​

What this channel requires of a listing's images.

SalesChannel.integrationMappings ● [SalesChannelIntegrationMapping!] list object sales-channels​

Integration mappings that link this sales channel to external identifiers in downstream systems.

SalesChannel.invoicingScope ● String! non-null scalar common​

Granularity at which financials are generated on this channel. One of order, fulfillment, or shipment.

SalesChannel.invoicingType ● String! non-null scalar common​

Controls whether shipments on this channel generate sales receipts or invoices. One of sales_receipt or invoice.

SalesChannel.localRouting ● Boolean! non-null scalar common​

Whether the routing strategy is local or global. If true, Endless Commerce will manage the routing for orders from this sales channel. If false, the routing strategy will be managed by the external system integrated with Endless Commerce.

SalesChannel.logoUrl ● Url scalar common​

URL for the sales channel's logo or branding image.

SalesChannel.name ● String! non-null scalar common​

The name of the sales channel.

SalesChannel.origin ● SalesChannelOriginEnum enum sales-channels​

How orders are typically created in this channel.

SalesChannel.retrieveCartonLevelData ● Boolean! non-null scalar common​

When enabled, Endless will check for any carton-level data (such as contents and container codes) associated with an order shipment.

SalesChannel.routingConfiguration ● RoutingConfiguration object orders​

Configuration for order fulfillment routing strategy and automatic fulfillment settings.

SalesChannel.routingStrategy ● [RoutingStrategyEnum!]! non-null enum common​

The routing strategy used for orders from this channel. This strategy is applied when local_routing is true. The list represents routing rules applied in order.

SalesChannel.salesChannelWarehouses ● [SalesChannelWarehouse!]! non-null object sales-channels​

All warehouse configurations for this sales channel, including priority and exclusion status.

SalesChannel.status ● StatusEnum! non-null enum common​

The operational status of the sales channel.

SalesChannel.updatedAt ● ISO8601DateTime! non-null scalar common​

When the sales channel was last updated.

SalesChannel.warehouses ● [Warehouse!]! non-null object warehouses​

The warehouses available for fulfillment in this sales channel. Returns included warehouses ordered by priority.

Returned By​

createSalesChannel mutation ● salesChannel query ● updateSalesChannel mutation

Member Of​

Customer object ● MediaChannelCoverage object ● Order object ● ProductSalesChannel object ● SalesChannelConnection object ● SalesChannelEdge object ● SalesChannelIntegrationMapping object ● V2Order object

Implemented By​

ProductPriceable union