Message 1 of 4
API Method to Set Categorization Attribute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Looking for guidance on how to call the Upchain API to set a categorization attribute.
Say I have categoryId: 20 with attribute id: 1807, value type LOV - the list of values includes item indexes 1 thru 18.
For a particular item, which does not have any category information yet, I want to set this attribute to a specific value.
Do I call
/api/bom/v1/part_version/{partVersionId}/category_attributeto accomplish this, passing the target partVersionId as a header - and do I have to do a POST to set versus a PATCH to change it?
What does the body of the request include to accomplish what I want to do? Am I missing any information if I have the output of the following call already:
/api/category_attribute/v1/20
Thanks