This is my Subscribe API response output:
{
"id": 64,
"name": "Order updated",
"status": "active",
"topic": "order.updated",
"resource": "order",
"event": "updated",
"hooks": [
"woocommerce_update_order",
"woocommerce_order_refunded"
],
"delivery_url": "https://hooks.zapier.com/fake-subscription-url",
"date_created": "2020-10-05T07:37:29",
"date_modified": null
}
But when I’m trying to get subscribe id (Like 64,) Then i am getting empty/undefined id error message.
params: {
'webhook_id': bundle.subscribeData.id,
Please help me how to get subscribed id in unsubscribe method
Question
Why I'm not gettin subscribe id from unsubscribe methos using REST hooks
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.