destroy
DELETE
/api/v1/accounts/:account_id/locations/:id
Delete a location
Permanently deletes a location. This action cannot be undone.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id
|
Must be a Integer | Required |
Parent store ID |
id
|
Must be a Integer | Required |
Location ID |
Error Codes
| Code | Description |
|---|---|
401
|
Unauthorized – invalid or missing API token |
404
|
Location not found |
Returns
Code: 204
No content – location successfully deleted