customerData
Customer data applied to this cart via applyCustomerDataToCart, if any.
Null if no customer data has been provided yet.
Arguments
customerData doesn't take any arguments.
Type
This field resolves to CustomerData, which has the following fields:
| Field | Description | Type |
|---|---|---|
address | The customer's postal address, if provided. | Address |
email | The customer's email address, if provided and valid. | Email |
entries | All customer data as key-value entries. | [ CustomerDataEntry! ]! |
firstName | The customer's first name, if provided. | String |
gender | The customer's gender, if provided. A third option beyond `MALE` and `FEMALE` is planned. | Gender |
lastName | The customer's last name, if provided. | String |
organization | The customer's organization or company name, if provided. | String |