API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04 Unsupported
API version: 2020-01 Unsupported

customerResetByUrl mutation

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead

Resets a customer’s password with the reset password url received from CustomerRecover.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
password ( String! ) required

New password that will be set as part of the reset password process.

resetUrl ( URL! ) required

The customer's reset password url.

Return fields

  • customer (Customer)

    The customer object which was reset.

  • customerAccessToken (CustomerAccessToken)

    A newly created customer access token object for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    List of errors that occurred executing the mutation.

Deprecated return fields

  • userErrors ([UserError!]!) deprecated

    List of errors that occurred executing the mutation.

    Deprecation warning

    Use customerUserErrors instead