Get vendor contract

GET /api/v1/vendor-contracts/{contract_id}

Get details of a specific vendor contract.

Operation ID: get_vendor_contract_api_v1_vendor_contracts__contract_id__get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

contract_id string required

Responses

200 Successful Response

name string required

Contract/agreement name.

vendor_id string required

Vendor UUID.

status string

Contract status: draft, active, expired, terminated.

effective_date string · date

Contract start date.

expiration_date string · date

Contract end date.

contracted_amount_cents integer

Agreed amount per billing period in cents.

billing_frequency string

Billing frequency: monthly, quarterly, annually, one_time, weekly, biweekly.

terms_summary string

Summary of key contract terms (AI-extracted or manual).

s3_key string

S3 key for the original MSA/contract PDF.

id string required

Contract UUID.

business_id string required

Business UUID.

vendor_name string

Vendor name (resolved).

created_at string
updated_at string

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object