52API BASKET

This topic is primarily for administrators and other people who manage a Fiftytwo solution

This topic is about an API for on-premise use. To learn about Fiftytwo cloud-based APIs, go to https://api.fiftytwo.com/ .

52API BASKET, commonly known as Basket API, is a REST interface over HTTP(S) that uses either XML or JSON as input and output format

It provides basket and receipt calculation optimized for web and scalability, and makes discounts, etc. work exactly like they do with a regular till.

Key characteristics of Basket API:

  • Exposed as a stateless REST interface

  • No persistence of basket or receipt

  • Possible to run multiple 52ViKING tills, which allows load balancing and scalability

  • Each 52ViKING till has a single import of articles and a single database, but multiple execution threads

  • Useful as a basis for automated test and verification of correct calculations

Basket API is used with retail systems like 52ViKING, and it's part of the 52MASTERPRICER suite of APIs.