mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Fix giftcard API doc
This commit is contained in:
@@ -209,14 +209,15 @@ Endpoints
|
|||||||
|
|
||||||
.. sourcecode:: http
|
.. sourcecode:: http
|
||||||
|
|
||||||
PATCH /api/v1/organizers/bigevents/giftcards/1/transact/ HTTP/1.1
|
POST /api/v1/organizers/bigevents/giftcards/1/transact/ HTTP/1.1
|
||||||
Host: pretix.eu
|
Host: pretix.eu
|
||||||
Accept: application/json, text/javascript
|
Accept: application/json, text/javascript
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Content-Length: 94
|
Content-Length: 79
|
||||||
|
|
||||||
{
|
{
|
||||||
"value": "2.00"
|
"value": "2.00",
|
||||||
|
"text": "Optional value explaining the transaction"
|
||||||
}
|
}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|||||||
Reference in New Issue
Block a user