From cfc9055ec164c684209bba74f9c918f94bd3e54d Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Fri, 2 Oct 2020 13:58:04 +0200 Subject: [PATCH] Fix giftcard API doc --- doc/api/resources/giftcards.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/api/resources/giftcards.rst b/doc/api/resources/giftcards.rst index ba9d53ade1..8465d9e1c4 100644 --- a/doc/api/resources/giftcards.rst +++ b/doc/api/resources/giftcards.rst @@ -209,14 +209,15 @@ Endpoints .. 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 Accept: application/json, text/javascript Content-Type: application/json - Content-Length: 94 + Content-Length: 79 { - "value": "2.00" + "value": "2.00", + "text": "Optional value explaining the transaction" } **Example response**: