Skip to main content

Update Account

PUT 

/api/accounting/accounts/:id

Update Account

Request

Path Parameters

    id integerrequired

Header Parameters

    X-Company-Slug stringrequired

Body

    name stringrequired
    number string
    currency CurrencyEnum (string)required

    Possible values: [EUR, USD, GBP, TRY]

    bank_name string
    bank_phone string
    bank_address string
    enabled booleanrequired

Responses

Successful response

Schema

    id stringrequired
    created_by_id stringrequired
    name stringrequired
    number stringnullablerequired
    currency CurrencyEnum (string)required

    Possible values: [EUR, USD, GBP, TRY]

    bank_name stringnullablerequired
    bank_phone stringnullablerequired
    bank_address stringnullablerequired
    enabled booleanrequired
    created_at date-timerequired
    updated_at date-timerequired
    deleted_at date-timenullablerequired
    total integerrequired
Loading...