Providing a product feed via API
- It can be an API that requires authentication or a fixed url that produces a full feed
- If it is a RESTful API, useful features are:
- Pagination
- Query for the last update time to reduce traffic and allow faster updates - CrescoData queries every 5 mins for what has changed since the last 5 mins
- If it is a static url that contains the full list, a fast response time would be good so CrescoData can refresh as quickly as possible (every 5 mins ideally)
- A RESTful API with a last update time would be the most scalable solution but again, is not required
Information required:
- The more data you can make available without a lot of work on your side, the better
- The feed should contain the list of products as well as the different colours and sizes (variants).
- This can be made available
- as a list of variants with a group id identifying the product
- as a list of products each with a sub-list of available variants
- The variants can support differing on any attribute, i.e. each variant can (but doesn't need to) have a different:
- Price
- Title
- Description