API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

POST /v1/quotations/{id}/accept

POST/v1/quotations/{id}/accept

Internal accept-on-behalf transition SENT → ACCEPTED

Modèle de données

Cette opération porte sur l'entité Quotation (quotation). Les 51 champs (type, validation, caractère obligatoire, relations) figurent dans la référence du schéma.

Corps de la requête

NomTypeDescription
contactPartyIdstring
viastring

Paramètres de chemin

NomTypeDescription
idobligatoirestring

Exemple

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

Codes de réponse

HTTP Signification
200 Default Response

Recherche