application/json
POST
/V1/winkelstraat/catalog/product/prices
cURL (application/json)
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/winkelstraat/catalog/product/prices' \
--header "Content-Type: application/json" \
--data '{"prices":[{"sku":"string","price":42.0,"special_price":42.0,"special_price_from_date":"string","special_price_to_date":"string"}]}'
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/winkelstraat/catalog/product/prices' \
--header "Content-Type: application/xml"
Request examples
{
"prices": [
{
"sku": "string",
"price": 42.0,
"special_price": 42.0,
"special_price_from_date": "string",
"special_price_to_date": "string"
}
]
}
Request examples
<?xml version="1.0" encoding="UTF-8"?>
<root>
<prices type="array">
<price>
<sku>string</sku>
<price type="float">42.0</price>
<special-price type="float">42.0</special-price>
<special-price-from-date>string</special-price-from-date>
<special-price-to-date>string</special-price-to-date>
</price>
</prices>
</root>
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 (401)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>
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"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>