لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Set notification message channels
PUT
/ admin/ v1/ stores/ {store_id}/ notifications/ messages/ {message}/ channels- notifications:manage
Choose the channels a message goes out on; an empty list turns it off. SMS and WhatsApp also need a connected account.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.messagestringمطلوبMessage key
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
channelsarray of enumsمطلوبThe channels the message goes out on; empty turns it off.
- sms
ما يُرجعه
200 The message.
الأخطاء
- 403
forbiddenMissingnotifications:manage. - 404
not_foundNo such message. - 422
validation_failedA channel the message cannot use.