Routing RoutingTag API

update values

PUT /api/rest/admin/routing-tags/:id

Parameters

Name Description
data[type] Resource type (routing-tags)
data[id] Customer Auth ID
data[attributes][name] Name

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIwOSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU3MX0.oc4TeCVcn5adin9WxrITe7aRVfhG0xUcRznkcG2eMvo
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/routing-tags/29

Body

{"data":{"type":"routing-tags","id":29,"attributes":{"name":"name"}}}

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"9c8421f3712bf71a52a8acc1bb1a8670"
cache-control: max-age=0, private, must-revalidate
x-request-id: febe8b61-5887-4e32-a488-a415d595657f
x-runtime: 0.010358
content-length: 140

Status

200 OK

Body

{
  "data": {
    "id": "29",
    "type": "routing-tags",
    "links": {
      "self": "http://example.org/api/rest/admin/routing-tags/29"
    },
    "attributes": {
      "name": "name"
    }
  }
}