Admittedly a bit late, but we are switching some old code from Clover v2 to v3. Most of it is working now except the "new" way of assigning modifier groups to items and items to categories.
I'll just refer to modifier groups but the issue is same for both calls.
So we are POSTing to the merchants/mid/item_modifier_groups endpoint and there is a discrepancy in the documentation. In the API reference it say we should POST { "item" : {"id" : "itemid" } } , {"modifierGroup" : {"id" : "modifierGroupId" } } }
When we do this we get a {} returned and nothing happens.
If you click in the API documentation on : https://docs.clover.com/docs/using-object-associations
There the payload is supposed to be an Array within an "elements" tag.
When we do that we get a Bad Request error.
How do we get this working again?