addInventoryProduct, you must supply the relevant IDs; Base will reject or miscategorize products that reference IDs that don’t exist. Make sure these dictionaries are populated before you start uploading product cards (see Uploading Product Data).
Categories
Categories form a tree structure inside an inventory. Each node has a numeric ID you reference from the product.- List:
getInventoryCategories— returns all categories for a given inventory. - Create / update:
addInventoryCategory— resending the same category ID updates that category rather than creating a duplicate. - Delete:
deleteInventoryCategory.
Manufacturers
Manufacturers are a flat list (no hierarchy) and are paginated at 1 000 entries per page.- List:
getInventoryManufacturers— omit thepageparameter to retrieve all manufacturers in a single call. - Create / update:
addInventoryManufacturer. - Delete:
deleteInventoryManufacturer.
Tags
Tags let you mark products across the catalog independently of their category or manufacturer — useful for filtering, campaign targeting, or flagging products for internal processes.- List:
getInventoryTags. - Create / update:
addInventoryTag— resending the sametag_idupdates the existing tag. - Delete:
deleteInventoryTag.
Deleting a tag automatically unlinks it from all products that carry it. You don’t need to manually remove the tag from individual products first.