Location

Delete location

Changed on

Permanently delete a location. The location must be inactive before deletion — call PATCH /v1/locations/{location} with {"active": false} first.

Deletion is blocked if the location is still active, or if it is the last remaining location.

delete/v1/locations/{location}

Request

  • Base URL
    https://api.hit-pay.com
  • URL
    https://api.hit-pay.com/v1/locations/{location}
  • Auth
    none declared. Required headers: X-BUSINESS-API-KEY

Path parameters

locationstring uuid required

Location ID

Headers

X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d

Response

Location deleted successfully

Changes