Skip to content

Update of parametric category

Request

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
Path
categoryGuidstringrequired

Guid of parametric category.

Example:5c498fb7-70ac-11e9-9208-08002774f818
Headers
Content-Typestringrequired
Default:"application/json"
Bodyapplication/json
dataobject, non-emptyrequired
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
    }
  }'

Responses

OK

Bodyapplication/json
dataobjectrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
Response
{ "data": { "parametricCategory": {} }, "errors": [ {} ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }