API Version 1.47.0

July 14, 2021


On this page

April 24, 2020

New Features

  1. Field "token" has been added to API calls verifyUser,changePassword, getSessionKeyUser, switchUser, andverifyOAuthToken.

    This is intended as an eventual replacement for the "identityToken" field. Please note however that the two tokens may contain different "Tenant IDs". In the token generated by Erply itself ("token"), the Tenant ID ("id_tid") is always account number, and integrations should use that whenever possible.

  2. New API call getProductsWithChangedPrices has been added.

  3. Filter "shipToID" / "payerID" has been added to API callgetSalesReport.

  4. Support for promotion restriction "Each customer can use the promotion only once a day" has been implemented in API call calculateShoppingCart.

    This restriction can be applied from Classic back office, starting with version 4.24.

  5. Support for promotion restriction "Apply this promotion to already discounted items only" has been implemented in API call calculateShoppingCart.

    This restriction cannot be applied from back office, but it can be set with API call saveCampaign (field "onlyForDiscountedItems").

  6. For promotions "Discount With Bulk Purchase" (customer gets $ or % off each item if they buy at least a certain minimum quantity), Redemption Limit is now supported.

  7. Fields "isBirthdayPromotion", "oncePerBirthday", "oncePerDay" and "onlyForDiscountedItems" have been added to API calls saveCampaign and getCampaigns.

Fixes

  1. Fixed: on accounts with a standalone customer microservice, customer records were being cached for too long.