API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

POST /v1/quotations/{id}/accept

POST/v1/quotations/{id}/accept

Internal accept-on-behalf transition SENT → ACCEPTED

Data model

This operation works on the entity Quotation (quotation). All 51 fields — type, validation, required status, relationships — are listed in the schema reference.

Request body

NameTypeDescription
contactPartyIdstring
viastring

Path parameters

NameTypeDescription
idrequiredstring

Example

curl -X POST https://api.codemeta-os.de/v1/quotations/{id}/accept \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "contactPartyId": "string",
  "via": "INTERNAL_ON_BEHALF"
}'
const result = await cm.quotations.post({
  "contactPartyId": "string",
  "via": "INTERNAL_ON_BEHALF"
});

Response codes

HTTP Meaning
200 Default Response

Search