@vendure/docs 0.0.0-202601211103 → 0.0.0-202601211343
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/reference/admin-ui-api/bulk-actions/bulk-action.mdx +1 -1
- package/docs/reference/admin-ui-api/components/asset-picker-dialog-component.mdx +1 -1
- package/docs/reference/admin-ui-api/components/currency-input-component.mdx +1 -1
- package/docs/reference/admin-ui-api/components/data-table-component.mdx +1 -1
- package/docs/reference/admin-ui-api/components/data-table2component.mdx +1 -1
- package/docs/reference/admin-ui-api/components/datetime-picker-component.mdx +1 -1
- package/docs/reference/admin-ui-api/components/facet-value-selector-component.mdx +1 -1
- package/docs/reference/admin-ui-api/components/object-tree-component.mdx +1 -1
- package/docs/reference/admin-ui-api/components/product-variant-selector-component.mdx +1 -1
- package/docs/reference/admin-ui-api/components/rich-text-editor-component.mdx +1 -1
- package/docs/reference/admin-ui-api/components/zone-selector-component.mdx +1 -1
- package/docs/reference/admin-ui-api/custom-history-entry-components/customer-history-entry-component.mdx +1 -1
- package/docs/reference/admin-ui-api/custom-history-entry-components/order-history-entry-component.mdx +1 -1
- package/docs/reference/admin-ui-api/custom-input-components/default-inputs.mdx +19 -19
- package/docs/reference/admin-ui-api/directives/if-multichannel-directive.mdx +1 -1
- package/docs/reference/admin-ui-api/directives/if-permissions-directive.mdx +1 -1
- package/docs/reference/admin-ui-api/list-detail-views/base-detail-component.mdx +1 -1
- package/docs/reference/admin-ui-api/list-detail-views/base-list-component.mdx +1 -1
- package/docs/reference/admin-ui-api/list-detail-views/typed-base-detail-component.mdx +1 -1
- package/docs/reference/admin-ui-api/list-detail-views/typed-base-list-component.mdx +2 -2
- package/docs/reference/admin-ui-api/pipes/asset-preview-pipe.mdx +1 -1
- package/docs/reference/admin-ui-api/pipes/duration-pipe.mdx +1 -1
- package/docs/reference/admin-ui-api/pipes/file-size-pipe.mdx +1 -1
- package/docs/reference/admin-ui-api/pipes/has-permission-pipe.mdx +1 -1
- package/docs/reference/admin-ui-api/pipes/locale-currency-name-pipe.mdx +2 -2
- package/docs/reference/admin-ui-api/pipes/locale-currency-pipe.mdx +2 -2
- package/docs/reference/admin-ui-api/pipes/locale-date-pipe.mdx +2 -2
- package/docs/reference/admin-ui-api/pipes/locale-language-name-pipe.mdx +2 -2
- package/docs/reference/admin-ui-api/pipes/locale-region-name-pipe.mdx +2 -2
- package/docs/reference/admin-ui-api/pipes/time-ago-pipe.mdx +1 -1
- package/docs/reference/admin-ui-api/ui-devkit/admin-ui-extension.mdx +1 -1
- package/docs/reference/core-plugins/admin-ui-plugin/index.mdx +1 -1
- package/docs/reference/core-plugins/asset-server-plugin/hashed-asset-naming-strategy.mdx +1 -1
- package/docs/reference/core-plugins/asset-server-plugin/image-transform-strategy.mdx +1 -1
- package/docs/reference/core-plugins/asset-server-plugin/index.mdx +1 -1
- package/docs/reference/core-plugins/asset-server-plugin/local-asset-storage-strategy.mdx +1 -1
- package/docs/reference/core-plugins/asset-server-plugin/preset-only-strategy.mdx +1 -1
- package/docs/reference/core-plugins/asset-server-plugin/s3asset-storage-strategy.mdx +1 -1
- package/docs/reference/core-plugins/asset-server-plugin/sharp-asset-preview-strategy.mdx +1 -1
- package/docs/reference/core-plugins/dashboard-plugin/index.mdx +1 -1
- package/docs/reference/core-plugins/elasticsearch-plugin/index.mdx +1 -1
- package/docs/reference/core-plugins/email-plugin/email-event-handler-with-async-data.mdx +1 -1
- package/docs/reference/core-plugins/email-plugin/email-generator.mdx +2 -2
- package/docs/reference/core-plugins/email-plugin/email-plugin-options.mdx +1 -1
- package/docs/reference/core-plugins/email-plugin/email-send-event.mdx +1 -1
- package/docs/reference/core-plugins/email-plugin/email-sender.mdx +2 -2
- package/docs/reference/core-plugins/email-plugin/index.mdx +1 -1
- package/docs/reference/core-plugins/email-plugin/template-loader.mdx +1 -1
- package/docs/reference/core-plugins/email-plugin/transport-options.mdx +2 -2
- package/docs/reference/core-plugins/graphiql-plugin/index.mdx +1 -1
- package/docs/reference/core-plugins/job-queue-plugin/bull-mqjob-queue-strategy.mdx +1 -1
- package/docs/reference/core-plugins/job-queue-plugin/pub-sub-job-queue-strategy.mdx +2 -2
- package/docs/reference/core-plugins/stellate-plugin/index.mdx +1 -1
- package/docs/reference/core-plugins/telemetry-plugin/otel-logger.mdx +1 -1
- package/docs/reference/dashboard/components/vendure-image.mdx +1 -1
- package/docs/reference/dashboard/page-layout/page.mdx +1 -1
- package/docs/reference/typescript-api/assets/asset-naming-strategy.mdx +1 -1
- package/docs/reference/typescript-api/assets/asset-preview-strategy.mdx +1 -1
- package/docs/reference/typescript-api/assets/asset-storage-strategy.mdx +1 -1
- package/docs/reference/typescript-api/assets/default-asset-naming-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/authentication-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/bcrypt-password-hashing-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/default-password-validation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/default-session-cache-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/default-verification-token-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/in-memory-session-cache-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/native-authentication-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/noop-session-cache-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/password-hashing-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/password-validation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/permission-definition.mdx +2 -2
- package/docs/reference/typescript-api/auth/session-cache-strategy.mdx +1 -1
- package/docs/reference/typescript-api/auth/verification-token-strategy.mdx +1 -1
- package/docs/reference/typescript-api/cache/cache-strategy.mdx +1 -1
- package/docs/reference/typescript-api/cache/redis-cache-strategy.mdx +1 -1
- package/docs/reference/typescript-api/cache/sql-cache-strategy.mdx +1 -1
- package/docs/reference/typescript-api/common/i18n-service.mdx +1 -1
- package/docs/reference/typescript-api/configurable-operation-def/configurable-operation-def-options.mdx +1 -1
- package/docs/reference/typescript-api/configuration/collection-filter.mdx +1 -1
- package/docs/reference/typescript-api/configuration/default-slug-strategy.mdx +1 -1
- package/docs/reference/typescript-api/configuration/entity-duplicator.mdx +2 -2
- package/docs/reference/typescript-api/configuration/entity-id-strategy.mdx +3 -3
- package/docs/reference/typescript-api/configuration/product-variant-price-selection-strategy.mdx +2 -2
- package/docs/reference/typescript-api/configuration/product-variant-price-update-strategy.mdx +2 -2
- package/docs/reference/typescript-api/configuration/runtime-vendure-config.mdx +1 -1
- package/docs/reference/typescript-api/configuration/slug-strategy.mdx +1 -1
- package/docs/reference/typescript-api/data-access/calculated-property-subscriber.mdx +1 -1
- package/docs/reference/typescript-api/data-access/get-entity-or-throw-options.mdx +1 -1
- package/docs/reference/typescript-api/data-access/list-query-builder.mdx +1 -1
- package/docs/reference/typescript-api/default-search-plugin/index.mdx +1 -1
- package/docs/reference/typescript-api/default-search-plugin/mysql-search-strategy.mdx +1 -1
- package/docs/reference/typescript-api/default-search-plugin/postgres-search-strategy.mdx +1 -1
- package/docs/reference/typescript-api/default-search-plugin/search-strategy.mdx +1 -1
- package/docs/reference/typescript-api/default-search-plugin/sqlite-search-strategy.mdx +1 -1
- package/docs/reference/typescript-api/entities/address.mdx +2 -2
- package/docs/reference/typescript-api/entities/administrator.mdx +2 -2
- package/docs/reference/typescript-api/entities/anonymous-session.mdx +1 -1
- package/docs/reference/typescript-api/entities/asset.mdx +2 -2
- package/docs/reference/typescript-api/entities/authenticated-session.mdx +1 -1
- package/docs/reference/typescript-api/entities/authentication-method.mdx +3 -3
- package/docs/reference/typescript-api/entities/channel.mdx +1 -1
- package/docs/reference/typescript-api/entities/collection.mdx +2 -2
- package/docs/reference/typescript-api/entities/country.mdx +1 -1
- package/docs/reference/typescript-api/entities/customer-group.mdx +2 -2
- package/docs/reference/typescript-api/entities/customer-history-entry.mdx +1 -1
- package/docs/reference/typescript-api/entities/customer.mdx +2 -2
- package/docs/reference/typescript-api/entities/facet-value.mdx +2 -2
- package/docs/reference/typescript-api/entities/facet.mdx +2 -2
- package/docs/reference/typescript-api/entities/fulfillment.mdx +2 -2
- package/docs/reference/typescript-api/entities/global-settings.mdx +2 -2
- package/docs/reference/typescript-api/entities/history-entry.mdx +2 -2
- package/docs/reference/typescript-api/entities/order-history-entry.mdx +1 -1
- package/docs/reference/typescript-api/entities/order-line-reference.mdx +4 -4
- package/docs/reference/typescript-api/entities/order-line.mdx +2 -2
- package/docs/reference/typescript-api/entities/order-modification.mdx +1 -1
- package/docs/reference/typescript-api/entities/order.mdx +2 -2
- package/docs/reference/typescript-api/entities/orderable-asset.mdx +2 -2
- package/docs/reference/typescript-api/entities/payment-method.mdx +2 -2
- package/docs/reference/typescript-api/entities/payment.mdx +2 -2
- package/docs/reference/typescript-api/entities/product-option-group.mdx +2 -2
- package/docs/reference/typescript-api/entities/product-option.mdx +2 -2
- package/docs/reference/typescript-api/entities/product-variant-price.mdx +2 -2
- package/docs/reference/typescript-api/entities/product-variant.mdx +2 -2
- package/docs/reference/typescript-api/entities/product.mdx +2 -2
- package/docs/reference/typescript-api/entities/promotion.mdx +2 -2
- package/docs/reference/typescript-api/entities/province.mdx +1 -1
- package/docs/reference/typescript-api/entities/refund.mdx +2 -2
- package/docs/reference/typescript-api/entities/region.mdx +2 -2
- package/docs/reference/typescript-api/entities/role.mdx +2 -2
- package/docs/reference/typescript-api/entities/seller.mdx +2 -2
- package/docs/reference/typescript-api/entities/session.mdx +2 -2
- package/docs/reference/typescript-api/entities/settings-store-entry.mdx +1 -1
- package/docs/reference/typescript-api/entities/shipping-line.mdx +2 -2
- package/docs/reference/typescript-api/entities/shipping-method.mdx +2 -2
- package/docs/reference/typescript-api/entities/stock-level.mdx +2 -2
- package/docs/reference/typescript-api/entities/stock-location.mdx +2 -2
- package/docs/reference/typescript-api/entities/stock-movement.mdx +7 -7
- package/docs/reference/typescript-api/entities/surcharge.mdx +1 -1
- package/docs/reference/typescript-api/entities/tag.mdx +1 -1
- package/docs/reference/typescript-api/entities/tax-category.mdx +2 -2
- package/docs/reference/typescript-api/entities/tax-rate.mdx +2 -2
- package/docs/reference/typescript-api/entities/user.mdx +2 -2
- package/docs/reference/typescript-api/entities/zone.mdx +2 -2
- package/docs/reference/typescript-api/errors/error-handler-strategy.mdx +1 -1
- package/docs/reference/typescript-api/errors/error-types.mdx +7 -7
- package/docs/reference/typescript-api/errors/i18n-error.mdx +1 -1
- package/docs/reference/typescript-api/events/event-bus.mdx +1 -1
- package/docs/reference/typescript-api/events/event-types.mdx +59 -59
- package/docs/reference/typescript-api/events/vendure-entity-event.mdx +1 -1
- package/docs/reference/typescript-api/fulfillment/fulfillment-handler.mdx +2 -2
- package/docs/reference/typescript-api/fulfillment/fulfillment-process.mdx +1 -1
- package/docs/reference/typescript-api/health-check/health-check-strategy.mdx +1 -1
- package/docs/reference/typescript-api/health-check/http-health-check-strategy.mdx +1 -1
- package/docs/reference/typescript-api/health-check/type-ormhealth-check-strategy.mdx +1 -1
- package/docs/reference/typescript-api/import-export/asset-import-strategy.mdx +1 -1
- package/docs/reference/typescript-api/import-export/default-asset-import-strategy.mdx +1 -1
- package/docs/reference/typescript-api/job-queue/in-memory-job-buffer-storage-strategy.mdx +1 -1
- package/docs/reference/typescript-api/job-queue/in-memory-job-queue-strategy.mdx +2 -2
- package/docs/reference/typescript-api/job-queue/inspectable-job-queue-strategy.mdx +1 -1
- package/docs/reference/typescript-api/job-queue/job-buffer-storage-strategy.mdx +1 -1
- package/docs/reference/typescript-api/job-queue/job-queue-service.mdx +1 -1
- package/docs/reference/typescript-api/job-queue/job-queue-strategy.mdx +1 -1
- package/docs/reference/typescript-api/job-queue/polling-job-queue-strategy.mdx +1 -1
- package/docs/reference/typescript-api/job-queue/sql-job-queue-strategy.mdx +2 -2
- package/docs/reference/typescript-api/job-queue/subscribable-job.mdx +1 -1
- package/docs/reference/typescript-api/logger/default-logger.mdx +1 -1
- package/docs/reference/typescript-api/logger/index.mdx +1 -1
- package/docs/reference/typescript-api/money/big-int-money-strategy.mdx +1 -1
- package/docs/reference/typescript-api/money/default-money-strategy.mdx +1 -1
- package/docs/reference/typescript-api/money/money-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/active-order-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/changed-price-handling-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/default-active-order-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/default-guest-checkout-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/default-order-item-price-calculation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/default-order-placed-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/default-stock-allocation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/guest-checkout-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/merge-strategies.mdx +4 -4
- package/docs/reference/typescript-api/orders/order-by-code-access-strategy.mdx +2 -2
- package/docs/reference/typescript-api/orders/order-code-strategy.mdx +2 -2
- package/docs/reference/typescript-api/orders/order-interceptor.mdx +1 -1
- package/docs/reference/typescript-api/orders/order-item-price-calculation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/order-merge-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/order-placed-strategy.mdx +1 -1
- package/docs/reference/typescript-api/orders/order-process.mdx +1 -1
- package/docs/reference/typescript-api/orders/order-seller-strategy.mdx +2 -2
- package/docs/reference/typescript-api/orders/stock-allocation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/payment/payment-method-config-options.mdx +1 -1
- package/docs/reference/typescript-api/payment/payment-method-eligibility-checker.mdx +2 -2
- package/docs/reference/typescript-api/payment/payment-method-handler.mdx +1 -1
- package/docs/reference/typescript-api/payment/payment-process.mdx +1 -1
- package/docs/reference/typescript-api/payment/refund-process.mdx +1 -1
- package/docs/reference/typescript-api/plugin/vendure-plugin-metadata.mdx +1 -1
- package/docs/reference/typescript-api/products-stock/default-product-variant-price-calculation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/products-stock/default-stock-display-strategy.mdx +1 -1
- package/docs/reference/typescript-api/products-stock/default-stock-location-strategy.mdx +1 -1
- package/docs/reference/typescript-api/products-stock/multi-channel-stock-location-strategy.mdx +1 -1
- package/docs/reference/typescript-api/products-stock/product-variant-price-calculation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/products-stock/stock-display-strategy.mdx +1 -1
- package/docs/reference/typescript-api/products-stock/stock-location-strategy.mdx +1 -1
- package/docs/reference/typescript-api/promotions/facet-value-checker.mdx +1 -1
- package/docs/reference/typescript-api/promotions/promotion-action.mdx +10 -10
- package/docs/reference/typescript-api/promotions/promotion-condition.mdx +2 -2
- package/docs/reference/typescript-api/scheduled-tasks/default-scheduler-strategy.mdx +1 -1
- package/docs/reference/typescript-api/scheduled-tasks/scheduler-service.mdx +1 -1
- package/docs/reference/typescript-api/scheduled-tasks/scheduler-strategy.mdx +1 -1
- package/docs/reference/typescript-api/services/asset-service.mdx +1 -1
- package/docs/reference/typescript-api/services/collection-service.mdx +1 -1
- package/docs/reference/typescript-api/services/session-service.mdx +1 -1
- package/docs/reference/typescript-api/services/settings-store-service.mdx +1 -1
- package/docs/reference/typescript-api/shipping/default-shipping-line-assignment-strategy.mdx +1 -1
- package/docs/reference/typescript-api/shipping/shipping-calculator.mdx +1 -1
- package/docs/reference/typescript-api/shipping/shipping-eligibility-checker-config.mdx +1 -1
- package/docs/reference/typescript-api/shipping/shipping-eligibility-checker.mdx +1 -1
- package/docs/reference/typescript-api/shipping/shipping-line-assignment-strategy.mdx +1 -1
- package/docs/reference/typescript-api/tax/address-based-tax-zone-strategy.mdx +1 -1
- package/docs/reference/typescript-api/tax/default-tax-line-calculation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/tax/default-tax-zone-strategy.mdx +1 -1
- package/docs/reference/typescript-api/tax/tax-line-calculation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/tax/tax-zone-strategy.mdx +1 -1
- package/docs/reference/typescript-api/telemetry/instrumentation-strategy.mdx +1 -1
- package/docs/reference/typescript-api/testing/testing-logger.mdx +1 -1
- package/package.json +1 -1
- package/docs/reference/graphql-api/admin/enums.mdx +0 -1139
- package/docs/reference/graphql-api/admin/input-types.mdx +0 -4708
- package/docs/reference/graphql-api/admin/mutations.mdx +0 -2750
- package/docs/reference/graphql-api/admin/object-types.mdx +0 -4973
- package/docs/reference/graphql-api/admin/queries.mdx +0 -1194
- package/docs/reference/graphql-api/shop/enums.mdx +0 -1063
- package/docs/reference/graphql-api/shop/input-types.mdx +0 -1113
- package/docs/reference/graphql-api/shop/mutations.mdx +0 -540
- package/docs/reference/graphql-api/shop/object-types.mdx +0 -3693
- package/docs/reference/graphql-api/shop/queries.mdx +0 -314
|
@@ -1,540 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Mutations"
|
|
3
|
-
generated: true
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## addItemToOrder {#additemtoorder}
|
|
9
|
-
|
|
10
|
-
<GraphQLDoc
|
|
11
|
-
type="mutation"
|
|
12
|
-
typeName="addItemToOrder"
|
|
13
|
-
typeLinks={{
|
|
14
|
-
UpdateOrderItemsResult: '/reference/graphql-api/shop/object-types#updateorderitemsresult',
|
|
15
|
-
ID: '/reference/graphql-api/shop/object-types#id',
|
|
16
|
-
Int: '/reference/graphql-api/shop/object-types#int',
|
|
17
|
-
}}
|
|
18
|
-
>
|
|
19
|
-
{`"""Adds an item to the Order. If custom fields are defined on the OrderLine entity, a third argument 'customFields' will be available."""
|
|
20
|
-
type Mutation {
|
|
21
|
-
addItemToOrder(productVariantId: ID!, quantity: Int!): UpdateOrderItemsResult!
|
|
22
|
-
}`}
|
|
23
|
-
</GraphQLDoc>
|
|
24
|
-
|
|
25
|
-
## addItemsToOrder {#additemstoorder}
|
|
26
|
-
|
|
27
|
-
<GraphQLDoc
|
|
28
|
-
type="mutation"
|
|
29
|
-
typeName="addItemsToOrder"
|
|
30
|
-
typeLinks={{
|
|
31
|
-
UpdateMultipleOrderItemsResult: '/reference/graphql-api/shop/object-types#updatemultipleorderitemsresult',
|
|
32
|
-
AddItemInput: '/reference/graphql-api/shop/input-types#additeminput',
|
|
33
|
-
}}
|
|
34
|
-
>
|
|
35
|
-
{`"""Adds mutliple items to the Order. Returns a list of errors for each item that failed to add. It will still add successful items."""
|
|
36
|
-
type Mutation {
|
|
37
|
-
addItemsToOrder(inputs: [AddItemInput!]!): UpdateMultipleOrderItemsResult!
|
|
38
|
-
}`}
|
|
39
|
-
</GraphQLDoc>
|
|
40
|
-
|
|
41
|
-
## addPaymentToOrder {#addpaymenttoorder}
|
|
42
|
-
|
|
43
|
-
<GraphQLDoc
|
|
44
|
-
type="mutation"
|
|
45
|
-
typeName="addPaymentToOrder"
|
|
46
|
-
typeLinks={{
|
|
47
|
-
AddPaymentToOrderResult: '/reference/graphql-api/shop/object-types#addpaymenttoorderresult',
|
|
48
|
-
PaymentInput: '/reference/graphql-api/shop/input-types#paymentinput',
|
|
49
|
-
}}
|
|
50
|
-
>
|
|
51
|
-
{`"""Add a Payment to the Order"""
|
|
52
|
-
type Mutation {
|
|
53
|
-
addPaymentToOrder(input: PaymentInput!): AddPaymentToOrderResult!
|
|
54
|
-
}`}
|
|
55
|
-
</GraphQLDoc>
|
|
56
|
-
|
|
57
|
-
## adjustOrderLine {#adjustorderline}
|
|
58
|
-
|
|
59
|
-
<GraphQLDoc
|
|
60
|
-
type="mutation"
|
|
61
|
-
typeName="adjustOrderLine"
|
|
62
|
-
typeLinks={{
|
|
63
|
-
UpdateOrderItemsResult: '/reference/graphql-api/shop/object-types#updateorderitemsresult',
|
|
64
|
-
ID: '/reference/graphql-api/shop/object-types#id',
|
|
65
|
-
Int: '/reference/graphql-api/shop/object-types#int',
|
|
66
|
-
}}
|
|
67
|
-
>
|
|
68
|
-
{`"""Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type \`OrderLineCustomFieldsInput\` will be available."""
|
|
69
|
-
type Mutation {
|
|
70
|
-
adjustOrderLine(orderLineId: ID!, quantity: Int!): UpdateOrderItemsResult!
|
|
71
|
-
}`}
|
|
72
|
-
</GraphQLDoc>
|
|
73
|
-
|
|
74
|
-
## applyCouponCode {#applycouponcode}
|
|
75
|
-
|
|
76
|
-
<GraphQLDoc
|
|
77
|
-
type="mutation"
|
|
78
|
-
typeName="applyCouponCode"
|
|
79
|
-
typeLinks={{
|
|
80
|
-
ApplyCouponCodeResult: '/reference/graphql-api/shop/object-types#applycouponcoderesult',
|
|
81
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
82
|
-
}}
|
|
83
|
-
>
|
|
84
|
-
{`"""Applies the given coupon code to the active Order"""
|
|
85
|
-
type Mutation {
|
|
86
|
-
applyCouponCode(couponCode: String!): ApplyCouponCodeResult!
|
|
87
|
-
}`}
|
|
88
|
-
</GraphQLDoc>
|
|
89
|
-
|
|
90
|
-
## authenticate {#authenticate}
|
|
91
|
-
|
|
92
|
-
<GraphQLDoc
|
|
93
|
-
type="mutation"
|
|
94
|
-
typeName="authenticate"
|
|
95
|
-
typeLinks={{
|
|
96
|
-
AuthenticationResult: '/reference/graphql-api/shop/object-types#authenticationresult',
|
|
97
|
-
AuthenticationInput: '/reference/graphql-api/shop/input-types#authenticationinput',
|
|
98
|
-
Boolean: '/reference/graphql-api/shop/object-types#boolean',
|
|
99
|
-
}}
|
|
100
|
-
>
|
|
101
|
-
{`"""Authenticates the user using a named authentication strategy"""
|
|
102
|
-
type Mutation {
|
|
103
|
-
authenticate(input: AuthenticationInput!, rememberMe: Boolean): AuthenticationResult!
|
|
104
|
-
}`}
|
|
105
|
-
</GraphQLDoc>
|
|
106
|
-
|
|
107
|
-
## createCustomerAddress {#createcustomeraddress}
|
|
108
|
-
|
|
109
|
-
<GraphQLDoc
|
|
110
|
-
type="mutation"
|
|
111
|
-
typeName="createCustomerAddress"
|
|
112
|
-
typeLinks={{
|
|
113
|
-
Address: '/reference/graphql-api/shop/object-types#address',
|
|
114
|
-
CreateAddressInput: '/reference/graphql-api/shop/input-types#createaddressinput',
|
|
115
|
-
}}
|
|
116
|
-
>
|
|
117
|
-
{`"""Create a new Customer Address"""
|
|
118
|
-
type Mutation {
|
|
119
|
-
createCustomerAddress(input: CreateAddressInput!): Address!
|
|
120
|
-
}`}
|
|
121
|
-
</GraphQLDoc>
|
|
122
|
-
|
|
123
|
-
## deleteCustomerAddress {#deletecustomeraddress}
|
|
124
|
-
|
|
125
|
-
<GraphQLDoc
|
|
126
|
-
type="mutation"
|
|
127
|
-
typeName="deleteCustomerAddress"
|
|
128
|
-
typeLinks={{
|
|
129
|
-
Success: '/reference/graphql-api/shop/object-types#success',
|
|
130
|
-
ID: '/reference/graphql-api/shop/object-types#id',
|
|
131
|
-
}}
|
|
132
|
-
>
|
|
133
|
-
{`"""Delete an existing Address"""
|
|
134
|
-
type Mutation {
|
|
135
|
-
deleteCustomerAddress(id: ID!): Success!
|
|
136
|
-
}`}
|
|
137
|
-
</GraphQLDoc>
|
|
138
|
-
|
|
139
|
-
## login {#login}
|
|
140
|
-
|
|
141
|
-
<GraphQLDoc
|
|
142
|
-
type="mutation"
|
|
143
|
-
typeName="login"
|
|
144
|
-
typeLinks={{
|
|
145
|
-
NativeAuthenticationResult: '/reference/graphql-api/shop/object-types#nativeauthenticationresult',
|
|
146
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
147
|
-
Boolean: '/reference/graphql-api/shop/object-types#boolean',
|
|
148
|
-
}}
|
|
149
|
-
>
|
|
150
|
-
{`"""
|
|
151
|
-
Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }})
|
|
152
|
-
|
|
153
|
-
The \`rememberMe\` option applies when using cookie-based sessions, and if \`true\` it will set the maxAge of the session cookie
|
|
154
|
-
to 1 year.
|
|
155
|
-
"""
|
|
156
|
-
type Mutation {
|
|
157
|
-
login(username: String!, password: String!, rememberMe: Boolean): NativeAuthenticationResult!
|
|
158
|
-
}`}
|
|
159
|
-
</GraphQLDoc>
|
|
160
|
-
|
|
161
|
-
## logout {#logout}
|
|
162
|
-
|
|
163
|
-
<GraphQLDoc
|
|
164
|
-
type="mutation"
|
|
165
|
-
typeName="logout"
|
|
166
|
-
typeLinks={{
|
|
167
|
-
Success: '/reference/graphql-api/shop/object-types#success',
|
|
168
|
-
}}
|
|
169
|
-
>
|
|
170
|
-
{`"""End the current authenticated session"""
|
|
171
|
-
type Mutation {
|
|
172
|
-
logout: Success!
|
|
173
|
-
}`}
|
|
174
|
-
</GraphQLDoc>
|
|
175
|
-
|
|
176
|
-
## refreshCustomerVerification {#refreshcustomerverification}
|
|
177
|
-
|
|
178
|
-
<GraphQLDoc
|
|
179
|
-
type="mutation"
|
|
180
|
-
typeName="refreshCustomerVerification"
|
|
181
|
-
typeLinks={{
|
|
182
|
-
RefreshCustomerVerificationResult: '/reference/graphql-api/shop/object-types#refreshcustomerverificationresult',
|
|
183
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
184
|
-
}}
|
|
185
|
-
>
|
|
186
|
-
{`"""Regenerate and send a verification token for a new Customer registration. Only applicable if \`authOptions.requireVerification\` is set to true."""
|
|
187
|
-
type Mutation {
|
|
188
|
-
refreshCustomerVerification(emailAddress: String!): RefreshCustomerVerificationResult!
|
|
189
|
-
}`}
|
|
190
|
-
</GraphQLDoc>
|
|
191
|
-
|
|
192
|
-
## registerCustomerAccount {#registercustomeraccount}
|
|
193
|
-
|
|
194
|
-
<GraphQLDoc
|
|
195
|
-
type="mutation"
|
|
196
|
-
typeName="registerCustomerAccount"
|
|
197
|
-
typeLinks={{
|
|
198
|
-
RegisterCustomerAccountResult: '/reference/graphql-api/shop/object-types#registercustomeraccountresult',
|
|
199
|
-
RegisterCustomerInput: '/reference/graphql-api/shop/input-types#registercustomerinput',
|
|
200
|
-
}}
|
|
201
|
-
>
|
|
202
|
-
{`"""
|
|
203
|
-
Register a Customer account with the given credentials. There are three possible registration flows:
|
|
204
|
-
|
|
205
|
-
_If \`authOptions.requireVerification\` is set to \`true\`:_
|
|
206
|
-
|
|
207
|
-
1. **The Customer is registered _with_ a password**. A verificationToken will be created (and typically emailed to the Customer). That
|
|
208
|
-
verificationToken would then be passed to the \`verifyCustomerAccount\` mutation _without_ a password. The Customer is then
|
|
209
|
-
verified and authenticated in one step.
|
|
210
|
-
2. **The Customer is registered _without_ a password**. A verificationToken will be created (and typically emailed to the Customer). That
|
|
211
|
-
verificationToken would then be passed to the \`verifyCustomerAccount\` mutation _with_ the chosen password of the Customer. The Customer is then
|
|
212
|
-
verified and authenticated in one step.
|
|
213
|
-
|
|
214
|
-
_If \`authOptions.requireVerification\` is set to \`false\`:_
|
|
215
|
-
|
|
216
|
-
3. The Customer _must_ be registered _with_ a password. No further action is needed - the Customer is able to authenticate immediately.
|
|
217
|
-
"""
|
|
218
|
-
type Mutation {
|
|
219
|
-
registerCustomerAccount(input: RegisterCustomerInput!): RegisterCustomerAccountResult!
|
|
220
|
-
}`}
|
|
221
|
-
</GraphQLDoc>
|
|
222
|
-
|
|
223
|
-
## removeAllOrderLines {#removeallorderlines}
|
|
224
|
-
|
|
225
|
-
<GraphQLDoc
|
|
226
|
-
type="mutation"
|
|
227
|
-
typeName="removeAllOrderLines"
|
|
228
|
-
typeLinks={{
|
|
229
|
-
RemoveOrderItemsResult: '/reference/graphql-api/shop/object-types#removeorderitemsresult',
|
|
230
|
-
}}
|
|
231
|
-
>
|
|
232
|
-
{`"""Remove all OrderLine from the Order"""
|
|
233
|
-
type Mutation {
|
|
234
|
-
removeAllOrderLines: RemoveOrderItemsResult!
|
|
235
|
-
}`}
|
|
236
|
-
</GraphQLDoc>
|
|
237
|
-
|
|
238
|
-
## removeCouponCode {#removecouponcode}
|
|
239
|
-
|
|
240
|
-
<GraphQLDoc
|
|
241
|
-
type="mutation"
|
|
242
|
-
typeName="removeCouponCode"
|
|
243
|
-
typeLinks={{
|
|
244
|
-
Order: '/reference/graphql-api/shop/object-types#order',
|
|
245
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
246
|
-
}}
|
|
247
|
-
>
|
|
248
|
-
{`"""Removes the given coupon code from the active Order"""
|
|
249
|
-
type Mutation {
|
|
250
|
-
removeCouponCode(couponCode: String!): Order
|
|
251
|
-
}`}
|
|
252
|
-
</GraphQLDoc>
|
|
253
|
-
|
|
254
|
-
## removeOrderLine {#removeorderline}
|
|
255
|
-
|
|
256
|
-
<GraphQLDoc
|
|
257
|
-
type="mutation"
|
|
258
|
-
typeName="removeOrderLine"
|
|
259
|
-
typeLinks={{
|
|
260
|
-
RemoveOrderItemsResult: '/reference/graphql-api/shop/object-types#removeorderitemsresult',
|
|
261
|
-
ID: '/reference/graphql-api/shop/object-types#id',
|
|
262
|
-
}}
|
|
263
|
-
>
|
|
264
|
-
{`"""Remove an OrderLine from the Order"""
|
|
265
|
-
type Mutation {
|
|
266
|
-
removeOrderLine(orderLineId: ID!): RemoveOrderItemsResult!
|
|
267
|
-
}`}
|
|
268
|
-
</GraphQLDoc>
|
|
269
|
-
|
|
270
|
-
## requestPasswordReset {#requestpasswordreset}
|
|
271
|
-
|
|
272
|
-
<GraphQLDoc
|
|
273
|
-
type="mutation"
|
|
274
|
-
typeName="requestPasswordReset"
|
|
275
|
-
typeLinks={{
|
|
276
|
-
RequestPasswordResetResult: '/reference/graphql-api/shop/object-types#requestpasswordresetresult',
|
|
277
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
278
|
-
}}
|
|
279
|
-
>
|
|
280
|
-
{`"""Requests a password reset email to be sent"""
|
|
281
|
-
type Mutation {
|
|
282
|
-
requestPasswordReset(emailAddress: String!): RequestPasswordResetResult
|
|
283
|
-
}`}
|
|
284
|
-
</GraphQLDoc>
|
|
285
|
-
|
|
286
|
-
## requestUpdateCustomerEmailAddress {#requestupdatecustomeremailaddress}
|
|
287
|
-
|
|
288
|
-
<GraphQLDoc
|
|
289
|
-
type="mutation"
|
|
290
|
-
typeName="requestUpdateCustomerEmailAddress"
|
|
291
|
-
typeLinks={{
|
|
292
|
-
RequestUpdateCustomerEmailAddressResult: '/reference/graphql-api/shop/object-types#requestupdatecustomeremailaddressresult',
|
|
293
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
294
|
-
}}
|
|
295
|
-
>
|
|
296
|
-
{`"""
|
|
297
|
-
Request to update the emailAddress of the active Customer. If \`authOptions.requireVerification\` is enabled
|
|
298
|
-
(as is the default), then the \`identifierChangeToken\` will be assigned to the current User and
|
|
299
|
-
a IdentifierChangeRequestEvent will be raised. This can then be used e.g. by the EmailPlugin to email
|
|
300
|
-
that verification token to the Customer, which is then used to verify the change of email address.
|
|
301
|
-
"""
|
|
302
|
-
type Mutation {
|
|
303
|
-
requestUpdateCustomerEmailAddress(password: String!, newEmailAddress: String!): RequestUpdateCustomerEmailAddressResult!
|
|
304
|
-
}`}
|
|
305
|
-
</GraphQLDoc>
|
|
306
|
-
|
|
307
|
-
## resetPassword {#resetpassword}
|
|
308
|
-
|
|
309
|
-
<GraphQLDoc
|
|
310
|
-
type="mutation"
|
|
311
|
-
typeName="resetPassword"
|
|
312
|
-
typeLinks={{
|
|
313
|
-
ResetPasswordResult: '/reference/graphql-api/shop/object-types#resetpasswordresult',
|
|
314
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
315
|
-
}}
|
|
316
|
-
>
|
|
317
|
-
{`"""Resets a Customer's password based on the provided token"""
|
|
318
|
-
type Mutation {
|
|
319
|
-
resetPassword(token: String!, password: String!): ResetPasswordResult!
|
|
320
|
-
}`}
|
|
321
|
-
</GraphQLDoc>
|
|
322
|
-
|
|
323
|
-
## setCustomerForOrder {#setcustomerfororder}
|
|
324
|
-
|
|
325
|
-
<GraphQLDoc
|
|
326
|
-
type="mutation"
|
|
327
|
-
typeName="setCustomerForOrder"
|
|
328
|
-
typeLinks={{
|
|
329
|
-
SetCustomerForOrderResult: '/reference/graphql-api/shop/object-types#setcustomerfororderresult',
|
|
330
|
-
CreateCustomerInput: '/reference/graphql-api/shop/input-types#createcustomerinput',
|
|
331
|
-
}}
|
|
332
|
-
>
|
|
333
|
-
{`"""Set the Customer for the Order. Required only if the Customer is not currently logged in"""
|
|
334
|
-
type Mutation {
|
|
335
|
-
setCustomerForOrder(input: CreateCustomerInput!): SetCustomerForOrderResult!
|
|
336
|
-
}`}
|
|
337
|
-
</GraphQLDoc>
|
|
338
|
-
|
|
339
|
-
## setOrderBillingAddress {#setorderbillingaddress}
|
|
340
|
-
|
|
341
|
-
<GraphQLDoc
|
|
342
|
-
type="mutation"
|
|
343
|
-
typeName="setOrderBillingAddress"
|
|
344
|
-
typeLinks={{
|
|
345
|
-
ActiveOrderResult: '/reference/graphql-api/shop/object-types#activeorderresult',
|
|
346
|
-
CreateAddressInput: '/reference/graphql-api/shop/input-types#createaddressinput',
|
|
347
|
-
}}
|
|
348
|
-
>
|
|
349
|
-
{`"""Sets the billing address for the active Order"""
|
|
350
|
-
type Mutation {
|
|
351
|
-
setOrderBillingAddress(input: CreateAddressInput!): ActiveOrderResult!
|
|
352
|
-
}`}
|
|
353
|
-
</GraphQLDoc>
|
|
354
|
-
|
|
355
|
-
## setOrderCustomFields {#setordercustomfields}
|
|
356
|
-
|
|
357
|
-
<GraphQLDoc
|
|
358
|
-
type="mutation"
|
|
359
|
-
typeName="setOrderCustomFields"
|
|
360
|
-
typeLinks={{
|
|
361
|
-
ActiveOrderResult: '/reference/graphql-api/shop/object-types#activeorderresult',
|
|
362
|
-
UpdateOrderInput: '/reference/graphql-api/shop/input-types#updateorderinput',
|
|
363
|
-
}}
|
|
364
|
-
>
|
|
365
|
-
{`"""Allows any custom fields to be set for the active Order"""
|
|
366
|
-
type Mutation {
|
|
367
|
-
setOrderCustomFields(input: UpdateOrderInput!): ActiveOrderResult!
|
|
368
|
-
}`}
|
|
369
|
-
</GraphQLDoc>
|
|
370
|
-
|
|
371
|
-
## setOrderShippingAddress {#setordershippingaddress}
|
|
372
|
-
|
|
373
|
-
<GraphQLDoc
|
|
374
|
-
type="mutation"
|
|
375
|
-
typeName="setOrderShippingAddress"
|
|
376
|
-
typeLinks={{
|
|
377
|
-
ActiveOrderResult: '/reference/graphql-api/shop/object-types#activeorderresult',
|
|
378
|
-
CreateAddressInput: '/reference/graphql-api/shop/input-types#createaddressinput',
|
|
379
|
-
}}
|
|
380
|
-
>
|
|
381
|
-
{`"""Sets the shipping address for the active Order"""
|
|
382
|
-
type Mutation {
|
|
383
|
-
setOrderShippingAddress(input: CreateAddressInput!): ActiveOrderResult!
|
|
384
|
-
}`}
|
|
385
|
-
</GraphQLDoc>
|
|
386
|
-
|
|
387
|
-
## setOrderShippingMethod {#setordershippingmethod}
|
|
388
|
-
|
|
389
|
-
<GraphQLDoc
|
|
390
|
-
type="mutation"
|
|
391
|
-
typeName="setOrderShippingMethod"
|
|
392
|
-
typeLinks={{
|
|
393
|
-
SetOrderShippingMethodResult: '/reference/graphql-api/shop/object-types#setordershippingmethodresult',
|
|
394
|
-
ID: '/reference/graphql-api/shop/object-types#id',
|
|
395
|
-
}}
|
|
396
|
-
>
|
|
397
|
-
{`"""
|
|
398
|
-
Sets the shipping method by id, which can be obtained with the \`eligibleShippingMethods\` query.
|
|
399
|
-
An Order can have multiple shipping methods, in which case you can pass an array of ids. In this case,
|
|
400
|
-
you should configure a custom ShippingLineAssignmentStrategy in order to know which OrderLines each
|
|
401
|
-
shipping method will apply to.
|
|
402
|
-
"""
|
|
403
|
-
type Mutation {
|
|
404
|
-
setOrderShippingMethod(shippingMethodId: [ID!]!): SetOrderShippingMethodResult!
|
|
405
|
-
}`}
|
|
406
|
-
</GraphQLDoc>
|
|
407
|
-
|
|
408
|
-
## transitionOrderToState {#transitionordertostate}
|
|
409
|
-
|
|
410
|
-
<GraphQLDoc
|
|
411
|
-
type="mutation"
|
|
412
|
-
typeName="transitionOrderToState"
|
|
413
|
-
typeLinks={{
|
|
414
|
-
TransitionOrderToStateResult: '/reference/graphql-api/shop/object-types#transitionordertostateresult',
|
|
415
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
416
|
-
}}
|
|
417
|
-
>
|
|
418
|
-
{`"""Transitions an Order to a new state. Valid next states can be found by querying \`nextOrderStates\`"""
|
|
419
|
-
type Mutation {
|
|
420
|
-
transitionOrderToState(state: String!): TransitionOrderToStateResult
|
|
421
|
-
}`}
|
|
422
|
-
</GraphQLDoc>
|
|
423
|
-
|
|
424
|
-
## unsetOrderBillingAddress {#unsetorderbillingaddress}
|
|
425
|
-
|
|
426
|
-
<GraphQLDoc
|
|
427
|
-
type="mutation"
|
|
428
|
-
typeName="unsetOrderBillingAddress"
|
|
429
|
-
typeLinks={{
|
|
430
|
-
ActiveOrderResult: '/reference/graphql-api/shop/object-types#activeorderresult',
|
|
431
|
-
}}
|
|
432
|
-
>
|
|
433
|
-
{`"""Unsets the billing address for the active Order. Available since version 3.1.0"""
|
|
434
|
-
type Mutation {
|
|
435
|
-
unsetOrderBillingAddress: ActiveOrderResult!
|
|
436
|
-
}`}
|
|
437
|
-
</GraphQLDoc>
|
|
438
|
-
|
|
439
|
-
## unsetOrderShippingAddress {#unsetordershippingaddress}
|
|
440
|
-
|
|
441
|
-
<GraphQLDoc
|
|
442
|
-
type="mutation"
|
|
443
|
-
typeName="unsetOrderShippingAddress"
|
|
444
|
-
typeLinks={{
|
|
445
|
-
ActiveOrderResult: '/reference/graphql-api/shop/object-types#activeorderresult',
|
|
446
|
-
}}
|
|
447
|
-
>
|
|
448
|
-
{`"""Unsets the shipping address for the active Order. Available since version 3.1.0"""
|
|
449
|
-
type Mutation {
|
|
450
|
-
unsetOrderShippingAddress: ActiveOrderResult!
|
|
451
|
-
}`}
|
|
452
|
-
</GraphQLDoc>
|
|
453
|
-
|
|
454
|
-
## updateCustomer {#updatecustomer}
|
|
455
|
-
|
|
456
|
-
<GraphQLDoc
|
|
457
|
-
type="mutation"
|
|
458
|
-
typeName="updateCustomer"
|
|
459
|
-
typeLinks={{
|
|
460
|
-
Customer: '/reference/graphql-api/shop/object-types#customer',
|
|
461
|
-
UpdateCustomerInput: '/reference/graphql-api/shop/input-types#updatecustomerinput',
|
|
462
|
-
}}
|
|
463
|
-
>
|
|
464
|
-
{`"""Update an existing Customer"""
|
|
465
|
-
type Mutation {
|
|
466
|
-
updateCustomer(input: UpdateCustomerInput!): Customer!
|
|
467
|
-
}`}
|
|
468
|
-
</GraphQLDoc>
|
|
469
|
-
|
|
470
|
-
## updateCustomerAddress {#updatecustomeraddress}
|
|
471
|
-
|
|
472
|
-
<GraphQLDoc
|
|
473
|
-
type="mutation"
|
|
474
|
-
typeName="updateCustomerAddress"
|
|
475
|
-
typeLinks={{
|
|
476
|
-
Address: '/reference/graphql-api/shop/object-types#address',
|
|
477
|
-
UpdateAddressInput: '/reference/graphql-api/shop/input-types#updateaddressinput',
|
|
478
|
-
}}
|
|
479
|
-
>
|
|
480
|
-
{`"""Update an existing Address"""
|
|
481
|
-
type Mutation {
|
|
482
|
-
updateCustomerAddress(input: UpdateAddressInput!): Address!
|
|
483
|
-
}`}
|
|
484
|
-
</GraphQLDoc>
|
|
485
|
-
|
|
486
|
-
## updateCustomerEmailAddress {#updatecustomeremailaddress}
|
|
487
|
-
|
|
488
|
-
<GraphQLDoc
|
|
489
|
-
type="mutation"
|
|
490
|
-
typeName="updateCustomerEmailAddress"
|
|
491
|
-
typeLinks={{
|
|
492
|
-
UpdateCustomerEmailAddressResult: '/reference/graphql-api/shop/object-types#updatecustomeremailaddressresult',
|
|
493
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
494
|
-
}}
|
|
495
|
-
>
|
|
496
|
-
{`"""
|
|
497
|
-
Confirm the update of the emailAddress with the provided token, which has been generated by the
|
|
498
|
-
\`requestUpdateCustomerEmailAddress\` mutation.
|
|
499
|
-
"""
|
|
500
|
-
type Mutation {
|
|
501
|
-
updateCustomerEmailAddress(token: String!): UpdateCustomerEmailAddressResult!
|
|
502
|
-
}`}
|
|
503
|
-
</GraphQLDoc>
|
|
504
|
-
|
|
505
|
-
## updateCustomerPassword {#updatecustomerpassword}
|
|
506
|
-
|
|
507
|
-
<GraphQLDoc
|
|
508
|
-
type="mutation"
|
|
509
|
-
typeName="updateCustomerPassword"
|
|
510
|
-
typeLinks={{
|
|
511
|
-
UpdateCustomerPasswordResult: '/reference/graphql-api/shop/object-types#updatecustomerpasswordresult',
|
|
512
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
513
|
-
}}
|
|
514
|
-
>
|
|
515
|
-
{`"""Update the password of the active Customer"""
|
|
516
|
-
type Mutation {
|
|
517
|
-
updateCustomerPassword(currentPassword: String!, newPassword: String!): UpdateCustomerPasswordResult!
|
|
518
|
-
}`}
|
|
519
|
-
</GraphQLDoc>
|
|
520
|
-
|
|
521
|
-
## verifyCustomerAccount {#verifycustomeraccount}
|
|
522
|
-
|
|
523
|
-
<GraphQLDoc
|
|
524
|
-
type="mutation"
|
|
525
|
-
typeName="verifyCustomerAccount"
|
|
526
|
-
typeLinks={{
|
|
527
|
-
VerifyCustomerAccountResult: '/reference/graphql-api/shop/object-types#verifycustomeraccountresult',
|
|
528
|
-
String: '/reference/graphql-api/shop/object-types#string',
|
|
529
|
-
}}
|
|
530
|
-
>
|
|
531
|
-
{`"""
|
|
532
|
-
Verify a Customer email address with the token sent to that address. Only applicable if \`authOptions.requireVerification\` is set to true.
|
|
533
|
-
|
|
534
|
-
If the Customer was not registered with a password in the \`registerCustomerAccount\` mutation, the password _must_ be
|
|
535
|
-
provided here.
|
|
536
|
-
"""
|
|
537
|
-
type Mutation {
|
|
538
|
-
verifyCustomerAccount(token: String!, password: String): VerifyCustomerAccountResult!
|
|
539
|
-
}`}
|
|
540
|
-
</GraphQLDoc>
|