I can delete a row fine if I use RecordId. However, in the case I don’t have the exact RecordId, how do I delete a row using these values:
{
"SalesPriceDetails": [
{
"InventoryID": { "value": "00000-00002" },
"PriceType": { "value": "Customer Price Class" },
"PriceCode": { "value": "VIP" },
"delete": true
}
]
}
When I try this, it deletes the first InventoryID/PriceType it finds which will delete the wrong row if I have a row with a PriceCode like “WHOLESALE”.