Update hierarchy [beta]

Update the name of a hierarchy identified by an external hierarchy ID. Only name can change: passing any other field, including external_hierarchy_id, hierarchy_id or levels, returns 400 with the code WAPX0000. Returns 404 with the code WAPX0080 if no hierarchy has this external hierarchy ID.

Notes:

  • Levels can't be added, removed or changed after the hierarchy is created.
  • Sending the same update again succeeds.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length between 1 and 60
^[a-zA-Z0-9-]+$

External hierarchy ID

Body Params

Only name can change. Any other field, including external_hierarchy_id or levels, fails with 400.

string
required
length between 1 and 40

Hierarchy name

Responses
204

Hierarchy updated

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json