Skip to content

Creation of customer remark

Request

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
guidstringrequired
Example:45f0cc8c-b7a9-11ea-a7a1-08002746ad91
Headers
Content-Typestringrequired
Default:"application/json"
Bodyapplication/json
schemaobject
curl -i -X POST \
  https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/customers/45f0cc8c-b7a9-11ea-a7a1-08002746ad91/remarks \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
  -d '{
    "schema": {
      "data": {
        "rating": "negative",
        "remark": "Top customer"
      }
    }
  }'

Responses

Created

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