GetProductInformations (REST)
Description
With this method, we want to receive real time product information from the ERP system. It contains customer-specific product information like pricing and discount information. Also stock information is returned. We will use this method to show real time product information on the product detail page in the web shop.
The method requests the productinformations for a list of productnumbers.
Note:
Since ShoxlRestApiSwagger_v6 this interface replaces the deprecated GetProductInformation endpoint which supported only the processing of one productnumber
REST API:
URL: /Shoxl/v1/GetProductInformations Method: POST
Changes in ShoxlRestApiSwagger_v8
A new field taxPercentage is introduced
The field vatCode is changed to nullable and marked as deprecated. The field is preserved for backwards compatiblity in current implementations but must not be used in new implementations.
Changes in ShoxlRestApiSwagger_v16
A new field "context" is introduced in the request body. When configured this object contains key value pairs (e.g. divisionCode).
Request body:
GetProductInformationsRequest{
}
Example:
Response body:
GetProductInformationResult[{
}]
QuantityDiscountPrice{
}
Example: