انتقل إلى المحتوى

لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.

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 · أو null

    What 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.

الأخطاء

  • 403forbiddenMissing permission.
  • 404not_foundNo such theme in the Theme Store.
  • 409A paid theme, which has to be bought first.