لم يُكتب وصف هذه العملية بالعربية بعد، فأوصافها بالإنجليزية.
Preview authorization
/ admin/ v1/ stores/ {store_id}/ apps/ authorizeCheck an OAuth authorization request and get what the consent screen shows. The admin's /oauth/authorize page calls this with the parameters the app sent.
معاملات المسار
store_idstringمطلوبمعرّف من نوع
store، مثلstore_01k8qs5s…. يصل إلى التطبيق مع التثبيت، في رابط OAuth وفي رد رمز الوصول.
معاملات الاستعلام
client_idstringمطلوبredirect_uristringمطلوبMust exactly match one of the app's registered redirect URLs.
scopestringSpace- or comma-separated scopes, within the app's manifest. The grant is always the manifest's scopes; the token response reports them.
statestringReturned unchanged to the app, to bind the response to its request.
code_challengestringPKCE (RFC 7636):
BASE64URL(SHA256(code_verifier)).code_challenge_methodstringS256when a challenge is sent.
الترويسات
shop-api-versionYYYY-MMالإصدار الذي تُكتب به الإجابة. بدونه يُستخدم الإصدار المثبّت لتطبيقك، وإلا الأحدث.
ما يُرجعه
200 The consent screen's content.
الأخطاء
- 404
not_foundUnknown client, or the app is not available to this store. - 422
validation_failedUnregistered redirect URL, bad PKCE or undeclared scope.