Skip to main content

CustomerUserAddressAssignment

One address of the customer account, flagged with what this user holds on it. It lists every live address, not just the assigned ones.

type CustomerUserAddressAssignment {
id: ID!
isActive: Boolean!
isApprover: Boolean!
isAssigned: Boolean!
isBranch: Boolean!
label: String
orderLimit: Float
summary: String
type: String
}

Fields​

CustomerUserAddressAssignment.id ● ID! non-null scalar​

The unique ID of this record.

CustomerUserAddressAssignment.isActive ● Boolean! non-null scalar​

Address.isActive — an inactive address is un-orderable.

CustomerUserAddressAssignment.isApprover ● Boolean! non-null scalar​

PartnerBranchApprover row exists ⇒ this user may decide approval requests parked for this branch. Only ever set when approverScope = BRANCH.

CustomerUserAddressAssignment.isAssigned ● Boolean! non-null scalar​

PartnerBranchMember row exists ⇒ this address is assigned to the user: they may order FOR it and see its orders (visibility-scope rule 3). NOTE the whole-list rule — NO assigned address means unrestricted (the user sees every address), never none.

CustomerUserAddressAssignment.isBranch ● Boolean! non-null scalar​

Address.isBranch — whether this address is also a sales branch. Assignment does NOT require it; it gates the branch-only extras below.

CustomerUserAddressAssignment.label ● String scalar​

Address.label.

CustomerUserAddressAssignment.orderLimit ● Float scalar​

The ADDRESS's own order ceiling — not the user's. Branch rows only; null = no limit.

CustomerUserAddressAssignment.summary ● String scalar​

One-line 'street, city' summary — an unlabelled address is otherwise an unreadable row of uuids in the assignment picker.

CustomerUserAddressAssignment.type ● String scalar​

Address.type — BILLING | SHIPPING | …

Member Of​

PartnerCustomerUserDetail object