palbaseDocs

Palbase Stores · API

GET/stores/apple/readiness

Check whether an app can buy in the sandbox

Reads Apple live and answers whether the app can buy in the App Store's sandbox now, check by check, each with what to do when it does not hold: the connected key (apple_account), Apple's agreements (apple_agreements — the Account Holder accepts them in App Store Connect › Business), the app's link to its App Store Connect record (app_linked), where its App Store Server Notifications go (server_notifications), the team's sandbox testers (sandbox_testers — only a person makes one, in App Store Connect › Users and Access › Sandbox), whether the app has products at Apple (products) and each product's state (product:<product id>: READY_TO_SUBMIT and later sell in the sandbox; MISSING_METADATA names what is missing). A check that could not run says why. Nothing is written.

Called by your server, with the project's secret key.

Query

appstring (uuid) · optionalThe app's id (the registry's); the environment's one linked iOS app when absent.
curl
curl -X GET "https://<your-ref>.palbase.studio/stores/apple/readiness" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The checks

400Validation failed or a required field is missing

401Missing or invalid API key

403Not the project's secret key; or a change to the platform's own project (`owner_only`) without its owner's access token (X-Palbase-Owner) or its operator's token (X-Palbase-Operator) beside the key. An owner's sign-in that is not a passkey one from the last 15 minutes is 401 `insufficient_user_authentication`.

422Apple refused a read

429Over the project's request limit or quota

502App Store Connect could not be reached; retrying is safe

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation GetSandboxReadiness of stores's contract.