Return product's special price
Return product's special price. In case of at least one of skus is not found exception will be thrown.
POST /V1/products/special-price-information
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/products/special-price-information \
-d '{"skus":["string"]}'
Request examples
{
"skus": [
"string"
]
}
Response examples (200)
[
{
"price": 42.0,
"store_id": 42,
"sku": "string",
"price_from": "string",
"price_to": "string",
"extension_attributes": {}
}
]
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (400)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}