Skip to main content
DELETE
/
push-subscriptions
/
{subscriptionId}
Delete subscription
curl --request DELETE \
  --url https://store.salesive.com/api/v1/push-subscriptions/{subscriptionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-shop-id: <api-key>'

Request

DELETE /push-subscriptions/678bd7e2e37452d19efcb4e9
Authorization: Bearer {{token}}
x-shop-id: {{shopId}}

Headers

HeaderTypeDescription
AuthorizationstringProvide the customer token as Bearer <jwt>.
x-shop-idstringIdentify the shop.

Path parameters

ParameterTypeRequiredDescription
subscriptionIdstringYesSubscription identifier.

Successful response

{
    "status": 200,
    "success": true,
    "message": "Subscription deleted",
    "data": {}
}

Error response

{
    "status": 404,
    "success": false,
    "message": "Subscription not found",
    "data": {}
}

Authorizations

Authorization
string
header
required

JWT issued by the Salesive Store API for authenticated shoppers.

x-shop-id
string
header
required

Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.

Path Parameters

subscriptionId
string
required

Response

200

Subscription deleted