Support » Developing with WordPress » Create a new taxonomy term using wordpress rest api functionality is not working

  • itsnewone

    (@itsnewone)


    Hi,
    We are integrating wordpress with another app using REST API. I have created new post type named ‘Candidates’ and inside that taxonomies named ‘Position’ and ‘Skill’. I am able to create a new candidate using API. But not able to add a new term in Position/Skill from another app. When I try to do that it is being added under Post categories, not under Position.

    wp-json/wp/v2/position

    This is the endpoint I am using to create a term under the taxonomy ‘Position’ using POST method and in body tag I am giving:

    {
    “name” : “Manager”,
    “taxonomy” : “position”
    }

    This one is getting added under category.
    Please help.
    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.