Update agreement by locating it via document ID
This operation updates a specific agreement by first locating it using its associated document_id.
This is useful when the client knows the document storage identifier but not the agreement ID.
The operation accepts a document_id query parameter to uniquely identify the agreement, then applies the partial updates specified in the request body.
The system will search for an agreement containing the specified document ID, and if found, apply the requested modifications.
The operation returns a 204 No Content response on success.
This endpoint provides an alternative way to update agreements when the agreement ID is not readily available, making it convenient for systems that primarily work with document references rather than agreement identifiers.
Use Cases:
- Updating agreements referenced by document storage ID: When integration points provide document IDs but not agreement IDs, this endpoint allows direct updates without a prior lookup.
- Batch updating via external document references: Systems that track agreements through external document management systems can update agreements using their document storage identifiers.
- Cross-system synchronization: Update agreements based on document references from external systems (e.g., content management systems, document repositories) without maintaining agreement ID mappings.
- Document-centric workflows: In document-first business processes, update agreements using the document reference that users are familiar with.
Key Features:
- Document ID Based Lookup: Locate agreements by their associated document storage identifier rather than requiring the agreement ID upfront.
- Automatic Resolution: The system automatically finds the agreement associated with the provided document ID.
- Partial Updates: Modify only the fields you need; other agreement data remains unchanged.
Authentication
OAuth2 authentication.
- Demo:
- authorizationUrl: https://account-d.docusign.com/oauth/auth
- tokenUrl: https://account-d.docusign.com/oauth/token
- Production:
- authorizationUrl: https://account.docusign.com/oauth/auth
- tokenUrl: https://account.docusign.com/oauth/token
Path parameters
Query parameters
Request
“A dictionary of user-defined provisions that extend the standard provisions set for this agreement type. • Keys = names of additional terms supplied by the customer (e.g., early_termination_fee). • Values = the term’s value, expressed as a primitive JSON type (string, number, boolean, etc.). This object reflects the data model as-defined by the customer, including property names and data types. note - Changes to the underlying data model will be reflected dynamically in this object at runtime.
List of languages applicable to the agreement, identified using BCP-47 language codes.
Hypermedia controls (HATEOAS) for agreement specific links to resources.
User-defined/custom attributes included in this agreement.