AlmondTill/G3N API

EditAgentChannelInput

input type

Edit-input for a AgentChannel. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved — divisionId / priceListId / maxCheckoutTotalMinor / returnPolicy / warrantyPolicy take null to CLEAR (the EditPlugin.apiKeyId nullish-clear law); a supplied list REPLACES wholesale. Edits land in every live state and take effect on the next agent request; the live-stays-complete rule: an edit on a LIVE channel that would leave it unable to sell (nothing listed · no method · shipping without countries or cards · pickup without a location · no active platform) refuses VALIDATION/INVALID naming the gap — pause first to reshape it. status and signingKeys never ride an edit.

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
logicalFacilityIdIDnoRe-home the selling location (ACTIVE).
pickupLogicalFacilityIdsID [ID!]noThe wholesale replacement (strips every pickup location); each ACTIVE.
shipToCountriesString [String!]noThe wholesale replacement (= no shipping).
collectionIdsID [ID!]noThe wholesale replacement (= nothing listed); each ACTIVE.
divisionIdIDnoSet (ACTIVE + channel-kind) or null-CLEAR the channel framing.
showStockLevelsBooleannoNo further notes.
excludedVariantIdsID [ID!]noThe wholesale replacement of the veto list.
priceListIdIDnoSet (ACTIVE; selected for the owning organization; unscoped) or null-CLEAR the agent price plane.
allowDiscountCodesBooleannoNo further notes.
maxCheckoutTotalMinorIntnoSet (≥ 1) or null-CLEAR the checkout cap.
fulfillmentMethodsAgentChannelFulfillmentMethod [AgentChannelFulfillmentMethod!]noThe wholesale replacement (distinct).
shippingOptionsAgentChannelShippingOptionInput [AgentChannelShippingOptionInput!]noThe wholesale replacement (ids unique).
handlingDaysIntnoNo further notes.
requireBuyerEmailBooleannoNo further notes.
requireBuyerPhoneBooleannoNo further notes.
allowedPlatformsAgentChannelPlatformInput [AgentChannelPlatformInput!]noThe wholesale replacement (profile URLs unique, https).
rateClassAgentChannelRateClassnoNo further notes.
consentDefaultsAgentChannelConsentDefaultsInputnoNo further notes.
returnPolicyStringnoSet or null-CLEAR the return policy text.
warrantyPolicyStringnoSet or null-CLEAR the warranty policy text.
checkoutTtlMinutesIntnoNo further notes.
identityLinkingBooleannoNo further notes.
requireLinkedBuyerBooleannoNo further notes.

Used by