Skip to main content

UpdateSalesChannelInput

Autogenerated input type of UpdateSalesChannel

input UpdateSalesChannelInput {
allocateToExternal: Boolean
approveOrders: Boolean
autoFulfill: Boolean
channelType: SalesChannelTypeEnum
clientMutationId: String
customPackingSlip: Boolean
defaultChannel: Boolean
defaultTemplateId: ID
description: String
fulfillUnpaid: Boolean
id: ID!
integrationId: ID
localRouting: Boolean
logoUrl: Url
name: String
origin: SalesChannelOriginEnum
retrieveCartonLevelData: Boolean
routingStrategy: [RoutingStrategyEnum!]
status: StatusEnum
}

Fields

UpdateSalesChannelInput.allocateToExternal ● Boolean scalar

If enabled, orders created through this sales channel can be allocated to read-only buildings.

UpdateSalesChannelInput.approveOrders ● Boolean scalar

Controls whether pending orders are auto-approved when problems are resolved (true) or require manual approval (false).

UpdateSalesChannelInput.autoFulfill ● Boolean scalar

Whether orders from this sales channel should be automatically fulfilled.

UpdateSalesChannelInput.channelType ● SalesChannelTypeEnum enum

The type of sales channel.

UpdateSalesChannelInput.clientMutationId ● String scalar

A unique identifier for the client performing the mutation.

UpdateSalesChannelInput.customPackingSlip ● Boolean scalar

Whether this channel uses custom packing slips for shipments.

UpdateSalesChannelInput.defaultChannel ● Boolean scalar

Whether this is the default sales channel for the brand. If this option is set to true, the default sales channel for the brand will be updated.

UpdateSalesChannelInput.defaultTemplateId ● ID scalar

The default template ID for special orders created in this channel. Orders created in this channel will use this template by default.

UpdateSalesChannelInput.description ● String scalar

A detailed description of the sales channel's purpose and characteristics.

UpdateSalesChannelInput.fulfillUnpaid ● Boolean scalar

If enabled, orders from this sales channel will be fulfilled even if they are not paid.

UpdateSalesChannelInput.id ● ID! non-null scalar

The unique identifier of the sales channel to update.

UpdateSalesChannelInput.integrationId ● ID scalar

Sales channels can be integrated with external systems. This ID represents an integration already configured in the system.

UpdateSalesChannelInput.localRouting ● Boolean scalar

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

UpdateSalesChannelInput.logoUrl ● Url scalar

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

UpdateSalesChannelInput.name ● String scalar

The name of the sales channel. Must be between 1 and 50 characters.

UpdateSalesChannelInput.origin ● SalesChannelOriginEnum enum

How orders are typically created in this channel.

UpdateSalesChannelInput.retrieveCartonLevelData ● Boolean scalar

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

UpdateSalesChannelInput.routingStrategy ● [RoutingStrategyEnum!] list enum

The routing strategy to be used for this sales channel. If not provided, the default routing strategy will be used.

UpdateSalesChannelInput.status ● StatusEnum enum

The operational status of the sales channel.

Member Of

updateSalesChannel mutation