Affiliate Onboarding
Update Onboarding Form
Update form metadata and/or replace the question set atomically
PATCH
Provide at least one of
name, description, or questions. The whole update runs in a single transaction.
When questions is provided, the array fully replaces the existing question set:
- Items with an existing
idare updated. - Items without
idare created as new questions. - Existing questions omitted from the array are soft-deleted (
statusset tofalse).
Body Parameters
Form display name. 1–200 characters.
Optional form description. Maximum 1000 characters. Pass
null to clear it.1–50 questions. When provided, this array fully replaces the active question set. See Create Onboarding Form for the question schema.Include
id for an existing question to update it; omit id to create a new one. Duplicate id values in the same payload are rejected with a validation error.Response
Returns the updatedOnboardingForm object — same shape as GET /v1/onboarding-form.
Notes
- Required permission:
write:program. - Returns
404 NOT_FOUNDif no onboarding form exists yet — callPOST /v1/onboarding-formfirst. - Question IDs that do not belong to your team’s onboarding form return a
400 VALIDATION_ERROR.
