Bulk delete locations

Bulk delete location objects. The maximum number of objects you can set in a bulk operation is 100.

In the response, isActive is set as 2 (Inactive).

What is a location?

A location object is useful for tracking expenses based on locations. You can sync your locations with your choice of accounting software or import using a CSV file.

In Xero, the BILL location object is required for tracking expenses and syncing successfully. In Intuit QuickBooks, the location object and location-based tracking is not supported.

Display location in the BILL web app

You can display location numbers with the BILL web app.

  1. In the BILL web app, click SETTINGS at the top-right.
  2. Click Preferences under Accounting.
  3. Click the edit icon at the top-right.
  4. Set Use Locations as Yes and then click SAVE.
Form Data
string
required

Developer key (sent to you when you create a developer account)

string
required

API session ID generated with /v2/Login.json

data
object
required
Response

Response body
object
integer

Response status.

  • 0: Success response
  • 1: Error response. Only error_code and error_message is returned in response_data.
string

Response status.

  • Success: Success response
  • Error: Error response. Only error_code and error_message is returned in response_data.
response_data
object
bulk
array of objects
bulk
object
integer

Response status.

  • 0: Success response
  • 1: Error response. Only error_code and error_message is returned in response_data.
string

Response status.

  • Success: Success response
  • Error: Error response. Only error_code and error_message is returned in response_data.
response_data
object
string

Error code (only when response_status is 1)

string

Error message (only when response_status is 1)

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json