Required access

unauthenticated_write_customers access scope

Activates a customer.

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.


Argument Type Default Description
id required ID!

Specifies the customer to activate.

input required CustomerActivateInput!

Return Fields

customer   (Customer)

The customer object.

customerAccessToken   (CustomerAccessToken)

A newly created customer access token object for the customer.

userErrors   ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up