Postman collection
Customs Read

pixiGetItemCustomsInfo

Returns customs data (tariff number, country of origin, weight, dimensions) of one item, identified by item key, internal item number or EAN/UPC.

Returns the customs-relevant master data of a single item from the item master data.

  1. If none of ItemKey, ItemNrInt and EanUpc is supplied, one status row is returned. All data columns are NULL, ResultCode is 501 and the call stops.
  2. If ItemKey is NULL or 0, the item key is looked up by ItemNrInt, which is the internal item number.
  3. If no item key has been found yet, it is looked up by EanUpc.
  4. The item with the resolved key is returned. The country of origin CustomsCountryOfOrigin is joined to the country table to also return its ISO2 code. On success, ResultCode is 200 and ResultMessage is OK.

Identifier priority: ItemKey, then ItemNrInt, then EanUpc. If no matching item exists, the result set is empty and no error row is returned.

Notes

  • All reads use NOLOCK, so uncommitted data may be returned.
  • If a non-zero ItemKey is supplied that does not exist, ItemNrInt and EanUpc are not used as fallback. The result is simply empty.
  • The lookups by ItemNrInt and EanUpc use TOP 1 without an ORDER BY. If several items share the same EAN, which item is returned is not defined.
  • Passing only ItemKey = 0 passes the parameter check but returns an empty result set.
  • The column name Heigth is misspelled in the source and must be read exactly like this.
  • CustomsCountryOfOriginISO2 is NULL if the country code is not found in the country table.

Tables used

items · Read Countries · Read
SQL object:
dbo.pipiGetItemCustomsInfo
Updated at 2026-10-30