Upsert clients in a batch
Upsert clients atomically. Send an array of complete writable records, each with its resource ID. One invalid record rejects the entire batch.
Body parameters
Display name of the resource.
Minimum length: 1 character. · Maximum length: 255 characters.
NQD recordHuman-readable description of the resource.
Maximum length: 10000 characters.
Consulting services for January 2026website for this client.
at most 100 items
1 itemType of the record or operation.
Allowed values: "company", "individual", "government"
companyTags assigned to the record.
at most 100 items
1 itemindustry for this client.
at most 100 items
1 itemOpaque identifier for this resource or reference.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1CHeaders
Bearer workspace API key.
Bearer $NQD_API_KEYWorkspace scope for the request. Required for workspace operations and must belong to the authenticated identity.
Minimum length: 1 character. · Maximum length: 128 characters.
01JQ2T5Y5Q3R8W9N6M4K2H7P1ASend the complete writable representation or change set. Use the latest updatedAt for If-Match.
Response
Response headers
Returned records. Collections and batches use an array; single records use an object.
ShowHide 10 properties
Opaque identifier for this resource or reference.
01JQ2T5Y5Q3R8W9N6M4K2H7P1CDisplay name of the record.
NQD recordOptional human-readable description of the record.
Consulting services for January 2026website for this client.
1 itemindustry for this client.
1 itemType of the record or operation.
Allowed values: "company", "individual", "government"
companyNotes attached to the record.
Consulting servicesTags assigned to the record.
1 itemISO 8601 timestamp for the authored or payment event. Recurring records preserve their scheduled occurrence.
2026-01-15T12:00:00.000ZTimestamp used for stale-edit protection. Preserve the server value when updating.
2026-01-15T12:00:00.000ZPossible errors
Response headers
Error details returned for a failed request.
ShowHide 4 properties
Stable machine-readable error or resource code.
invalid_inputHuman-readable explanation of the result or error.
The request could not be validated.Correlation identifier for support and request tracing.
550e8400-e29b-41d4-a716-446655440000Additional structured details about the result or error.
ShowHide 1 property
Structured field issues returned when request validation fails.
ShowHide 3 properties
Field path where the validation issue occurred.
One of: string alternative 1, number alternative 2
0 itemsMachine-readable reason for the validation issue.
Allowed values: "expected_type", "required", "unexpected_property", "invalid_value", "invalid_json", "invalid_query", "unsupported_media_type", "body_too_large", "body_timeout", "conflicting_scope", "missing_header", "concurrency_required", "invalid_resource_id", "invalid_request"
invalid_requestStable machine-readable error or resource code.
invalid_input{
"error": {
"code": "invalid_input",
"message": "The request could not be validated.",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"details": {
"issues": [
{
"path": [],
"reason": "invalid_request"
}
]
}
}
}View raw OpenAPI operation
Use the machine-readable contract for client generation and payload validation.
Open OpenAPI contract ↗