لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Start online store
POST
/ admin/ v1/ stores/ {store_id}/ online-store/ start- themes:manage
- يدعم Idempotency-Key
Set up a new store's Online Store on the theme its merchant chose when opening it. Does nothing to a store that's already set up.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
الترويسات
Idempotency-Keystringأرسل المفتاح نفسه لإعادة المحاولة بأمان: تُعاد الإجابة الأولى لمدة ٢٤ ساعة.
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
themestringمطلوبA free theme's handle.
kindenum · أو nullWhat the store sells, as its kind of shop for the Theme Store.
- fashion
- beauty
- electronics
- food_and_drink
- home_and_garden
- health_and_wellness
- sports_and_outdoors
- kids_and_toys
- jewelry
- books_and_media
- services
- general
ما يُرجعه
204 Set up.
الأخطاء
- 403
forbiddenMissing permission. - 404
not_foundNo such theme in the Theme Store. - 409A paid theme, which has to be bought first.