Palbase Stores · API
POST
/stores/connect/apple-id/codeSend Apple's code
Finishes a sign-in with the six-digit code Apple sent to the Apple ID's trusted devices or phone. A link takes 3 codes.
Called by .
Request body
codestring · requiredThe six digits Apple sent.grantstring · requiredThe link's grant.curl
curl -X POST "https://<your-ref>.palbase.studio/stores/connect/apple-id/code" \
-H "content-type: application/json" \
-d '{"code":"string","grant":"string"}'Responses
200Where the sign-in stands
400Validation failed or a required field is missing
410The link is used, expired, or out of tries
413The body is too large
422Apple refused the code (`apple_code_refused`)
502Apple's sign-in could not be reached; trying again is safe
503Temporarily unavailable; retrying is safe after Retry-After
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation SubmitAppleIDCode of stores's contract.