Hi. I've ran into a problem with the modifications POST call.
URL https://apisandbox.dev.clover.com/v3/merchants/{mid}/orders/{orderId}/line_items/{lineItemId}/modifications
The docs say that the modifier
property is optional' I get the following response message:
{ "message": "Request must contain a modifier object" }
I get this message for all of the following request bodies:
{
"amount": 1295,
"name": "12.5\" Medium",
"alternateName": "",
"modifier": {
"hidden": false,
"name": "12.5 Medium",
"alternateName": "a",
"price": 1295,
"id": null
},
"id": null
}
and
{
"amount": 1295,
"name": "12.5\" Medium",
"alternateName": "",
"modifier": {
"hidden": false,
"name": "12.5 Medium",
"alternateName": "a",
"price": 1295,
"modifierGroup": {"id": "12034781"},
"id": null
},
"id": null
}
and
{
"amount": 1295,
"name": "12.5\" Medium",
"alternateName": "",
"id": null
}
Can you offer any assistance?