For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete store

Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.

Delete store

delete

Soft-delete a store owned by your account.

The underlying store data is preserved; only the store is marked as deleted.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
store_idstringRequired

The ID of the store to delete.

Example: store_01J8Z5F8W9K8M4A7B3C2D1E0FG
Responses
200

Success response

application/json
idstringOptional

The ID of the deleted store.

Example: store_01J8Z5F8W9K8M4A7B3C2D1E0FG
is_deletedbooleanOptional

Always true when the store was soft-deleted.

Example: true
delete/api/ecommerce/v1/stores/{store_id}
DELETE /api/ecommerce/v1/stores/{store_id} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "store_01J8Z5F8W9K8M4A7B3C2D1E0FG",
  "is_deleted": true
}

Last updated

Was this helpful?