Post v1 customers me manufacturer favorite
Body
-
manufacturerCode
string Required -
categoryCode
string Required
POST
/V1/customers/me/manufacturer/favorite
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/customers/me/manufacturer/favorite' \
--data '{"manufacturerCode":"string","categoryCode":"string"}'
Request examples
{
"manufacturerCode": "string",
"categoryCode": "string"
}
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 (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}