post
https://api.vcita.biz/v1/partners/accounts//set_setup_completed
Overview
Mark an account's setup/onboarding as completed. This suspends the account's "to do" list (onboarding wizard).
Available for Directory tokens only.
Authentication
Uses HTTP Token authentication (not Bearer). Format: Authorization: Token token="{DIRECTORY_TOKEN}"
The token must be a Doorkeeper OAuth token with directory scope.
How It Works
- The endpoint looks up the business in the directory's members using
pivots.uid - Calls
member.setup_completed!to mark setup as done - Updates the member's
setupattribute tosetup_completed
Important: The
business_uidmust be the business UID (alphanumeric like '88pzdbz1hmkdoel4'), NOT a numeric database ID. The business must be a member of the directory associated with the token.
