Skip to content

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:

  1. retrieve basket
  2. recalculate basket
  3. repeat purchase
Retrieve basket response
{
    "x":"y"
}
Retrieve basket response

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:

  1. recalculate basket request
  2. 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.

Recalculate basket request

Place order request

Place order request

Place order response

Place order response

Register return request

Register return request

Register return response

Register return response