curl --request PATCH \
--url https://api.comstruct.com/v1/invoices/{id}/external-status \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"external_status": "EXPORTED"
}
'{
"success": true
}Invoices
Set invoice external status
Erforderliche Berechtigungen: invoices:write
Setzt einen freien external_status für Integrationen (z. B. ERP-Workflow).
Mit {"external_status": null} wird der Wert gelöscht.
PATCH
/
invoices
/
{id}
/
external-status
curl --request PATCH \
--url https://api.comstruct.com/v1/invoices/{id}/external-status \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"external_status": "EXPORTED"
}
'{
"success": true
}Sets a free-form
external_status for integrations (for example ERP workflow). Send {"external_status": null} to clear.Authorizations
API-Schlüssel zur Authentifizierung. Kontaktieren Sie Ihren Customer Success Manager, um einen API-Schlüssel zu erhalten.
Jeder Endpunkt erfordert spezifische Berechtigungen (Scopes); die erforderlichen Scopes werden pro Endpunkt angezeigt.
Path Parameters
Numerische Rechnungs-ID
Body
application/json
Freier Integrationsstatus; null zum Löschen
Maximum string length:
2048Example:
"EXPORTED"
Response
Status erfolgreich aktualisiert
Example:
true