curl --location -g --request POST '{{BASE_URL}}/admin/draft-orders//edit/items' \
--header 'Content-Type: application/json' \
--data-raw '{
"items": [
{
"quantity": 0,
"variant_id": "string",
"title": "string",
"unit_price": 0,
"compare_at_unit_price": 0,
"internal_note": "string",
"allow_backorder": true,
"metadata": {}
}
]
}'
{
"message": "Discount must be set to dynamic",
"type": "not_allowed"
}