Open a contract history upload
POST/contract-history/imports
Opens an upload of the organization’s historical contracts: Deal Groups (one contract term each), the opportunities in them, each opportunity’s primary quote and its lines, and the products those lines sell. Send the records in numbered batches, then call scan. One import runs per organization at a time; an upload left without a new batch for 30 minutes is abandoned. Requires an import profile set up for API uploads.
Requires the backfill:access scope; a key whose role lacks it gets 403.
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 412
- 413
- 429
- 500
OK
Bad Request — the input failed validation.
Unauthorized — the API key is missing or invalid.
Forbidden — the key’s role lacks the scope this endpoint needs, or it may not act on this resource.
Not Found — no such resource for this organization.
Conflict — the request conflicts with current state.
Precondition Failed — the resource is in the wrong state.
Payload Too Large — the body exceeded 10 MB.
Too Many Requests — rate limit exceeded. See the X-RateLimit-* response headers.
Internal Server Error — safe to retry.