New features
- API call getProducts can now return not only price list prices for a particular store, but also information about how these prices were calculated: which price lists applied, in what order, and how much discount each price list provided.
- To get this information, set input parameter
"getPriceCalculationSteps" = 1
. For each product, API returns a block of information named"priceCalculationSteps"
. - Since this information is meant to accompany the
"priceListPrice"
and"priceListPriceWithVat"
fields, you also need to set input parameters"getPriceListPrices" = 1
and"warehouseID"
(to specify the store). - Your account must use Classic back office (version 4.5.0 or newer). On Berlin back office, the feature is not supported yet.
- To get this information, set input parameter
- Field
"typeID"
(payment type ID) has been added to payments returned from API call getFranchiseSalesDocuments. - Input parameter
"getCurrentUser" = 1
has been added to API call getUserRights. Setting this flag returns your own user rights (the rights of the currently authenticated user).
Fixes
- Fixed: API call getProductGroups returned an error when filters “productGroupID” and “searchAttributeName” were combined.
- Fixed: API call getEmployees returned an error when filters “warehouseID” and “searchName” were combined.