لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Change plan
PUT
/ admin/ v1/ stores/ {store_id}/ apps/ installations/ {installation_id}/ subscription- apps:manage
Move the app to another of its plans: the current period ends unrefunded and the new plan starts now.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.installation_idstringمطلوبمعرّف من نوع
inst، مثلinst_01k8qs5s….
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
plan_idstringمطلوبTypeID with the
aplanprefix.
ما يُرجعه
200 The new subscription.
الأخطاء
- 409Already on this plan (
same_plan). - 422
validation_failedNot one of the app's plans.