SmartGare
API referenceEndpoints

Correct a fee kind

Corrects the label while preserving the station and immutable code. **Required permission:** `referential.fee-kind:write`

PUT/referential/v1/fee-kinds/{id}

Corrects the label while preserving the station and immutable code.

Required permission: referential.fee-kind:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*CorrectFeeKindRequest

Response Body

*/*

*/*

curl -X PUT "https://example.com/referential/v1/fee-kinds/string" \  -H "Content-Type: application/json" \  -d '{    "label": "string"  }'
{  "code": "string",  "created_at": "2019-08-24T14:15:22Z",  "id": "string",  "label": "string",  "retired_at": "2019-08-24T14:15:22Z",  "retired_by": "string",  "station_id": "string",  "status": "ACTIVE",  "updated_at": "2019-08-24T14:15:22Z"}