JSON schema's¶
The following JSON schema's formally define the data exchange formats.
Basket response¶
The basket response schema describes the reponse from the webshop for every call where a basket is requested. These calls are:
- retrieve basket
- recalculate basket
- repeat purchase
Calculate basket request¶
The calculate basket request describes the request data for every case where a basket is created/modified in OpenApp and OpenApp needs to verify that the webshop has sufficient stock and has the right prices. These calls are:
- recalculate basket request
- repurchase request
The essential difference between both requests is that id contains the id of an existing basket for a recalculation request, whill it is null for a repurchase request.