Interface: AddressInput
Defined in: composables/react/useAddress.ts:27
Flat, framework-agnostic address payload accepted by the CRUD methods.
Properties
city
city:
string
Defined in: composables/react/useAddress.ts:47
City. Required.
company?
optionalcompany?:string
Defined in: composables/react/useAddress.ts:37
Company name printed on the address.
country
country:
string
Defined in: composables/react/useAddress.ts:49
ISO country code. Required.
email?
optionalemail?:string
Defined in: composables/react/useAddress.ts:51
Contact email for this address.
firstName?
optionalfirstName?:string
Defined in: composables/react/useAddress.ts:31
Recipient's first name.
gender?
optionalgender?:Gender
Defined in: composables/react/useAddress.ts:57
Recipient gender.
isDefault?
optionalisDefault?:YesNo
Defined in: composables/react/useAddress.ts:59
When Y, marks this address as the default for its type.
lastName?
optionallastName?:string
Defined in: composables/react/useAddress.ts:33
Recipient's last name.
middleName?
optionalmiddleName?:string
Defined in: composables/react/useAddress.ts:35
Recipient's middle name / tussenvoegsel.
mobile?
optionalmobile?:string
Defined in: composables/react/useAddress.ts:55
Mobile phone number.
notes?
optionalnotes?:string
Defined in: composables/react/useAddress.ts:61
Free-text notes attached to the address.
number?
optionalnumber?:string
Defined in: composables/react/useAddress.ts:41
House number.
numberExtension?
optionalnumberExtension?:string
Defined in: composables/react/useAddress.ts:43
House-number suffix / addition.
phone?
optionalphone?:string
Defined in: composables/react/useAddress.ts:53
Landline phone number.
postalCode
postalCode:
string
Defined in: composables/react/useAddress.ts:45
Postal / ZIP code. Required.
street
street:
string
Defined in: composables/react/useAddress.ts:39
Street name. Required.
type?
optionaltype?:AddressType
Defined in: composables/react/useAddress.ts:29
Address type (invoice/delivery). Only honoured on create — defaults to invoice for companies, delivery for customers.