Updates existing parametric category.
The "Advanced SEO" module must be active to use this endpoint.
This endpoint is language dependent. While active module "Foreign languages" you can use language query parameter to specify the language of updated parametric category.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/parametric-categories/{categoryGuid}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/parametric-categories/{categoryGuid}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X PATCH \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/parametric-categories/5c498fb7-70ac-11e9-9208-08002774f818 \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
-d '{
"data": {
"name": "Green XL",
"indexName": "green-xl",
"description": "<p>Top parametric category description</p>",
"secondDescription": "<p>Bottom parametric category description</p>",
"sourceImageName": "image.png",
"title": "Green XL t-shirt",
"metaTagDescription": "Green t-shirt, t-shirt xl, green, xl",
"showInList": true,
"showInDetail": true
}
}'Response
{ "data": { "parametricCategory": { … } }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }