Delete Location

Permanently deletes a Location. It cannot be undone. Also also removes any references to the Location in rules and other settings.

SecurityOAuth2.0
Request
path Parameters
location-id
required
string
header Parameters
x-api-key
string
tenant-id
string
Content-Type
string
Default: application/json
Responses
200
delete/locations/{location-id}
Request samples
Response samples
application/json
{
  • "location_id": "string",
  • "location_code": "string",
  • "location_name": "string",
  • "contact_name": "string",
  • "contact_email": "string",
  • "contact_phone": "string",
  • "alternate_phone": "string",
  • "address1": "string",
  • "address2": "string",
  • "city": "string",
  • "state": "string",
  • "postcode": "string",
  • "country": "string",
  • "coords": "string",
  • "what3words": "string",
  • "type": "business",
  • "shopify_location_id": "string",
  • "deleted": true,
  • "merchants": [
    ]
}