Skip to main content

CustomerContactUpdateInput

Add, update, or remove a customer contact. Omitted contacts are unchanged.

input CustomerContactUpdateInput {
defaultContact: Boolean
delete: Boolean
email: String
id: ID
name: String
phoneNumber: String
title: String
}

Fields​

CustomerContactUpdateInput.defaultContact ● Boolean scalar common​

Make this the primary contact; the previous primary contact is demoted.

CustomerContactUpdateInput.delete ● Boolean scalar common​

Archive this contact; choose another primary contact first.

CustomerContactUpdateInput.email ● String scalar common​

Contact email, unique among the customer's active contacts.

CustomerContactUpdateInput.id ● ID scalar common​

Existing contact to change; omit to add a contact.

CustomerContactUpdateInput.name ● String scalar common​

Contact name; required when adding a contact.

CustomerContactUpdateInput.phoneNumber ● String scalar common​

Contact phone number.

CustomerContactUpdateInput.title ● String scalar common​

Job title; required when adding a contact.

Member Of​

CustomerUpdateItemInput input ● UpdateCustomerInput input