Postman collection
Customers Read

pixiGetAddress

Returns a single address record identified by its address key, including country details, bank data and payment type.

Reads one address from the Pixi address table by its primary key AddrKey.

  • The address is filtered by AddrKey = @AddrKey. At most one row is returned.
  • The country of the address (Country) is joined with the country table via the country code. The country name and the ISO-2 and ISO-3 codes are added to the result. If no matching country exists, these columns are empty.
  • Besides contact data (name, company, street, ZIP, city, phone, fax, e-mail), the result contains the external customer number, the linked customer key (CustKey), the VAT ID, the birth date, a note, bank data (account number, account owner, BLZ, bank name, BIC, IBAN) and the payment type stored at the address.
  • Several columns are renamed in the output, e.g. Anrede becomes Title, CareOf becomes Company, AdrCustRef becomes CustKey and UsStId becomes VatID.

Notes

  • Both tables are read WITH (NOLOCK), so uncommitted changes may be visible.
  • If no address with the given key exists, the result set is empty; no error message is returned.
  • The result contains bank data (IBAN, BIC, account number). Handle it according to data protection requirements.
  • The column data types are not visible in the procedure; the types listed here are not confirmed by the code.

Tables used

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