Delete store
Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.
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_idstringRequiredExample:
The ID of the store to delete.
store_01J8Z5F8W9K8M4A7B3C2D1E0FGResponses
200
Success response
application/json
idstringOptionalExample:
The ID of the deleted store.
store_01J8Z5F8W9K8M4A7B3C2D1E0FGis_deletedbooleanOptionalExample:
Always true when the store was soft-deleted.
true401
Unauthenticated response
application/json
500
Error response
application/json
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?