Assign a model to households
PUT/v1/households/model
Assigns the model in modelId to each household whose ID is a key of households, and returns each household it assigned. Every key is assigned, whatever its value. A key that is not the ID of one of your firm's households is skipped, and the response leaves it out. A modelId that is not the ID of one of your firm's models answers 404 and changes no household.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Each household the request assigned.
The request body is invalid, for example modelId is not a whole number, or a key of households is not a whole number of at least 1 or its value is not true or false.
The access token is missing, invalid, or expired.
The access token does not have the write:household scope or the write:crm scope.
Your firm has no model with the ID in modelId.
Too many requests. Wait the number of seconds in the Retry-After-per-person header (script-audience tokens) or the Retry-After header (other requests) before you retry. See Rate limit.