Skip to main content
DELETE
/
services
/
{id}
Delete a service
curl --request DELETE \
  --url https://api.salesive.com/api/v1/services/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "message": "Delete a service",
  "data": {}
}
Soft-deletes a service in the store. Requires the WRITE_INVENTORY scope.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Path Parameters

id
string
required

ObjectId of the service to delete.

Response

Delete a service — success.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"Delete a service"

data
object
required
Example:
{}