انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

Delete notification channel

DELETE/admin/v1/stores/{store_id}/notifications/channels/{channel}
  • notifications:manage

Disconnect the store's SMS provider or WhatsApp account and forget its credentials. Messages still queued on it fail.

معاملات المسار

  • store_idstringمطلوب

    معرّف من نوع store، مثل store_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.

  • channelstringمطلوب

    sms or whatsapp

الترويسات

  • shop-api-versionYYYY-MM

    الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

ما يُرجعه

204 Disconnected.

الأخطاء

  • 403forbiddenMissing notifications:manage.
  • 404not_foundNo account on this channel.