Postman collection
Customers Read

pixiCustomerSearch

Searches customers by external customer number, e-mail, name, address, city, ZIP, country, shop, order or invoice number.

Wrapper around the internal procedure Pixi_CustomerSearch. The call first normalizes the search parameters and then passes them on. The internal procedure produces the result.

Normalization:

  • Empty strings and NULL are replaced by the wildcard %. For Name and Address the replacement is %%.
  • CustNrExternal: if a value other than % is given, a trailing % is appended. This makes it a prefix search, for example K100 becomes K100%.
  • OrderNr: 0 (and NULL) is treated as no filter (NULL).

Parameter mapping to Pixi_CustomerSearch:

  • CustNrExternal is passed as @CustID, and @CustomerNrExternal is passed as NULL.
  • RowCount, eMail, Name, Address, City, Zip, Country, ShopID, OrderNr, OrderNrExternal and InvoiceNr are passed through after normalization.
  • The other filters of the internal procedure are fixed to NULL: CardNr, BoxNr, ItemName, ItemEAN, Status and ShipCode. SerialNr is fixed to %.

RowCount (default 1500) is passed to the internal procedure and most likely limits the number of returned rows.

Notes

  • The definition of Pixi_CustomerSearch is not attached. The columns of the result, the exact matching logic and the sort order cannot be derived from this code. The % defaults suggest LIKE pattern matching, but this is not confirmed.
  • Because the code compares OrderNr with an empty string, the value 0 is treated as NULL (no filter).
  • The header comment ("Template for getting items…") was copied from a template and does not describe this call.
  • The call itself writes no data. Whether the internal procedure has side effects is unknown.
SQL object:
dbo.pipiCustomerSearch
Updated at 2026-10-30