Skip to main content
POST
/
quotes
/
{quote_id}
/
accept
Accept quote
curl --request POST \
  --url https://api.zenskar.com/quotes/{quote_id}/accept \
  --header 'Content-Type: application/json' \
  --header 'organisation: <api-key>' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "payment_method_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "quote_number": "<string>",
  "quote_mode": "approval-based",
  "organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "business_entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "current_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "current_version": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "version_number": 123,
    "name": "<string>",
    "currency": "<string>",
    "status": "draft",
    "quote_type": "new_business",
    "valid_from": "2023-12-25",
    "start_date": "2023-12-25",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "valid_until": "2023-12-25",
    "validity_config": {},
    "end_date": "2023-12-25",
    "estimate": {},
    "provisioning_config": {},
    "contract_payment_config": {},
    "payment_method_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "contract_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "discounts": [
      {}
    ],
    "taxes": [
      {}
    ],
    "line_items": [],
    "version_metadata": {},
    "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "custom_data": {},
  "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://docs2.zenskar.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
default:<your-api-key>
required
organisation
string
header
default:<your-organisation-id>
required

Path Parameters

quote_id
string<uuid>
required

Body

application/json

Request schema for accepting a quote.

Minimal implementation - can be extended with:

  • acceptance_metadata: Dict for tracking acceptance details
  • accepted_by: User/contact who accepted
  • acceptance_notes: Notes about the acceptance
payment_method_id
string<uuid> | null

Optional payment method ID to use for provisioning (overrides quote config)

Response

Successful Response

Response schema for quote (with current version)

id
string<uuid>
required

Quote ID

quote_number
string
required

Human-readable quote number

quote_mode
enum<string>
required

Quote workflow mode

Available options:
approval-based,
self-serve
organisation_id
string<uuid>
required

Organisation ID

customer_id
string<uuid>
required

Customer ID

business_entity_id
string<uuid>
required

Business entity ID

created_at
string<date-time>
required

Created at

updated_at
string<date-time>
required

Updated at

current_version_id
string<uuid> | null

Current version ID

current_version
QuoteVersionResponse · object

Current/active version details

custom_data
Custom Data · object

Custom data

created_by
string<uuid> | null

Creator user ID