DELETE
/
v1
/
zones
/
{id}
curl --request DELETE \
  --url https://api.sandbox.usenash.com/v1/zones/{id}
{
  "id": "zone_01234567890123456789",
  "externalId": "ext_01234567890123456789",
  "timezoneId": "America/New_York",
  "name": "Zone 1",
  "coverageAreaId": "coa_01234567890123456789",
  "storeLocationIds": "['stl_01234567890123456789', 'stl_01234567890123456789']",
  "deliveryWindowIds": "['dw_01234567890123456789', 'dw_01234567890123456789']",
  "tags": "['service:rapid', 'franchise_location']",
  "isDeleted": false
}

Path Parameters

id
string
required

Response

200
application/json
OK

Response for zone.

id
string
required

The ID of the zone.

Example:

"zone_01234567890123456789"

externalId
string | null
required

The external ID of the zone.

Example:

"ext_01234567890123456789"

timezoneId
string | null
required

The timezone ID of the zone.

Example:

"America/New_York"

name
string | null
required

The name of the zone.

Example:

"Zone 1"

coverageAreaId
string | null
required

The ID of the coverage area.

Example:

"coa_01234567890123456789"

storeLocationIds
string[] | null
required

The store location IDs of the zone.

Example:

"['stl_01234567890123456789', 'stl_01234567890123456789']"

deliveryWindowIds
string[] | null
required

The delivery window IDs of the zone.

Example:

"['dw_01234567890123456789', 'dw_01234567890123456789']"

tags
string[] | null
required

The tags of the zone.

Example:

"['service:rapid', 'franchise_location']"

isDeleted
boolean | null
required

Whether the zone is deleted.

Example:

false