New features
Assortments
- New input parameter
"getProductsFor" = "SALES" | "ORDERING"
has been added to API call getProducts. This filter returns products that the given store is allowed to sell or purchase, according to the store’s assortment. Even if assortments are not in use, it can be used as a status filter. - API call getSellableProducts has been added.
Multi-language price lists and promotions
- Promotion and price list names can now be specified in multiple languages.
- Input parameter
"lang"
(for specifying language) has been added to API calls getAppliedPromotionRecords, getCampaigns, getPriceLists, and getProductPricesInPriceLists. - Input parameters
"nameENG"
,"nameSPA"
, etc. have been added to API calls saveCampaign and savePriceList. - If you need this feature, please contact customer support to have it enabled on your account.
- Input parameter
Other
- Attribute support has been added to API calls getAssortments, getStoreRegions, saveAssortment, and saveStoreRegion.
- Field
"cashierMustEnterPrice"
has been added to API calls saveProduct and getProducts. - Support for “subsidies” (originally added in API version 1.13.0) has been improved; the following fields have been added:
"purchasedProductSubsidies"
and"awardedProductSubsidies"
in API call saveCampaign;"purchasedProducts" → "subsidy"
and"awardedProducts" → "subsidy"
in API call getCampaigns;"unitItemSubsidy"
,"unitTransactionSubsidy"
,"totalItemSubsidy"
,"totalTransactionSubsidy"
in getAppliedPromotionRecords.
- Configuration parameter
"customer_code_unique" = 1
has been added. When enabled, API call saveCustomer will require field"code"
(national ID number for persons / registry code for companies) to be unique.
Fixes
- Fixed: Deleting a sales document will now also delete links between the deleted document, and any recurring billings and meter readings. (Previously, issues occurred when trying to re-create another invoice from the same recurring billing or reading.)
- Fixed: In API call saveSalesDocument, if a document was re-saved without making changes to document rows, links between the document and recurring billings / meter readings were lost.