Appearance
UpsertAddressInput
Type: Input
Input for creating or updating an address
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| addressType | AddressType! | Type of address (required) | |
| city | String! | City (required) | |
| contactId | ContactID | Associated contact ID | |
| country | String! | Country code (required) | |
| customerId | CustomerID | Owner customer ID | |
| externalId | String | External system identifier (unique per tenant when set) | |
| id | AddressID | ID for update; omit for create | |
| isDefault | Boolean | Whether this is the default address | |
| postalCode | String | ZIP or postal code | |
| state | String | State or province | |
| street1 | String! | Street address line 1 (required) | |
| street2 | String | Street address line 2 | |
| supplierId | SupplierID | Owner supplier ID (for supplier addresses) |