Fields


firstName
String

First name of the person or company.

lastName
String

Last name of the person or company.

email
String

A string representing the email address of the person or the company.

phone
String

A 10-digit phone number, in E.164 format.

address1
String

The first line of the address, such as the street name and number.

address2
String

The second line of the address, typically used for additional information such as an apartment or suite number.

city
String

A string representing the name of the city, district, village, or town where the buyer is located.

provinceCode
String

The ISO 3166-2 english province code without the country code or a full province name.

Example: CA for California, DE for Delaware. “Auckland” as a province name is also valid.

countryCode
required

Two letter ISO 3166-1 alpha-2 country code. Territories not explicitly defined in the Country enum are treated as subdivisions of their respective parent countries.

Example: US for United States, or NZ for New Zealand.

postalCode
String

A string representing the area postal code or ZIP code.

Mutations

updateCartBuyerIdentity(input: CartBuyerIdentityUpdateInput!)

Updates buyer identity if not provided in createCart mutation