To utilise the Promotions and prices, your system needs to send the its basket to the Public API. The API will crunch the basket and respond with the discounted values so your system can appliy these to its basket.


1. POST the /api/Basket endpoint with your basket contents. It can contain as many lines as you wish.


{

  "basketHeader": {

    "salesChannelNo": "1",

    "transactionNo": "123",

    "basketDate": "2017-09-18T11:47:56.464Z",

    "customerNo": "12345",

    "currencyCode": "EUR"

  },

  "basketLine": [

    {

      "sequenceNo": 0,

      "itemNo": "2222",

      "variantCode": "123456755",

      "uom": "PCS",

      "quantity": 1

    }

  ]

}


2. It will respond with the formatted JSOn for you to consume.