Stampfactory
Dokumentation
Kostenstellen

Kostenstelle aktualisieren

PUT
/cost_centers/{costCenter}
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Pfadparameter

costCenter*string

The cost center ID

Formatuuid

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Response-Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/cost_centers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "name": "string"  }'
{  "data": {    "id": "string",    "code": "string",    "name": "string",    "description": "string",    "created_at": "string",    "updated_at": "string"  }}