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
captionStringno
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.
showStockLevelsBooleanno
excludedVariantIdsID [ID!]noThe wholesale replacement of the veto list.
priceListIdIDnoSet (active; selected for the owning organization; unscoped) or null-CLEAR the agent price plane.
allowDiscountCodesBooleanno
maxCheckoutTotalMinorIntnoSet (≥ 1) or null-CLEAR the checkout cap.
fulfillmentMethodsAgentChannelFulfillmentMethod [AgentChannelFulfillmentMethod!]noThe wholesale replacement (distinct).
shippingOptionsAgentChannelShippingOptionInput [AgentChannelShippingOptionInput!]noThe wholesale replacement (ids unique).
handlingDaysIntno
requireBuyerEmailBooleanno
requireBuyerPhoneBooleanno
allowedPlatformsAgentChannelPlatformInput [AgentChannelPlatformInput!]noThe wholesale replacement (profile URLs unique, https).
rateClassAgentChannelRateClassnoOne of the values of [AgentChannelRateClass](/types/AgentChannelRateClass/).
consentDefaultsAgentChannelConsentDefaultsInputnoThe buyer_consent defaults for an agent channel — every purpose required.
returnPolicyStringnoSet or null-CLEAR the return policy text.
warrantyPolicyStringnoSet or null-CLEAR the warranty policy text.
checkoutTtlMinutesIntno
identityLinkingBooleanno
requireLinkedBuyerBooleanno

Used by