Postman collection
Customers Read

pixiGetAddressesByEmail

Returns all addresses whose e-mail address matches the given value, optionally restricted to one shop.

Searches the address table for records whose eMail equals Email.

  • If ShopId is NULL or an empty string, addresses from all shops are returned.
  • Otherwise only addresses whose shop (AddrShopID) equals ShopId are returned.

For each address the call returns the address data, the external customer number, the linked customer key (CustKey) and the country name and ISO codes from the country table. The country data is joined with a left outer join, so addresses with an unknown country code are still returned with empty country columns.

No sort order is defined.

Notes

  • Reads with NOLOCK; uncommitted data may be returned.
  • The e-mail comparison is an exact equality; whether it is case-insensitive depends on the database collation. No wildcards are supported.
  • An address can appear for several customers or address types (e.g. invoice and delivery addresses), so multiple rows per e-mail are normal.
  • If no address matches, an empty result set is returned.

Tables used

Addresses · Read Countries · Read
SQL object:
dbo.pipiGetAddressesByEmail
Updated at 2026-10-30