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

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

Lookup storefront redirect

GET/store/v1/redirects

    Where a path that has nothing redirects, for headless storefronts to send a 301 instead of a 404. Paths match however they are written (encoding, case, trailing slash); a redirect with the request's query string wins over one without.

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

    • pathstringمطلوب

      The requested path, with its query string if any (/old?id=3).

    الترويسات

    • shop-api-versionYYYY-MM

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

    ما يُرجعه

    200 The redirect.

    الأخطاء

    • 404not_foundNo redirect starts from this path.