customerActivateByUrl mutation

Activates a customer with the activation url received from customerCreate.

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
activationUrl ( URL! ) required

The customer activation URL.

password ( String! ) required

A new password set during activation.

Return fields

  • customer (Customer)

    The customer that was activated.

  • customerAccessToken (CustomerAccessToken)

    A new customer access token for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    The list of errors that occurred from executing the mutation.

Activates a customer with the activation url received from customerCreate.

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
activationUrl ( URL! ) required

The customer activation URL.

password ( String! ) required

A new password set during activation.

Return fields

  • customer (Customer)

    The customer that was activated.

  • customerAccessToken (CustomerAccessToken)

    A new customer access token for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    The list of errors that occurred from executing the mutation.

Activates a customer with the activation url received from customerCreate.

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
activationUrl ( URL! ) required

The customer activation URL.

password ( String! ) required

A new password set during activation.

Return fields

  • customer (Customer)

    The customer that was activated.

  • customerAccessToken (CustomerAccessToken)

    A new customer access token for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    The list of errors that occurred from executing the mutation.

Activates a customer with the activation url received from customerCreate.

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
activationUrl ( URL! ) required

The customer activation URL.

password ( String! ) required

A new password set during activation.

Return fields

  • customer (Customer)

    The customer that was activated.

  • customerAccessToken (CustomerAccessToken)

    A new customer access token for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    The list of errors that occurred from executing the mutation.

Activates a customer with the activation url received from customerCreate.

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
activationUrl ( URL! ) required

The customer activation URL.

password ( String! ) required

A new password set during activation.

Return fields

  • customer (Customer)

    The customer that was activated.

  • customerAccessToken (CustomerAccessToken)

    A new customer access token for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    The list of errors that occurred from executing the mutation.

Activates a customer with the activation url received from customerCreate.

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
activationUrl ( URL! ) required

The customer activation URL.

password ( String! ) required

A new password set during activation.

Return fields

  • customer (Customer)

    The customer that was activated.

  • customerAccessToken (CustomerAccessToken)

    A new customer access token for the customer.

  • customerUserErrors ([CustomerUserError!]!)

    The list of errors that occurred from executing the mutation.