Update the user's address
Access: Bearer token required.
Partially updates the user's address; only the fields sent are changed. addresses replaces the whole list of address lines (it is not appended to) and may hold up to 10 entries. The response returns the complete address object.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
application/json- body
addresses?array<>Array of address lines, up to 10 entries of at most 255 characters each. Replaces the existing list.
items <= 10country?stringCountry, up to 100 characters.
length <= 100state?stringState or region, up to 100 characters.
length <= 100postalCode?stringPostal code, up to 20 characters.
length <= 20Address saved
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X PUT 'http://localhost:4000/api/v1/user/address' \ -H 'Content-Type: application/json' \ -d '{ "addresses": [ "14 Admiralty Way, Lekki Phase 1" ], "country": "Nigeria", "state": "Lagos", "postalCode": "106104"}'{ "status": 200, "success": true, "message": "Address updated successfully.", "data": { "address": { "addresses": [ "14 Admiralty Way, Lekki Phase 1" ], "country": "Nigeria", "state": "Lagos", "postalCode": "106104" } }}Resolve a bank account number to its account name POST
Asks the payout provider (PandaScrow) for the name registered on a bank account so the user can confirm the destination before saving it.
Set availability for inspections and tours PUT
Partially updates the days and daily time window in which the user can be booked for inspections, and the length of each slot; only the fields sent are changed.
HomeLink Hub