Base interface for addresses entered into the API

interface AddressInput {
    city: string;
    residential?: null | boolean;
    street: GraphqlList<string>;
    [field_name: string]: undefined | JsonValue;
}

Hierarchy (View Summary)

Indexable

Properties

city: string

The city the address is in.

residential?: null | boolean

Whether the address is residential or commercial

street: GraphqlList<string>

The street address. Note that most carriers will only accept the first two lines.