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
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | |
logicalFacilityId | ID | no | Re-home the selling location (active). |
pickupLogicalFacilityIds | ID [ID!] | no | The wholesale replacement (strips every pickup location); each active. |
shipToCountries | String [String!] | no | The wholesale replacement (= no shipping). |
collectionIds | ID [ID!] | no | The wholesale replacement (= nothing listed); each active. |
divisionId | ID | no | Set (active + channel-kind) or null-CLEAR the channel framing. |
showStockLevels | Boolean | no | |
excludedVariantIds | ID [ID!] | no | The wholesale replacement of the veto list. |
priceListId | ID | no | Set (active; selected for the owning organization; unscoped) or null-CLEAR the agent price plane. |
allowDiscountCodes | Boolean | no | |
maxCheckoutTotalMinor | Int | no | Set (≥ 1) or null-CLEAR the checkout cap. |
fulfillmentMethods | AgentChannelFulfillmentMethod [AgentChannelFulfillmentMethod!] | no | The wholesale replacement (distinct). |
shippingOptions | AgentChannelShippingOptionInput [AgentChannelShippingOptionInput!] | no | The wholesale replacement (ids unique). |
handlingDays | Int | no | |
requireBuyerEmail | Boolean | no | |
requireBuyerPhone | Boolean | no | |
allowedPlatforms | AgentChannelPlatformInput [AgentChannelPlatformInput!] | no | The wholesale replacement (profile URLs unique, https). |
rateClass | AgentChannelRateClass | no | One of the values of [AgentChannelRateClass](/types/AgentChannelRateClass/). |
consentDefaults | AgentChannelConsentDefaultsInput | no | The buyer_consent defaults for an agent channel — every purpose required. |
returnPolicy | String | no | Set or null-CLEAR the return policy text. |
warrantyPolicy | String | no | Set or null-CLEAR the warranty policy text. |
checkoutTtlMinutes | Int | no | |
identityLinking | Boolean | no | |
requireLinkedBuyer | Boolean | no |