لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Get storefront product
GET
/ store/ v1/ products/ {handle}A product page by handle, with the metafields (its own and its variants') that storefronts may read. Drafts and archived products are 404.
معاملات المسار
handlestringمطلوبProduct handle, e.g.
rose-oil
معاملات الاستعلام
localestringA language the store publishes (
en,en-US…); the default content otherwise.
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
ما يُرجعه
200 The product.
الأخطاء
- 404
not_foundNo such product for sale.