customerSet
Creates or updates a customer in a single mutation.
Use this mutation when syncing information from an external data source into Shopify.
This mutation can be used to create a new customer or update an existing customer.
To create a new customer omit the `id` field in the input.
To update an existing customer, include the `id` field in the input.
This mutation can also be used to perform an 'upsert' operation. To perform an 'upsert'
use the `upsertInput` argument to upsert a customer by a unique key (email or phone).
If a customer with the specified unique key exists, it will be updated. If not, a new customer
will be created.
As of API version 2022-10, apps using protected customer data must meet the
protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data)
Any list field (e.g.
[addresses](https://shopify.dev/api/admin-graphql/unstable/input-objects/MailingAddressInput),
will be updated so that all included entries are either created or updated, and all existing entries not
included will be deleted.
All other fields will be updated to the value passed. Omitted fields will not be updated.