PUT /Move Node
  • 1 Minute to read

    PUT /Move Node


      Article summary

      PUT /taxonomy/move/<source-id>/[<dest-parent-id>] – Move taxonomy node

      Use this function to move existing taxonomy node identified by source-id along with its sub-tree. The node will be added as a child of an existing taxonomy node dest-parent-id. Destination taxonomy node is optional and if not specified, source node would move to the top of taxonomy hierarchy.

      The API will usually return a 202 Accepted response with updated metadata in its response. An API caller can fetch metadata’s “self” link to check for status updates.

      Example - Move node

      PUT /v1/taxonomy/move/YR2000/YR100
      HTTP/1.1 Host: datax.yahooapis.com
      Content-Type: multipart/form-data;boundary=xyz
      
      --xyz
      Content-Disposition: form-data; name="metadata"
      Content-Type: application/json;charset=UTF-8
      
      { "description" : "Move node for YaRetail Pilot Taxonomy v1" }


      Was this article helpful?