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.eyJleHAiOjE3MzE1Nzg3NjIsInN1YiI6MjAxfQ.Cq-dm1gHEHmBNmJJpsaR4gC3Ke88rtyC_thJdqj2aC0
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: 9df59e4e-344e-4a67-ba17-312d8093747d
X-Runtime: 0.016215
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"
    }
  }
}