customerAddressCreate - storefront - MUTATION
Version: 2024-04
Description:
Creates a new address for a customer.
Access Scopes
`unauthenticated_write_customers` access scope.
Arguments
-
address:
MailingAddressInput! -
The customer mailing address to create.
-
customerAccessToken:
String! -
The access token used to identify the customer.
Returns
-
customerAddress:
MailingAddress
The new customer address object.
-
customerUserErrors:
CustomerUserError!
The list of errors that occurred from executing the mutation.
-
userErrors:
UserError!
The list of errors that occurred from executing the mutation.
Examples