API Version 1.52.0

July 14, 2021


On this page

Sep 11, 2020

New Features

  1. When saving a purchase invoice with savePurchaseDocument, API will now update the statuses of linked purchase orders to "partially received or "received", as appropriate.

  2. API call getSalesReport now supports filters "extraField1OptionID", "extraField2OptionID", "extraField3OptionID", "extraField4OptionID".

Fixes

  1. Fixed: API call calculateShoppingCart will no longer return a "manual discount statistics record" for returns (rows with negative quantities), because in that case, the row's reason code refers to return reason, not discount reason.

    The fields not returned for rows with a negative quantity are:

    • promotionRule#priceListID#
    • promotionRule#amount#
    • promotionRule#priceListDiscountType#
    • promotionRule#priceListDiscountPercentage#