API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

PUT /v1/quotations/{id}/opportunity

PUT/v1/quotations/{id}/opportunity

Link or unlink a quotation to/from an opportunity

Datamodel

Deze operatie werkt op de entiteit Quotation (quotation). Alle 51 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.

Request body

NaamTypeBeschrijving
opportunityIdvereiststringnull

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

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
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken