Skip to main content

myAddresses

Requires a customer (portal or buyer app) session.

Returns the buyer's owned addresses.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query MyAddresses {
myAddresses {
id
postalCode
name
createdAt
addressLine1
addressType
}
}

Response:

{
"data": {
"myAddresses": [
{
"id": "id",
"postalCode": "string",
"name": "string",
"createdAt": "2025-01-15T00:00:00Z",
"addressLine1": "string",
"addressType": "BILLING"
}
]
}
}
myAddresses: [MyAddress!]!

Type​

MyAddress object​

A buyer-owned ordering location, backed by an Address row (type SHIPPING/DELIVERY). isActive: false means the address is pending a seller's approval and cannot be ordered against.