ITEM_ADD
or ITEM_UPDATE
action.actions
property, whose value is an array of actions. You can check the action's name using its action
property, and use the value of the id
property.curl --location -g --request DELETE '{{BASE_URL}}/admin/draft-orders//edit/items/'
{
"message": "Discount must be set to dynamic",
"type": "not_allowed"
}
ITEM_ADD
or ITEM_UPDATE
action.