E-commerce · catalogue
The catalogue lives in PrestaShop.
Every product must be read, every night.
PrestaShop 8.2.8, its demo catalogue
The problem
PrestaShop answers XML.
- Not JSON, like most APIs.
- And it pages its own way: limit=0,50.
What is not changed
The shop stays as it is.
- Its Webservice, a read-only key.
- No module, no setting.
The first try
The hub refuses XML it was not told about.
- It never reads zero products in silence.
- It says the word to add.
What had to be written
response_format: xml
pagination: { kind: prestashop }Two lines.
- 19 products out of 19, name and price.
- A 25-line connector.
What was fixed
Three gaps found, three fixes.
- The hub reads XML.
- A repeated page fails the read.
- The prestashop preset.
The limit
XML read safely.
- No DTD, no entity: refused.
- Values arrive as text.
Try it
The scenario replays locally.
Every step is published with its output.