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

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

Search store

GET/admin/v1/stores/{store_id}/search

    Finds the store's orders, customers, products and discounts by what was typed: an order number, a phone in any digits and spacing, a tracking number, a SKU, a barcode, a discount code, or words. Arabic spellings fold together, names meet across scripts (ندى finds Nada), and each hit says why it matched. A kind the caller can't read comes back null, not as an error; a kind that runs out of time is listed in unchecked. Requires a read permission for each kind searched.

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

    • store_idstringمطلوب

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

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

    • qstringمطلوب

      What was typed: an order number, a phone in any digits and spacing, a tracking number, a SKU, a barcode, a discount code, or words, in Arabic or English. Read up to 200 characters.

    • scopeenum

      Where to look. With all, a few of each kind.

      • all
      • orders
      • customers
      • products
      • discounts

    الترويسات

    • shop-api-versionYYYY-MM

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

    ما يُرجعه

    200 What was found, best first.

    الأخطاء

    • 429rate_limitedToo many searches.