Description
Modify self.
Topic: Customers
Arguments
data: [StorefrontCustomerModify!]!
Main argument for mutations.
List of customer ids. See also: Unique Identifiers
Example: ["cu_EQzGqWoY"]
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Indicates whether the customer has consented to be sent marketing material via email
Example: false
addresses: [AddressCreate!]
default_billing_address_id: String
Default billing address identifier
Example: "ad_EQzGqWoY"
default_payment_source_id: String
Default stripe payment source id
Example: "card_1Ak9dNDVveQRXOWz2ZFPd73P"
default_shipping_address_id: String
Default shipping address identifier
Example: "ad_EQzGqWoY"
The name to display for other customers (under product reviews and such)
Example: "John S."
Valid when: display_name's length doesn't exceed 250 characters
Preferred language of the customer
The mobile phone number of the customer (used for notifications)
Example: "45634634562"
Whether to notify customer via mobile phone or not
Example: false
Name of the customer
Example: "John Smith"
Valid when: name's length doesn't exceed 250 characters
Currency customer prefers
Example: "USD"
Indicates whether the customer desires to get reminder emails
Example: false
Name of the time zone the customer is in
Example: "(GMT-05:00) Eastern Time"
Valid when: timezone's length doesn't exceed 50 characters
Result
Preview (typescript)
Loading module