v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
classifications

Update a location

Update details about an existing location.

patch/v3/classifications/locations/{id}

Path parameters

idstring required

BILL-generated ID of the location. The value begins with loc.

Example:{{location_id}}

Headers

sessionIdstring nullable

API session ID generated with /v3/login

Example:{{session_id}}
devKeystring nullable

Developer key generated with your BILL developer account

Example:{{developer_key}}

Request body

namestring

Location name

shortNamestring

Location short name

descriptionstring

Location description

parentIdstring

BILL-generated ID of the parent location. You can set this field if this location is a child object.

Example request

{
  "name": "234 Main St Retail Store",
  "description": "Retail store prepaid subscription expenses"
}

Response

Update a location response

idstring

BILL-generated ID of the location. The value begins with loc.

namestring

Location name

shortNamestring

Location short name

descriptionstring

Location description

parentIdstring

BILL-generated ID of the parent location. You can set this field if this location is a child object.

archivedboolean

Set as true if the location is archived

createdTimestring date-time
updatedTimestring date-time

Updated date and time