Skip to content
ProductIndustriesDemoPricingSupport
Sign inStart
ProductIndustriesDemoPricingSupport
Sign inStart
All guidesSign in
Product guidesDeveloperWebsite map

Loading documentation search… You can browse the guides below.

Developer

  • Build with Zelikore

  • Make your first request

  • API keys and workspace access

  • Test your integration

Making requests

  • Requests, pagination, and errors

  • Writes, retries, and version conflicts

Integrations

  • Sync customers to another system

  • MCP access

  • Developer changelog

API reference

  • API reference

  • API coverage

Customers

  • List customers

  • Get a customer

  • Create a customer

  • Update a customer

  • Read customer summaries

  • Generate a customer statement

  • Read a customer statement run

  • Read customer service history

Products

  • List products and services

  • Look up catalog pricing

  • Get a product

  • Create a product or service

  • Update a product or service

  • Archive a product

Inventory locations

  • List inventory locations

  • Get an inventory location

  • Create an inventory location

  • Update an inventory location

  • Archive an inventory location

Work items

  • List work items

  • Get a work item

  • Create a work item

  • Update a work item

  • Read work scheduling

  • Search work items

Vehicle catalog

  • List vehicle makes

  • List vehicle models

  • Decode a vehicle VIN

Vendors

  • List vendors

  • Get a vendor

  • Create a vendor

  • Update a vendor

Purchasing

  • List purchase orders

  • Get a purchase order

  • Create a purchase order

  • Update a purchase order

  • Receive a purchase order

  • List purchase order receipts

  • List workspace receipts

  • List purchasing returns

  • Create a purchasing return

  • Get a purchasing return

  • Transition a purchasing return

Loading documentation search… You can browse the guides below.

Browse developer docs

Developer

  • Build with Zelikore

  • Make your first request

  • API keys and workspace access

  • Test your integration

Making requests

  • Requests, pagination, and errors

  • Writes, retries, and version conflicts

Integrations

  • Sync customers to another system

  • MCP access

  • Developer changelog

API reference

  • API reference

  • API coverage

Customers

  • List customers

  • Get a customer

  • Create a customer

  • Update a customer

  • Read customer summaries

  • Generate a customer statement

  • Read a customer statement run

  • Read customer service history

Products

  • List products and services

  • Look up catalog pricing

  • Get a product

  • Create a product or service

  • Update a product or service

  • Archive a product

Inventory locations

  • List inventory locations

  • Get an inventory location

  • Create an inventory location

  • Update an inventory location

  • Archive an inventory location

Work items

  • List work items

  • Get a work item

  • Create a work item

  • Update a work item

  • Read work scheduling

  • Search work items

Vehicle catalog

  • List vehicle makes

  • List vehicle models

  • Decode a vehicle VIN

Vendors

  • List vendors

  • Get a vendor

  • Create a vendor

  • Update a vendor

Purchasing

  • List purchase orders

  • Get a purchase order

  • Create a purchase order

  • Update a purchase order

  • Receive a purchase order

  • List purchase order receipts

  • List workspace receipts

  • List purchasing returns

  • Create a purchasing return

  • Get a purchasing return

  • Transition a purchasing return

← Developer overview

Inventory locations

Archive an inventory location

Retire a location without deleting it.

1 min read

DELETE/v1/business/locations/{locationId}Reviewed

Access

Workspace API key, minimum role viewer. Changes data; workspace must allow writes.

Requires all: inventory.write

Behavior

Retire a location without deleting it. Archiving sets the location status to archived; the record stays addressable so dependent records keep their history. The If-Match header must carry the current record's updatedAt value: a missing value returns 428 and a stale value is rejected. The body is optional; send operationMetadata.idempotencyKey when a retry could repeat the archive. Success returns 204 with no body, including for an exact retry; confirm state with a GET.

Parameters

query

workspace string · required

Workspace ID associated with the API key. The query name is workspace, not workspaceId.

minLength: 1

path

locationId string · required

minLength: 1

header

If-Match string · required

updatedAt value from the current location record.

minLength: 1

Request body

Content-Type: application/json

body object · optional
operationMetadata composition · optional
All required 1 object · required
idempotencyKey composition · optional
All required 1 string · required

minLength: 8

maxLength: 255

occToken composition · optional
All required 1 string · required

minLength: 8

maxLength: 255

occVersion composition · optional
All required 1 integer · required

minimum: 0

requestId string · optional

minLength: 1

maxLength: 255

source string · optional

Allowed: "api", "workflow", "import", "integration"

Response · 204

Success. The response has no body.

Errors and recovery

400
Invalid input or unmet request prerequisite. Read message and any code or issues.
401
Missing, invalid, expired, revoked, or wrong-environment credentials.
403
Workspace permissions or workspace state do not allow this operation.
404
Workspace or requested record was not found.
409
State, lifecycle, idempotency, or concurrency conflict. Read current state before deciding whether to retry.
428
Required If-Match precondition is missing. Read the current record and send its updatedAt value in If-Match.
429
Rate limit reached. Honor Retry-After.
500
Unexpected server failure. A write may have committed; reconcile before retrying.
503
Required authority or dependency unavailable. Preserve the command identity if retrying a write.

Request examples

Use your own workspace and record IDs. Examples make real requests. Read the behavior before sending a write.

# Requires curl 7.87 or newer. Set environment variables; replace example record IDs.
curl --fail-with-body --request DELETE \
  "https://zelio-api.zelikore.com/v1/business/locations/location-example" \
  --url-query "workspace=$ZELIO_WORKSPACE" \
  --header "x-api-key: $ZELIO_API_KEY" \
  --header "Content-Type: application/json" \
  --header "If-Match: 2026-09-14T00:00:00.000Z" \
  --data-binary @- <<'JSON'
{
  "operationMetadata": {
    "idempotencyKey": "location-archive-2026-09-16-001"
  }
}
JSON

Download OpenAPI

Previous

Update an inventory location

Next

List work items

Zelikore

Customer work, your team, and billing.
Connected in Zelikore.

Analytics: this tab only

Explore

  • Product tour
  • Pricing
  • Documentation
  • Support
  • System status

Legal & contact

  • Terms of Service
  • Privacy Policy
  • SMS Program
Email support