Anchor to customerAddressCreatecustomer
mutationcustomer Address Create
Requires access scope.
Create a new customer address.
Anchor to Arguments
Arguments
- Anchor to addressaddress•Mailing
Address Input!required Specifies the fields to use when creating the address.
- Anchor to customerIdcustomer•ID!required
Id The ID of the customer.
- Anchor to setAsDefaultset•Boolean
As Default Whether to set the address as the customer's default address.
Was this section helpful?
- Anchor to addressaddress•Mailing
Address The created address.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?