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.

userErrors   ([UserError!]!)

List of errors that occurred executing the mutation.