Order creation via REST API ignores Discount availability

We have a Discount set up to be

  • used only once per user

  • once at all

In case we create an order with this discount via the REST-API, Shopify simply ignores the rule

I was able to use a one-time discount twice, as you can see from the screenshot.

I guess this is a bug in the order creation REST API