Gestiono
Referencia de APIAccounting / Division

Update Division

← Back to full API reference
PATCH/v1/divisionAuth required
  • Validated by Zod schema: patchDivision.

Request details

Body fields

FieldRequiredDescription
idYesType: number
nameNoType: string
typeNoEnum-like validator generated by zodFromObj
subDivisionOfNoType: number
linkedWarehouseNoType: number
pictureNoType: string
metadataNoType: unknown
latNoType: number
lonNoType: number

Default payloads

Path params

json
{}

Query

json
{}

Body

json
{
  "id": 1
}

Sample response

json
{
  "divisionId": "<value>"
}