Skip to content

Get Article Set SummaryΒΆ

Certain gift cards are limited to purchasing specific items. This is indicated by a logical code. This endpoint can be used to get the value for such gift cards for items in a basket.

/PemCalculation-1-0/json/GetArticleSetSummary

Request is a basket with same structure as Calculate endpoint. However, element ExternalArticleSets is to be added.

{
    "Request": {
        "Sales" : [
            ...
        ],
        "ExternalArticleSets": [
            {
                "Name": "my-article-set"
            },
            {
                "Name": "other-article-set"
            },
            {
                "Name": "different-article-set"
            }
        ]
    }
}
  • Name Name of the article set.

Example response:

{
  "ConfigurationSequenceNumber": 99,
  "Code": "Success",
  "ArticleSets": [
    {
      "Name": "my-article-set",
      "Amount": 100
    },
    {
      "Name": "other-article-set",
      "Amount": 350
    }
  ]
}

Article set my-article-set has 1,- of items on the provided basket and other-article-set 3,50. different-article-set is missing from the result and has no value on this basket.