Skip to content

Commit

Permalink
purchases: add title attribute for POST
Browse files Browse the repository at this point in the history
  • Loading branch information
nethad committed Jul 10, 2023
1 parent 2a886f7 commit 517e962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sections/purchases.md
Expand Up @@ -163,6 +163,7 @@ Mandatory fields are marked with a star (\*):
- **date\*** – "2020-02-02"
- **currency\*** – "CHF" (a valid currency of the account)
- **payment_method\*** – "bank_transfer", "direct_debit", "credit_card", "paypal", "cash"
- **title** – set the title for this purchase. If left out, the title is generated from the positions.
- **items\*** – list of position. At least one position must be present and every position has the following fields:
- **title\*** – Ticket
- **total\*** – 30
Expand Down

0 comments on commit 517e962

Please sign in to comment.