Skip to main content

MobileAddressAccess

Whether the buyer may add or edit addresses, and whether they are limited to assigned ones.

type MobileAddressAccess {
assignedCount: Int!
canAddAddress: Boolean!
isScoped: Boolean!
}

Fields​

MobileAddressAccess.assignedCount ● Int! non-null scalar​

How many addresses are assigned to this buyer. 0 when unscoped, which means unrestricted, NOT none.

MobileAddressAccess.canAddAddress ● Boolean! non-null scalar​

FALSE when the account owner has assigned specific addresses to this buyer — the app hides its add/edit address controls. The server enforces the same rule regardless of what the app renders.

MobileAddressAccess.isScoped ● Boolean! non-null scalar​

TRUE when this buyer is confined to the addresses assigned to them. Read this rather than inferring from the length of myAddresses: one returned address does not mean the buyer is limited to one.

Returned By​

myAddressAccess query