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

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

Update POS settings

PUT/admin/v1/stores/{store_id}/pos/settings
  • settings:write

Saves the store's point-of-sale rules. , or a manager or owner unlocked at the counter.

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

  • store_idstringمطلوب

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

الترويسات

  • x-pos-clerkstring · أو null

    A manager's unlock at the counter

  • shop-api-versionYYYY-MM

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

الجسم

  • limitsobjectمطلوب

    What a cashier may do alone.

  • deposit_min_bpintegerمطلوب

    A deposit's minimum share of the sale.

  • receiptobjectمطلوب
  • ownerobjectمطلوب
  • note_required_overinteger · أو null

    A closing count off by more than this needs a note; null: never.

  • commission_bpinteger · أو null

    Floor staff's commission on what they help sell; null: off.

ما يُرجعه

200 Saved.

الأخطاء

  • 422validation_failedInvalid rules.