لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Update installation
POST
/ admin/ v1/ stores/ {store_id}/ apps/ installations/ {installation_id}/ update- يدعم Idempotency-Key
Move to the app's latest version, approving any new permissions it asks for. and every permission of the new version.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.installation_idstringمطلوبمعرّف من نوع
inst، مثلinst_01k8qs5s….
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
accepted_scopesarray of stringsمطلوبExactly
update.scopes.
ما يُرجعه
200 Updated.
الأخطاء
- 403
forbiddenMissingapps:manageor a scope you do not hold. - 404
not_foundNo such installation. - 409Already up to date, or the scopes changed.