Working in sandbox and sending over an inventory item post request like the one below. Everything works except the category and tag are not getting set when create the inventory item (the category and tag ID do exist in the sandbox). Any suggestions as to what may be wrong? Thank you.
https://apisandbox.dev.clover.com/v3/merchants/mid/items?access_token=token
Accept application/json
{
"id": "",
"itemGroup": {
"id": "3M6M9N6E5E3XY"
},
"name": "Product Name",
"code": "UPC",
"sku": "sku",
"price": 1009.0,
"priceType": "PER_UNIT",
"defaultTaxRates": true,
"unitName": "Item",
"cost": 807.0,
"isRevenue": true,
"categories": [
{
"id": "ZNJE4CCB6EDN2",
"name": "Category1"
}
],
"tags": [
{
"id": "WY447NQ0BR2Y8",
"name": "Tag1"
}
],
"itemStock": {
"quantity": 10
}
}