make CanDoPurchaseRequest.type optional

This commit is contained in:
Jonas Lochmann
2026-06-08 02:00:00 +02:00
parent 48d6a061f8
commit 2f35b969bf
5 changed files with 7 additions and 7 deletions
+2
View File
@@ -15,6 +15,8 @@ Use this before a purchase to check if a purchase is possible.
see [this JSON schema](../schema/candopurchaserequest.md)
Note that ``type`` is not used at all.
### response
On a invalid request body: HTTP status code 400 Bad request