Skip to content

Link a questionnaire to a customer

PATCH
/v1/customers/questionnaires/{questionnaireId}
curl --request PATCH \
--url https://api.varman.io/v1/customers/questionnaires/example \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "customerId": "cus_abc123" }'

Sets which customer a security questionnaire belongs to, so its answer progress shows on the customer page. Send customerId null to unlink it.

questionnaireId
required
string
X-Organization-Id
string
Media typeapplication/json
object
customerId
required

Customer ID to link the questionnaire to, or null to unlink

string
nullable

Example

cus_abc123