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

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

Set location service

PUT/admin/v1/stores/{store_id}/locations/{location_id}/fulfillment-service
  • settings:write

Gives a location to a fulfilment service app, or back to the store's team.

معاملات المسار

  • store_idstringمطلوب

    معرّف من نوع store، مثل store_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.

  • location_idstringمطلوب

    معرّف من نوع loc، مثل loc_01k8qs5s….

الترويسات

  • shop-api-versionYYYY-MM

    الإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.

الجسم

  • installation_idstring · أو null

    The app that runs the location; null gives it back to the store's own team.

  • auto_requestboolean

    Send its orders on their own once they can ship. Defaults to true.

ما يُرجعه

204 Saved.

الأخطاء

  • 404not_foundNo such location or fulfilment service.