API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen

PUT /v1/quotations/{id}/opportunity

PUT/v1/quotations/{id}/opportunity

Link or unlink a quotation to/from an opportunity

Datenmodell

Diese Operation arbeitet auf der Entität Quotation (quotation). Alle 51 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.

Request Body

NameTypBeschreibung
opportunityIderforderlichstringnull

Pfad-Parameter

NameTypBeschreibung
iderforderlichstring

Beispiel

curl -X PUT https://api.codemeta-os.de/v1/quotations/{id}/opportunity \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "opportunityId": null
}'
const result = await cm.quotations.put({
  "opportunityId": null
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche