Update Item Put API - Using category ID & category
I am looking to update an item through the PUT API, and see there are two attributes for category. The Category ID attribute is a string and the Category attribute is an object. I would like to use the object based category attribute since my items include sub-categories.
Does anyone have documentation or an example of how to format the category attribute? I wasn't able to find this information on their API page (https://developers.lightspeedhq.com/retail/endpoints/Item/#put-update-an-item) or anywhere else on the website.
In addition, do you need the category id's for this, or can you use the title/name of the category/sub-category for the API call?