Flowchart

Explanation about how the catalog integration works

Here's a simplified flowchart of how the catalog are loaded in the store.

1139

Integration FlowChart

Get catalog data
User performs an action that depends on product data.
This action can be to open the product category (product listing), or to open the detail of a product.

Send mapped request
The StreamShop API receives the request, maps it to the format accepted by the customer's api, and sends the new request.
In this step, the ideal is for the api to be able to deliver all the data in a single request to avoid slowness, if it is not possible, the StreamShop API will make all the necessary requests.

Get product(s) data
Customer API responds with product(s) data

Map product(s) data
StreamShop API returns the data mapped to the client.