Zum Hauptinhalt springen
PATCH
/
invoice-dimensions
/
options
/
{id}
Dimension-Option aktualisieren
curl --request PATCH \
  --url https://api.comstruct.com/v1/invoice-dimensions/options/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "number": "<string>",
  "title": "<string>",
  "description": "<string>",
  "is_active": true,
  "is_favorite": true
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dimension_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "number": "<string>",
  "title": "<string>",
  "description": "<string>",
  "is_active": true,
  "is_favorite": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Autorisierungen

X-API-Key
string
header
erforderlich

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.

Pfadparameter

id
string<uuid>
erforderlich

Body

application/json
number
string
title
string
description
string
is_active
boolean
is_favorite
boolean

Antwort

Option aktualisiert

id
string<uuid>
dimension_id
string<uuid>
number
string
title
string
description
string | null
is_active
boolean
is_favorite
boolean
created_at
string<date-time>
updated_at
string<date-time>