لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Update local delivery area
PATCH
/ admin/ v1/ stores/ {store_id}/ shipping/ local-delivery-areas/ {area_id}- settings:write
Change a local delivery area.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.area_idstringمطلوبمعرّف من نوع
shr، مثلshr_01k8qs5s….
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
الجسم
location_idstring · أو nullTypeID with the
locprefix.namestring · أو nullkindenum · أو nullThe shape of an area.
- radius
- polygon
- places
- postal_codes
radius_kmnumber · أو nullpolygonarray of objects · أو nullplacesarray of strings · أو nullpostal_codesarray of strings · أو nullpriceobject · أو nullAn exact amount of money in the currency's minor unit (halalas, cents, fils…).
ما يُرجعه
200 The area.
الأخطاء
- 404
not_foundNo such area. - 422
validation_failedValidation failed.