- Get raw data
- Call custom endpoints
They enable direct communication with the native APIs of individual integrations, providing the flexibility to customize functionality and create tailored solutions for specific needs.
Raw data
You can use this feature to fetch the raw data of the API calls done to build the unified data. To retrieve raw data, you need to add the following header to your request:It will return next to the unified data (as always), a raw_data field with the endpoints called and the result.
Using the API Explorer, you have a checkbox to activate the “raw data” feature to test it out.
You can test this on your sandbox environment. Please contact your CSM to activate this into production.
Custom endpoints
You can use this feature to directly call a specific endpoint of a connector. E.g. For a POS connector, you want to call a route to give you the list of promotions of restaurants. This can be done as such:GET /consumers/consumerid/pos/custom/name_of_endpoints_with_params
You need to add custom after the name of the unified api and the endpoint you are requesting. E.G. GET /consumers/consumerid/pos/custom/promotions Chift will manage the authentication as always and will pass the other parameters to the endpoint. You are responsible to pass all required params as needed for the specific route of the connector.
This is not yet implemented on all connectors. Please contact the support or your CSM if needed
You can test this on your sandbox environment. Please contact your CSM to activate this into production.