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 | No further notes. |
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 | No further notes. |
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 | No further notes. |
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 | No further notes. |
requireBuyerEmail | Boolean | no | No further notes. |
requireBuyerPhone | Boolean | no | No further notes. |
allowedPlatforms | AgentChannelPlatformInput [AgentChannelPlatformInput!] | no | The wholesale replacement (profile URLs unique, https). |
rateClass | AgentChannelRateClass | no | No further notes. |
consentDefaults | AgentChannelConsentDefaultsInput | no | No further notes. |
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 | No further notes. |
identityLinking | Boolean | no | No further notes. |
requireLinkedBuyer | Boolean | no | No further notes. |