Product lookup
The product lookup phase is a transaction consisting of a call to obtain product information about the available products. This information is used to process voucher provision requests for that service provider.
Note
This product lookup API call is used to retrieve product information from the master product list (electronic catalogue) that is maintained by the originating system via Electrum.
Operations and Messages
This transaction consists of a single set of messages described by the lookupProducts operation, GET /products.
- Response payload: ProductsLookupResponse
- Error payload: ErrorDetail
Message Flows
The sections below describe successful product lookup transactions and error scenarios.
Successful Product Lookup
- The originating system sends a
GETcall to the/productsAPI endpoint lookupProducts. - The API responds with a ProductsLookupResponse message payload.
- The originating system receives a list of available products.

Error at Originating System
- The originating system sends a
GETcall to the/productsAPI endpoint lookupProducts. - The API responds with a ProductsLookupResponse message payload.
- An error occurs at the originating system.
- The transaction is considered failed. No further action is required, however, the originating system should attempt the transaction again, or the previous day's product list can be used.

Error Upstream
- The originating system sends a
GETcall to the/productsAPI endpoint lookupProducts. - An error is encountered at Electrum or the Service Provider.
- The API responds to the originating system with an ErrorDetail message payload.
- No further action is required, however, the originating system should attempt the transaction again, or the previous day's product list can be used.

Important
It is recommended that the originating system attempts the transaction again until a successful response is received.