Skip to content

Commit 7bc2226

Browse files
committed
dans comments
1 parent cde16e7 commit 7bc2226

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TC_API_KEY=5e39d95c654d645e16380c0cfd23e4e5160597ad

pages/creating-updating-users/creating-updating-users.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
address as a unique identifier when creating/updating using the API. If you use the email address when
33
creating/updating, we will check for an email address in the user data and check if this user already exists.
44

5-
You can create a user without an email address. You can create a user without an email address, but the user's
6-
last name is required when creating a new user. To update an existing user, provide the user's ID as the unique identifier
5+
You can create a user without an email address, but the user's last name is required when creating a new user.
6+
To update an existing user, provide the user's ID as the unique identifier
77
in the URL. Any additional role-specific required fields are detailed in the endpoint documentation.
88

99
Profile photos can be optionally added or updated for all user roles — [Agents](#agents), [Clients](#clients), [Contractors](#contractors), and [Recipients](#recipients) — by including a `photo` field with a valid image URL when creating or updating a user. If the image is valid and accessible, it will be downloaded, processed into thumbnails, and included in the response. If the `photo` field is omitted during an update, the current photo remains unchanged. To remove an existing photo, set the `photo` field to `null`. Invalid, corrupted, or inaccessible image URLs will result in a `400 Bad Request` with an appropriate error message.

pages/invoices/take-invoice-payment.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
Pay partially or pay in full, post how much the Client paid towards the Invoice and we'll return how much there is
44
`still_to_pay`. If fully paid off, `paid` will return a value of `true`. Any excess will be set in the Client's
5-
Available Balance on their TutorCruncher profile.
5+
Available Balance on their TutorCruncher profile. The `method` parameter specifies the offline payment method.
6+
Available options are: `cash`, `cheque`, `credit_card`, `transferwise`, `debit_card`, `bank_transfer`, `direct_debit`,
7+
`bonus_credit`, `manual`, and `voucher`.

0 commit comments

Comments
 (0)