Skip to main content
POST
Accept a contract

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).

Path Parameters

organization_id
string
required
Pattern: ^[^/]+$
slug
string
required
Pattern: ^[-a-zA-Z0-9_]+$

Body

application/json
version_id
string<uuid> | null

Response

id
string<uuid>
required
read-only
slug
string
required
read-only
name
string
required
read-only
kind
string
required
read-only
scope
string
required
read-only
requires_acceptance
boolean
required
read-only
version
object
required
is_accepted
boolean
required
read-only
needs_acceptance
boolean
required
read-only
accepted_earlier_version
boolean
required
read-only
is_applicable
boolean
required
read-only
accepted_at
string | null
required
read-only
accepted_by
string | null
required
read-only
accepted_order_number
string | null
required
read-only
available_locales
string[]
required
read-only