لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Add a free theme from the library
POST
/ admin/ v1/ stores/ {store_id}/ online-store/ themes- themes:manage
- يدعم Idempotency-Key
Add a free theme from the library, unpublished.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
theme_idstringمطلوبTypeID with the
thmprefix.
ما يُرجعه
201 Added.
الأخطاء
- 404
not_foundNo such theme in the library. - 409Paid theme not bought, or 20 themes already.