Synchronizing article data with your own database

Most entity collection endpoints (called 'Search' in the reference documentation) provide a 'updatedFrom' request parameter.
This parameter allows you to fetch all entities which have an 'updatedAt' date that is equal to or greater than the updatedFrom parameter value.

If you are only interested in certain articles, you could define an extra field of type 'boolean' in Robaws or only save articles which have a specific articleGroupId.

We also define the include parameter with value 'availableStock' so that the response includes a non-null availableStock.

Then use the paging information in the response to fetch nexts results.
Was dit artikel nuttig?