Skip to content

Update of filtering parameter

Request

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
codestringrequired
Example:material
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/products/filtering-parameters/material \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
  -d '{
    "data": {
      "name": "Materiál",
      "code": "material",
      "displayName": "Materiál",
      "description": "Popisek",
      "priority": 1,
      "googleMapping": "google:color"
    }
  }'

Responses

OK

Bodyapplication/json
dataobjectrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
Response
{ "data": { "id": 1, "code": "material", "name": "Material", "displayName": "Material of product", "description": "Material of product", "priority": 1, "googleMapping": {}, "values": [] }, "errors": [ {} ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }