API Version 1.54.0

July 14, 2021


October 13, 2020

New Features

  1. API calls getCampaigns and saveCampaign now support multiple product groups and multiple product categories (instead of just one) and multiple brands (a new feature).
     
    Multiple product groups / categories / brands can be used to specify the discountable items, as well as promotion conditions (which items the customer must buy to trigger the promotion).
     
  2. API call getServiceEndpoints now returns one additional service, "erply", containing property "isSandbox": true|false. This can be used to detect whether an account is a sandbox account or not.

Improvements

  1. API call sendByEmail: error code 1082 has been retired. Instead, API will now return either error 1086 or 1087, to point out a missing sender address or missing message body, respectively.

Fixes

  1. The calculated invoice row totals that API call saveSalesDocument writes to database (since version 1.53) were inaccurate. This resulted in API calls getCostOfGoodsSold and getEDocuments returning inaccurate information.
     
    The issue in saveSalesDocument has been fixed. Inaccurate totals in the database can be corrected on a case-by-case basis.
     
  2. Fixed: API call sendByEmail will now return error code 1085 if it is not possible to generate the message attachment. Formerly, a message with a missing or invalid attachment might have been sent.
     
    For this improvement to fully work, back office must be upgraded to Classic 4.31 or Berlin 5.29.
     
  3. Security fixes.