get all subcategory from a category parentID

PatochePatoche Posts: 2Member
Hi there
noob question: How can I retrieve all subcategories from a given parent category, eg https://api.merchantos.com/API/Account/{accountID}/Category.json&parentID=18

thanks

Answers

  • jamesratcliffejamesratcliffe Posts: 159Administrator, Lightspeed Staff moderator
    edited January 16
    Hi,

    That's how you do it; you just need to start your query string with a question mark:
    /API/Account/{accountID}/Category.json?parentID=18
    Post edited by Michael Carey on
    James Ratcliffe
    API Integrations Specialist
    Lightspeed HQ
Sign In or Register to comment.