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

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

Reset notification template

DELETE/admin/v1/stores/{store_id}/notifications/messages/{message}/templates/{channel}/{locale}
  • notifications:manage

Go back to the built-in template (one channel, one language). Returns the template now in use.

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

  • store_idstringمطلوب

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

  • messagestringمطلوب

    Message key

  • channelstringمطلوب

    email, sms or whatsapp

  • localestringمطلوب

    en or ar

الترويسات

  • shop-api-versionYYYY-MM

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

ما يُرجعه

200 The built-in template, now in use.

الأخطاء

  • 403forbiddenMissing notifications:manage.
  • 404not_foundNo such message, or not on this channel.