Best Practices¶
When developing client applications for the Flipkart MarketPlace:
Test your applications in the sandbox before integrating with the production environment.
Ensure that your client applications are ready to handle changes to the response structure and do not break when new fields are added.
Do not hardcode the access token for the client application as it expires after a certain duration
Keep a log of all the Flipkart API requests and reponses in your client application.
Note that the response elements and fields are not returned in any particular sequence. The samples provided in our documentation are for reference only.
- If subscribed for notifications, ensure that all the incoming events are accepted and handled as needed i.e., even if some events are not useful for your use-case, accept the event and perform a no-operation.
- Since Flipkart ensures the ordering of the events, all the incoming events must be consumed by the client apps inorder to receive the subsequent events of the group. A failure in event consumption will lead to non-delivery of the new events of this group.