Release Notes 29.11.2023
Administration API
Updated endpoints:
GET "/v1-ext/Company"
Return type updated:
Administration.Infrastructure.Models.Company.CompanySettings- printWholeProductName: boolean - property added
Catalog v1 API
Updated endpoints:
POST "/v1-ext/Products/addProduct"
POST "/v1-ext/Products/bulk"
Request body type updated:
Products.API.Models.Incoming.Products.CustomProductInApiModel,
Products.API.Models.Incoming.Products.GiftCardProductInApiModel,
Products.API.Models.Incoming.Products.ServiceProductInApiModel,
Products.API.Models.Incoming.Products.StockProductInApiModel,
Products.API.Models.Incoming.Products.VariantProductInApiModel- additionalReceiptText: string - property can have now maximum 199 characters instead of 99
Order API
Updated endpoints:
POST "/v1-ext/Orders/external"
Request body updated:
Orders.Domain.Commands.External.ExternalOrderProductData
- quantity: number - no longer require numbers greater than 0
Stock Handling v1 API
Models added:
StockHandling.API.Application.Commands.GlobalKeepingUnit.CategoryData - Structure that holds the category information.
{
"categoryId": "string",
"categoryName": "string",
"type": "string"
},
Updated endpoints:
GET "/v1-ext/Transactions/{stockId}"
Request query type updated:
- Parameter "Group" has been removed
- Optional parameter "GroupName" added. Each groupName property in query have to be in pattern "{categoryType};typeId={categoryId}" i.e. "groupName=group;typeId=2&groupName=group;typeId=3"Response type updated:
StockHandling.Infrastructure.Queries.Transaction.TransactionQueryModel- gkuGroup: string - has been removed,
- categories: array - property addedCODE"categories": [ { "categoryId": "string", "categoryName": "string", "type": "string" } ],GET "/v1-ext/GlobalKeepingUnit"
GET "/v1-ext/GlobalKeepingUnit/{sku}"Response type updated:
StockHandling.API.ApiModels.GlobalKeepingUnit.GlobalKeepingUnitExternalModel- productGroupId: string - property removed
- categories: array (of type CategoryData) - property added, returns GKU categoriesPOST "/v1-ext/GlobalKeepingUnit"
PUT "/v1-ext/GlobalKeepingUnit"Request body updated:
StockHandling.API.Application.Commands.GlobalKeepingUnit.CreateGlobalKeepingUnitExternalModel
StockHandling.API.Application.Commands.GlobalKeepingUnit.UpdateGlobalKeepingUnitExternalModel- property categories: array (of type CategoryData) has been added. It is used to add categories to newly created GKU
- One of properties are required - "categories" or "ProductGroup"
- productGroup - if provided - no longer accepts empty or null properties (Id and Name)
- categories - if provided - requires one category with type "group", other given categories can not be duplicated and their properties are required.