For specific use cases, it might be necessary to extend our Unified API.
Chift provides two ways to do this:
Get raw data
Call custom endpoints
These features are designed to extend our unified API to meet unique integration requirements.
They enable direct communication with the native APIs of individual integrations, providing the flexibility to customize functionality and create tailored solutions for specific needs.
You can use this feature to fetch the raw data of the API calls done to build the unified data.
E.g. GET/pos/customers:
It will return next to the unified data (as always), a raw_data field with the endpoints called and the result.
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/promotionsChift 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.