Sync a product catalog
This is the most common 52ViKING integration: your ERP or PIM owns the product data, and 52ViKING needs it so tills can sell it.
Master Data is the API for this. It has 101 operations across 18 entity types, but they all follow the same three shapes, so learning one entity teaches you the rest.
The shape of every entity
Every entity behaves the same way. Articles, article groups, campaigns, discount groups, coupons, customers, and operators all give you:
Chain scope or store scope?
This is the first real decision, and it is the one people get wrong.
If you are unsure which set to use, ask your FiftyTwo consultant before you load production data. Writing a catalogue at the wrong scope is tedious to unwind, because you have to know which stores received what.
Writes are asynchronous
Every POST returns 202 Accepted with a reference in the Location header.
Schema validation happens synchronously, so a malformed body fails fast with
400. But a 202 only means accepted, not applied.
Batch to the limit, not below it
Use big batches. The rate limit is roughly 3 requests per second measured over a 10-second window, and the body limit is 2 MB. FiftyTwo’s own guidance is explicit: fill the 2 MB rather than sending many small updates.
A batch of 5,000 articles in one request is both faster and safer than 5,000
requests. Bodies over 2 MB return 413 Payload Too Large.
Order matters
Load referenced entities before the things that reference them, or the references dangle:
Deduplicate before you send
Duplicate object_id values inside a single POST body are resolved by rules
described in the Master Data overview. Do not rely on
them. Deduplicate in your own code, where you can see which record won.
Verify against a till
Once the batch reports success, price a basket containing the new articles with Basket API and check the result matches what you intended. That exercises the whole path in one call: distribution, article data, and promotion evaluation.