Mutations
addCustomersToGroup
mutationaddCustomersToGroup
"""Add Customers to a CustomerGroup"""
type Mutation {
addCustomersToGroup(customerGroupId: ID!, customerIds: [ID!]!): CustomerGroup!
}addFulfillmentToOrder
mutationaddFulfillmentToOrder
type Mutation {
addFulfillmentToOrder(input: FulfillOrderInput!): AddFulfillmentToOrderResult!
}addItemToDraftOrder
mutationaddItemToDraftOrder
"""Adds an item to the draft Order."""
type Mutation {
addItemToDraftOrder(orderId: ID!, input: AddItemToDraftOrderInput!): UpdateOrderItemsResult!
}addManualPaymentToOrder
mutationaddManualPaymentToOrder
"""
Used to manually create a new Payment against an Order.
This can be used by an Administrator when an Order is in the ArrangingPayment state.
It is also used when a completed Order
has been modified (using `modifyOrder`) and the price has increased. The extra payment
can then be manually arranged by the administrator, and the details used to create a new
Payment.
"""
type Mutation {
addManualPaymentToOrder(input: ManualPaymentInput!): AddManualPaymentToOrderResult!
}addMembersToZone
mutationaddMembersToZone
addNoteToCustomer
mutationaddNoteToCustomer
type Mutation {
addNoteToCustomer(input: AddNoteToCustomerInput!): Customer!
}addNoteToOrder
mutationaddNoteToOrder
type Mutation {
addNoteToOrder(input: AddNoteToOrderInput!): Order!
}addOptionGroupToProduct
mutationaddOptionGroupToProduct
adjustDraftOrderLine
mutationadjustDraftOrderLine
"""Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available."""
type Mutation {
adjustDraftOrderLine(orderId: ID!, input: AdjustDraftOrderLineInput!): UpdateOrderItemsResult!
}applyCouponCodeToDraftOrder
mutationapplyCouponCodeToDraftOrder
"""Applies the given coupon code to the draft Order"""
type Mutation {
applyCouponCodeToDraftOrder(orderId: ID!, couponCode: String!): ApplyCouponCodeResult!
}assignAssetsToChannel
mutationassignAssetsToChannel
"""Assign assets to channel"""
type Mutation {
assignAssetsToChannel(input: AssignAssetsToChannelInput!): [Asset!]!
}assignCollectionsToChannel
mutationassignCollectionsToChannel
"""Assigns Collections to the specified Channel"""
type Mutation {
assignCollectionsToChannel(input: AssignCollectionsToChannelInput!): [Collection!]!
}assignFacetsToChannel
mutationassignFacetsToChannel
"""Assigns Facets to the specified Channel"""
type Mutation {
assignFacetsToChannel(input: AssignFacetsToChannelInput!): [Facet!]!
}assignPaymentMethodsToChannel
mutationassignPaymentMethodsToChannel
"""Assigns PaymentMethods to the specified Channel"""
type Mutation {
assignPaymentMethodsToChannel(input: AssignPaymentMethodsToChannelInput!): [PaymentMethod!]!
}assignProductVariantsToChannel
mutationassignProductVariantsToChannel
"""Assigns ProductVariants to the specified Channel"""
type Mutation {
assignProductVariantsToChannel(input: AssignProductVariantsToChannelInput!): [ProductVariant!]!
}assignProductsToChannel
mutationassignProductsToChannel
"""Assigns all ProductVariants of Product to the specified Channel"""
type Mutation {
assignProductsToChannel(input: AssignProductsToChannelInput!): [Product!]!
}assignPromotionsToChannel
mutationassignPromotionsToChannel
"""Assigns Promotions to the specified Channel"""
type Mutation {
assignPromotionsToChannel(input: AssignPromotionsToChannelInput!): [Promotion!]!
}assignRoleToAdministrator
mutationassignRoleToAdministrator
"""Assign a Role to an Administrator"""
type Mutation {
assignRoleToAdministrator(administratorId: ID!, roleId: ID!): Administrator!
}assignShippingMethodsToChannel
mutationassignShippingMethodsToChannel
"""Assigns ShippingMethods to the specified Channel"""
type Mutation {
assignShippingMethodsToChannel(input: AssignShippingMethodsToChannelInput!): [ShippingMethod!]!
}assignStockLocationsToChannel
mutationassignStockLocationsToChannel
"""Assigns StockLocations to the specified Channel"""
type Mutation {
assignStockLocationsToChannel(input: AssignStockLocationsToChannelInput!): [StockLocation!]!
}authenticate
mutationauthenticate
"""Authenticates the user using a named authentication strategy"""
type Mutation {
authenticate(input: AuthenticationInput!, rememberMe: Boolean): AuthenticationResult!
}cancelJob
cancelOrder
mutationcancelOrder
type Mutation {
cancelOrder(input: CancelOrderInput!): CancelOrderResult!
}cancelPayment
mutationcancelPayment
type Mutation {
cancelPayment(id: ID!): CancelPaymentResult!
}createAdministrator
mutationcreateAdministrator
"""Create a new Administrator"""
type Mutation {
createAdministrator(input: CreateAdministratorInput!): Administrator!
}createAssets
mutationcreateAssets
"""Create a new Asset"""
type Mutation {
createAssets(input: [CreateAssetInput!]!): [CreateAssetResult!]!
}createChannel
mutationcreateChannel
"""Create a new Channel"""
type Mutation {
createChannel(input: CreateChannelInput!): CreateChannelResult!
}createCollection
mutationcreateCollection
"""Create a new Collection"""
type Mutation {
createCollection(input: CreateCollectionInput!): Collection!
}createCountry
mutationcreateCountry
"""Create a new Country"""
type Mutation {
createCountry(input: CreateCountryInput!): Country!
}createCustomer
mutationcreateCustomer
"""Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer."""
type Mutation {
createCustomer(input: CreateCustomerInput!, password: String): CreateCustomerResult!
}createCustomerAddress
mutationcreateCustomerAddress
"""Create a new Address and associate it with the Customer specified by customerId"""
type Mutation {
createCustomerAddress(customerId: ID!, input: CreateAddressInput!): Address!
}createCustomerGroup
mutationcreateCustomerGroup
"""Create a new CustomerGroup"""
type Mutation {
createCustomerGroup(input: CreateCustomerGroupInput!): CustomerGroup!
}createDraftOrder
mutationcreateDraftOrder
"""Creates a draft Order"""
type Mutation {
createDraftOrder: Order!
}createFacet
mutationcreateFacet
"""Create a new Facet"""
type Mutation {
createFacet(input: CreateFacetInput!): Facet!
}createFacetValue
mutationcreateFacetValue
"""Create a single FacetValue"""
type Mutation {
createFacetValue(input: CreateFacetValueInput!): FacetValue!
}createFacetValues
mutationcreateFacetValues
"""Create one or more FacetValues"""
type Mutation {
createFacetValues(input: [CreateFacetValueInput!]!): [FacetValue!]!
}createPaymentMethod
mutationcreatePaymentMethod
"""Create existing PaymentMethod"""
type Mutation {
createPaymentMethod(input: CreatePaymentMethodInput!): PaymentMethod!
}createProduct
mutationcreateProduct
"""Create a new Product"""
type Mutation {
createProduct(input: CreateProductInput!): Product!
}createProductOption
mutationcreateProductOption
"""Create a new ProductOption within a ProductOptionGroup"""
type Mutation {
createProductOption(input: CreateProductOptionInput!): ProductOption!
}createProductOptionGroup
mutationcreateProductOptionGroup
"""Create a new ProductOptionGroup"""
type Mutation {
createProductOptionGroup(input: CreateProductOptionGroupInput!): ProductOptionGroup!
}createProductVariants
mutationcreateProductVariants
"""Create a set of ProductVariants based on the OptionGroups assigned to the given Product"""
type Mutation {
createProductVariants(input: [CreateProductVariantInput!]!): [ProductVariant]!
}createPromotion
mutationcreatePromotion
type Mutation {
createPromotion(input: CreatePromotionInput!): CreatePromotionResult!
}createProvince
mutationcreateProvince
"""Create a new Province"""
type Mutation {
createProvince(input: CreateProvinceInput!): Province!
}createRole
mutationcreateRole
"""Create a new Role"""
type Mutation {
createRole(input: CreateRoleInput!): Role!
}createSeller
mutationcreateSeller
"""Create a new Seller"""
type Mutation {
createSeller(input: CreateSellerInput!): Seller!
}createShippingMethod
mutationcreateShippingMethod
"""Create a new ShippingMethod"""
type Mutation {
createShippingMethod(input: CreateShippingMethodInput!): ShippingMethod!
}createStockLocation
mutationcreateStockLocation
type Mutation {
createStockLocation(input: CreateStockLocationInput!): StockLocation!
}createTag
mutationcreateTag
"""Create a new Tag"""
type Mutation {
createTag(input: CreateTagInput!): Tag!
}createTaxCategory
mutationcreateTaxCategory
"""Create a new TaxCategory"""
type Mutation {
createTaxCategory(input: CreateTaxCategoryInput!): TaxCategory!
}createTaxRate
mutationcreateTaxRate
"""Create a new TaxRate"""
type Mutation {
createTaxRate(input: CreateTaxRateInput!): TaxRate!
}createZone
mutationcreateZone
"""Create a new Zone"""
type Mutation {
createZone(input: CreateZoneInput!): Zone!
}deleteAdministrator
mutationdeleteAdministrator
"""Delete an Administrator"""
type Mutation {
deleteAdministrator(id: ID!): DeletionResponse!
}deleteAdministrators
mutationdeleteAdministrators
"""Delete multiple Administrators"""
type Mutation {
deleteAdministrators(ids: [ID!]!): [DeletionResponse!]!
}deleteAsset
mutationdeleteAsset
"""Delete an Asset"""
type Mutation {
deleteAsset(input: DeleteAssetInput!): DeletionResponse!
}deleteAssets
mutationdeleteAssets
"""Delete multiple Assets"""
type Mutation {
deleteAssets(input: DeleteAssetsInput!): DeletionResponse!
}deleteChannel
mutationdeleteChannel
"""Delete a Channel"""
type Mutation {
deleteChannel(id: ID!): DeletionResponse!
}deleteChannels
mutationdeleteChannels
"""Delete multiple Channels"""
type Mutation {
deleteChannels(ids: [ID!]!): [DeletionResponse!]!
}deleteCollection
mutationdeleteCollection
"""Delete a Collection and all of its descendants"""
type Mutation {
deleteCollection(id: ID!): DeletionResponse!
}deleteCollections
mutationdeleteCollections
"""Delete multiple Collections and all of their descendants"""
type Mutation {
deleteCollections(ids: [ID!]!): [DeletionResponse!]!
}deleteCountries
mutationdeleteCountries
"""Delete multiple Countries"""
type Mutation {
deleteCountries(ids: [ID!]!): [DeletionResponse!]!
}deleteCountry
mutationdeleteCountry
"""Delete a Country"""
type Mutation {
deleteCountry(id: ID!): DeletionResponse!
}deleteCustomer
mutationdeleteCustomer
"""Delete a Customer"""
type Mutation {
deleteCustomer(id: ID!): DeletionResponse!
}deleteCustomerAddress
mutationdeleteCustomerAddress
deleteCustomerGroup
mutationdeleteCustomerGroup
"""Delete a CustomerGroup"""
type Mutation {
deleteCustomerGroup(id: ID!): DeletionResponse!
}deleteCustomerGroups
mutationdeleteCustomerGroups
"""Delete multiple CustomerGroups"""
type Mutation {
deleteCustomerGroups(ids: [ID!]!): [DeletionResponse!]!
}deleteCustomerNote
mutationdeleteCustomerNote
type Mutation {
deleteCustomerNote(id: ID!): DeletionResponse!
}deleteCustomers
mutationdeleteCustomers
"""Deletes Customers"""
type Mutation {
deleteCustomers(ids: [ID!]!): [DeletionResponse!]!
}deleteDraftOrder
mutationdeleteDraftOrder
"""Deletes a draft Order"""
type Mutation {
deleteDraftOrder(orderId: ID!): DeletionResponse!
}deleteFacet
mutationdeleteFacet
"""Delete an existing Facet"""
type Mutation {
deleteFacet(id: ID!, force: Boolean): DeletionResponse!
}deleteFacetValues
mutationdeleteFacetValues
"""Delete one or more FacetValues"""
type Mutation {
deleteFacetValues(ids: [ID!]!, force: Boolean): [DeletionResponse!]!
}deleteFacets
mutationdeleteFacets
"""Delete multiple existing Facets"""
type Mutation {
deleteFacets(ids: [ID!]!, force: Boolean): [DeletionResponse!]!
}deleteOrderNote
mutationdeleteOrderNote
type Mutation {
deleteOrderNote(id: ID!): DeletionResponse!
}deletePaymentMethod
mutationdeletePaymentMethod
"""Delete a PaymentMethod"""
type Mutation {
deletePaymentMethod(id: ID!, force: Boolean): DeletionResponse!
}deletePaymentMethods
mutationdeletePaymentMethods
"""Delete multiple PaymentMethods"""
type Mutation {
deletePaymentMethods(ids: [ID!]!, force: Boolean): [DeletionResponse!]!
}deleteProduct
mutationdeleteProduct
"""Delete a Product"""
type Mutation {
deleteProduct(id: ID!): DeletionResponse!
}deleteProductOption
mutationdeleteProductOption
"""Delete a ProductOption"""
type Mutation {
deleteProductOption(id: ID!): DeletionResponse!
}deleteProductVariant
mutationdeleteProductVariant
"""Delete a ProductVariant"""
type Mutation {
deleteProductVariant(id: ID!): DeletionResponse!
}deleteProductVariants
mutationdeleteProductVariants
"""Delete multiple ProductVariants"""
type Mutation {
deleteProductVariants(ids: [ID!]!): [DeletionResponse!]!
}deleteProducts
mutationdeleteProducts
"""Delete multiple Products"""
type Mutation {
deleteProducts(ids: [ID!]!): [DeletionResponse!]!
}deletePromotion
mutationdeletePromotion
type Mutation {
deletePromotion(id: ID!): DeletionResponse!
}deletePromotions
mutationdeletePromotions
type Mutation {
deletePromotions(ids: [ID!]!): [DeletionResponse!]!
}deleteProvince
mutationdeleteProvince
"""Delete a Province"""
type Mutation {
deleteProvince(id: ID!): DeletionResponse!
}deleteRole
mutationdeleteRole
"""Delete an existing Role"""
type Mutation {
deleteRole(id: ID!): DeletionResponse!
}deleteRoles
mutationdeleteRoles
"""Delete multiple Roles"""
type Mutation {
deleteRoles(ids: [ID!]!): [DeletionResponse!]!
}deleteSeller
mutationdeleteSeller
"""Delete a Seller"""
type Mutation {
deleteSeller(id: ID!): DeletionResponse!
}deleteSellers
mutationdeleteSellers
"""Delete multiple Sellers"""
type Mutation {
deleteSellers(ids: [ID!]!): [DeletionResponse!]!
}deleteShippingMethod
mutationdeleteShippingMethod
"""Delete a ShippingMethod"""
type Mutation {
deleteShippingMethod(id: ID!): DeletionResponse!
}deleteShippingMethods
mutationdeleteShippingMethods
"""Delete multiple ShippingMethods"""
type Mutation {
deleteShippingMethods(ids: [ID!]!): [DeletionResponse!]!
}deleteStockLocation
mutationdeleteStockLocation
type Mutation {
deleteStockLocation(input: DeleteStockLocationInput!): DeletionResponse!
}deleteStockLocations
mutationdeleteStockLocations
type Mutation {
deleteStockLocations(input: [DeleteStockLocationInput!]!): [DeletionResponse!]!
}deleteTag
mutationdeleteTag
"""Delete an existing Tag"""
type Mutation {
deleteTag(id: ID!): DeletionResponse!
}deleteTaxCategories
mutationdeleteTaxCategories
"""Deletes multiple TaxCategories"""
type Mutation {
deleteTaxCategories(ids: [ID!]!): [DeletionResponse!]!
}deleteTaxCategory
mutationdeleteTaxCategory
"""Deletes a TaxCategory"""
type Mutation {
deleteTaxCategory(id: ID!): DeletionResponse!
}deleteTaxRate
mutationdeleteTaxRate
"""Delete a TaxRate"""
type Mutation {
deleteTaxRate(id: ID!): DeletionResponse!
}deleteTaxRates
mutationdeleteTaxRates
"""Delete multiple TaxRates"""
type Mutation {
deleteTaxRates(ids: [ID!]!): [DeletionResponse!]!
}deleteZone
mutationdeleteZone
"""Delete a Zone"""
type Mutation {
deleteZone(id: ID!): DeletionResponse!
}deleteZones
mutationdeleteZones
"""Delete a Zone"""
type Mutation {
deleteZones(ids: [ID!]!): [DeletionResponse!]!
}duplicateEntity
mutationduplicateEntity
"""
Duplicate an existing entity using a specific EntityDuplicator.
Since v2.2.0.
"""
type Mutation {
duplicateEntity(input: DuplicateEntityInput!): DuplicateEntityResult!
}flushBufferedJobs
importProducts
mutationimportProducts
type Mutation {
importProducts(csvFile: Upload!): ImportInfo
}login
mutationlogin
"""
Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }})
The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie
to 1 year.
"""
type Mutation {
login(username: String!, password: String!, rememberMe: Boolean): NativeAuthenticationResult!
}logout
mutationlogout
type Mutation {
logout: Success!
}modifyOrder
mutationmodifyOrder
"""
Allows an Order to be modified after it has been completed by the Customer. The Order must first
be in the `Modifying` state.
"""
type Mutation {
modifyOrder(input: ModifyOrderInput!): ModifyOrderResult!
}moveCollection
mutationmoveCollection
"""Move a Collection to a different parent or index"""
type Mutation {
moveCollection(input: MoveCollectionInput!): Collection!
}refundOrder
mutationrefundOrder
type Mutation {
refundOrder(input: RefundOrderInput!): RefundOrderResult!
}reindex
mutationreindex
type Mutation {
reindex: Job!
}removeCollectionsFromChannel
mutationremoveCollectionsFromChannel
"""Removes Collections from the specified Channel"""
type Mutation {
removeCollectionsFromChannel(input: RemoveCollectionsFromChannelInput!): [Collection!]!
}removeCouponCodeFromDraftOrder
mutationremoveCouponCodeFromDraftOrder
removeCustomersFromGroup
mutationremoveCustomersFromGroup
"""Remove Customers from a CustomerGroup"""
type Mutation {
removeCustomersFromGroup(customerGroupId: ID!, customerIds: [ID!]!): CustomerGroup!
}removeDraftOrderLine
mutationremoveDraftOrderLine
"""Remove an OrderLine from the draft Order"""
type Mutation {
removeDraftOrderLine(orderId: ID!, orderLineId: ID!): RemoveOrderItemsResult!
}removeFacetsFromChannel
mutationremoveFacetsFromChannel
"""Removes Facets from the specified Channel"""
type Mutation {
removeFacetsFromChannel(input: RemoveFacetsFromChannelInput!): [RemoveFacetFromChannelResult!]!
}removeMembersFromZone
mutationremoveMembersFromZone
removeOptionGroupFromProduct
mutationremoveOptionGroupFromProduct
"""
Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants
the mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed.
Setting the `force` argument to `true` will override this and remove the OptionGroup anyway,
as well as removing any of the group's options from the Product's ProductVariants.
"""
type Mutation {
removeOptionGroupFromProduct(productId: ID!, optionGroupId: ID!, force: Boolean): RemoveOptionGroupFromProductResult!
}removePaymentMethodsFromChannel
mutationremovePaymentMethodsFromChannel
"""Removes PaymentMethods from the specified Channel"""
type Mutation {
removePaymentMethodsFromChannel(input: RemovePaymentMethodsFromChannelInput!): [PaymentMethod!]!
}removeProductVariantsFromChannel
mutationremoveProductVariantsFromChannel
"""Removes ProductVariants from the specified Channel"""
type Mutation {
removeProductVariantsFromChannel(input: RemoveProductVariantsFromChannelInput!): [ProductVariant!]!
}removeProductsFromChannel
mutationremoveProductsFromChannel
"""Removes all ProductVariants of Product from the specified Channel"""
type Mutation {
removeProductsFromChannel(input: RemoveProductsFromChannelInput!): [Product!]!
}removePromotionsFromChannel
mutationremovePromotionsFromChannel
"""Removes Promotions from the specified Channel"""
type Mutation {
removePromotionsFromChannel(input: RemovePromotionsFromChannelInput!): [Promotion!]!
}removeSettledJobs
mutationremoveSettledJobs
removeShippingMethodsFromChannel
mutationremoveShippingMethodsFromChannel
"""Removes ShippingMethods from the specified Channel"""
type Mutation {
removeShippingMethodsFromChannel(input: RemoveShippingMethodsFromChannelInput!): [ShippingMethod!]!
}removeStockLocationsFromChannel
mutationremoveStockLocationsFromChannel
"""Removes StockLocations from the specified Channel"""
type Mutation {
removeStockLocationsFromChannel(input: RemoveStockLocationsFromChannelInput!): [StockLocation!]!
}runPendingSearchIndexUpdates
mutationrunPendingSearchIndexUpdates
type Mutation {
runPendingSearchIndexUpdates: Success!
}runScheduledTask
setCustomerForDraftOrder
mutationsetCustomerForDraftOrder
type Mutation {
setCustomerForDraftOrder(orderId: ID!, customerId: ID, input: CreateCustomerInput): SetCustomerForDraftOrderResult!
}setDraftOrderBillingAddress
mutationsetDraftOrderBillingAddress
"""Sets the billing address for a draft Order"""
type Mutation {
setDraftOrderBillingAddress(orderId: ID!, input: CreateAddressInput!): Order!
}setDraftOrderCustomFields
mutationsetDraftOrderCustomFields
"""Allows any custom fields to be set for the active order"""
type Mutation {
setDraftOrderCustomFields(orderId: ID!, input: UpdateOrderInput!): Order!
}setDraftOrderShippingAddress
mutationsetDraftOrderShippingAddress
"""Sets the shipping address for a draft Order"""
type Mutation {
setDraftOrderShippingAddress(orderId: ID!, input: CreateAddressInput!): Order!
}setDraftOrderShippingMethod
mutationsetDraftOrderShippingMethod
"""Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query"""
type Mutation {
setDraftOrderShippingMethod(orderId: ID!, shippingMethodId: ID!): SetOrderShippingMethodResult!
}setOrderCustomFields
mutationsetOrderCustomFields
type Mutation {
setOrderCustomFields(input: UpdateOrderInput!): Order
}setOrderCustomer
mutationsetOrderCustomer
"""Allows a different Customer to be assigned to an Order. Added in v2.2.0."""
type Mutation {
setOrderCustomer(input: SetOrderCustomerInput!): Order
}setSettingsStoreValue
mutationsetSettingsStoreValue
"""Set a single key-value pair (automatically scoped based on field configuration)"""
type Mutation {
setSettingsStoreValue(input: SettingsStoreInput!): SetSettingsStoreValueResult!
}setSettingsStoreValues
mutationsetSettingsStoreValues
"""Set multiple key-value pairs in a transaction (each automatically scoped)"""
type Mutation {
setSettingsStoreValues(inputs: [SettingsStoreInput!]!): [SetSettingsStoreValueResult!]!
}settlePayment
mutationsettlePayment
type Mutation {
settlePayment(id: ID!): SettlePaymentResult!
}settleRefund
mutationsettleRefund
type Mutation {
settleRefund(input: SettleRefundInput!): SettleRefundResult!
}transitionFulfillmentToState
mutationtransitionFulfillmentToState
type Mutation {
transitionFulfillmentToState(id: ID!, state: String!): TransitionFulfillmentToStateResult!
}transitionOrderToState
mutationtransitionOrderToState
type Mutation {
transitionOrderToState(id: ID!, state: String!): TransitionOrderToStateResult
}transitionPaymentToState
mutationtransitionPaymentToState
type Mutation {
transitionPaymentToState(id: ID!, state: String!): TransitionPaymentToStateResult!
}unsetDraftOrderBillingAddress
mutationunsetDraftOrderBillingAddress
unsetDraftOrderShippingAddress
mutationunsetDraftOrderShippingAddress
updateActiveAdministrator
mutationupdateActiveAdministrator
"""Update the active (currently logged-in) Administrator"""
type Mutation {
updateActiveAdministrator(input: UpdateActiveAdministratorInput!): Administrator!
}updateAdministrator
mutationupdateAdministrator
"""Update an existing Administrator"""
type Mutation {
updateAdministrator(input: UpdateAdministratorInput!): Administrator!
}updateAsset
mutationupdateAsset
"""Update an existing Asset"""
type Mutation {
updateAsset(input: UpdateAssetInput!): Asset!
}updateChannel
mutationupdateChannel
"""Update an existing Channel"""
type Mutation {
updateChannel(input: UpdateChannelInput!): UpdateChannelResult!
}updateCollection
mutationupdateCollection
"""Update an existing Collection"""
type Mutation {
updateCollection(input: UpdateCollectionInput!): Collection!
}updateCountry
mutationupdateCountry
"""Update an existing Country"""
type Mutation {
updateCountry(input: UpdateCountryInput!): Country!
}updateCustomer
mutationupdateCustomer
"""Update an existing Customer"""
type Mutation {
updateCustomer(input: UpdateCustomerInput!): UpdateCustomerResult!
}updateCustomerAddress
mutationupdateCustomerAddress
"""Update an existing Address"""
type Mutation {
updateCustomerAddress(input: UpdateAddressInput!): Address!
}updateCustomerGroup
mutationupdateCustomerGroup
"""Update an existing CustomerGroup"""
type Mutation {
updateCustomerGroup(input: UpdateCustomerGroupInput!): CustomerGroup!
}updateCustomerNote
mutationupdateCustomerNote
type Mutation {
updateCustomerNote(input: UpdateCustomerNoteInput!): HistoryEntry!
}updateFacet
mutationupdateFacet
"""Update an existing Facet"""
type Mutation {
updateFacet(input: UpdateFacetInput!): Facet!
}updateFacetValue
mutationupdateFacetValue
"""Update a single FacetValue"""
type Mutation {
updateFacetValue(input: UpdateFacetValueInput!): FacetValue!
}updateFacetValues
mutationupdateFacetValues
"""Update one or more FacetValues"""
type Mutation {
updateFacetValues(input: [UpdateFacetValueInput!]!): [FacetValue!]!
}updateGlobalSettings
mutationupdateGlobalSettings
type Mutation {
updateGlobalSettings(input: UpdateGlobalSettingsInput!): UpdateGlobalSettingsResult!
}updateOrderNote
mutationupdateOrderNote
type Mutation {
updateOrderNote(input: UpdateOrderNoteInput!): HistoryEntry!
}updatePaymentMethod
mutationupdatePaymentMethod
"""Update an existing PaymentMethod"""
type Mutation {
updatePaymentMethod(input: UpdatePaymentMethodInput!): PaymentMethod!
}updateProduct
mutationupdateProduct
"""Update an existing Product"""
type Mutation {
updateProduct(input: UpdateProductInput!): Product!
}updateProductOption
mutationupdateProductOption
"""Create a new ProductOption within a ProductOptionGroup"""
type Mutation {
updateProductOption(input: UpdateProductOptionInput!): ProductOption!
}updateProductOptionGroup
mutationupdateProductOptionGroup
"""Update an existing ProductOptionGroup"""
type Mutation {
updateProductOptionGroup(input: UpdateProductOptionGroupInput!): ProductOptionGroup!
}updateProductVariant
mutationupdateProductVariant
"""Update an existing ProductVariant"""
type Mutation {
updateProductVariant(input: UpdateProductVariantInput!): ProductVariant!
}updateProductVariants
mutationupdateProductVariants
"""Update existing ProductVariants"""
type Mutation {
updateProductVariants(input: [UpdateProductVariantInput!]!): [ProductVariant]!
}updateProducts
mutationupdateProducts
"""Update multiple existing Products"""
type Mutation {
updateProducts(input: [UpdateProductInput!]!): [Product!]!
}updatePromotion
mutationupdatePromotion
type Mutation {
updatePromotion(input: UpdatePromotionInput!): UpdatePromotionResult!
}updateProvince
mutationupdateProvince
"""Update an existing Province"""
type Mutation {
updateProvince(input: UpdateProvinceInput!): Province!
}updateRole
mutationupdateRole
"""Update an existing Role"""
type Mutation {
updateRole(input: UpdateRoleInput!): Role!
}updateScheduledTask
mutationupdateScheduledTask
type Mutation {
updateScheduledTask(input: UpdateScheduledTaskInput!): ScheduledTask!
}updateSeller
mutationupdateSeller
"""Update an existing Seller"""
type Mutation {
updateSeller(input: UpdateSellerInput!): Seller!
}updateShippingMethod
mutationupdateShippingMethod
"""Update an existing ShippingMethod"""
type Mutation {
updateShippingMethod(input: UpdateShippingMethodInput!): ShippingMethod!
}updateStockLocation
mutationupdateStockLocation
type Mutation {
updateStockLocation(input: UpdateStockLocationInput!): StockLocation!
}updateTag
mutationupdateTag
"""Update an existing Tag"""
type Mutation {
updateTag(input: UpdateTagInput!): Tag!
}updateTaxCategory
mutationupdateTaxCategory
"""Update an existing TaxCategory"""
type Mutation {
updateTaxCategory(input: UpdateTaxCategoryInput!): TaxCategory!
}updateTaxRate
mutationupdateTaxRate
"""Update an existing TaxRate"""
type Mutation {
updateTaxRate(input: UpdateTaxRateInput!): TaxRate!
}updateZone
mutationupdateZone
"""Update an existing Zone"""
type Mutation {
updateZone(input: UpdateZoneInput!): Zone!
}Was this chapter helpful?