Routing RoutingTag API

update values

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

Parameters

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

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzcsInN1YiI6MTgxfQ.Wb9lM31JlRZylq-QBYcrPwsuCzIId1YgGfoEk8ghJSE
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/routing/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-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"ca90a375fe0cec595491d50e7f01b975"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 28f77dc2-671d-4eac-b7c2-109560845a95
X-Runtime: 0.013548
Content-Length: 148

Status

200 OK

Body

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