Ana içeriğe geç
Bu sayfa henüz Türkçeye çevrilmedi; İngilizce sürümü gösteriliyor.
Versiyon: 0.1

Connecting Stores

storeasy talks to the stores only through their official APIs, with credentials your organization adds under Organization > Connections. Adding, verifying and deleting a connection needs the Manage store connections permission (Owner and Admin, or a custom role that has it) and a verified e-mail address. An organization can have several connections per store (for example two Apple developer accounts).

What storeasy keeps​

KeptNever
The credential, sealed with AES-256-GCM envelope encryption (a data key per connection, wrapped by the instance master key)Returned by any endpoint, MCP tool, export or log
A fingerprint shown in the app (for example the App Store Connect key id and the last 4 characters of the issuer id, or the Google service account e-mail)Your Apple ID, Google account, Partner Center, GitHub or Firefox account password
Last verification time and resultCopies of the credential in jobs, plans or audit entries

Replacing a key​

An Apple, Google, winget, Chrome Web Store or Firefox Add-ons key is replaced in place with Replace key on the connection's card. The connection keeps its id, so its apps, jobs, plans and history stay. storeasy verifies the new key against the store first; if the store refuses it, nothing changes. A key from another account is refused (for Apple, another App Store Connect team; for winget, another fork; for Chrome and Firefox, another publisher or account). Revoke the old key in the store afterwards.

App Store Connect​

You need an App Store Connect API team key.

  1. In App Store Connect, open Users and Access > Integrations > App Store Connect API. The Account Holder has to request API access once.
  2. Under Team Keys, generate a key with the role App Manager. It covers app information and version texts, screenshots and previews, builds and export compliance, TestFlight, pricing and availability, age rating, review information, submission and review replies. Developer is not enough for metadata. Registering App Store Connect webhooks may need an Admin key.
  3. Download the .p8 file (Apple lets you download it once) and note the Key ID and the Issuer ID.
  4. In storeasy, add an Apple connection with the issuer id, key id and the content of the .p8 file, then verify it.
  5. Run Sync to list the account's apps. Apps with the same bundle id in another store are paired automatically.

Apple does not let the API create apps: create the app record in App Store Connect first.

Webhooks. Under Webhooks, add an App Store Connect endpoint for the connection. storeasy registers one App Store Connect webhook per app for version state, build processing and beta review events. Ping sends a signed test event.

Google Play​

You need a Google Cloud service account with a JSON key, invited to your Play Console account.

  1. In Google Cloud, enable the Google Play Android Developer API, create a service account and a JSON key for it. The service account needs no Google Cloud roles.

  2. In Play Console, open Users and permissions > Invite new users, enter the service account e-mail and grant:

    • View app information and download bulk reports (read-only);
    • Release apps to testing tracks;
    • Manage store presence;
    • Reply to reviews.

    Optional: Release to production, exclude devices, and use Play App Signing (only if storeasy should release to production) and View financial data (only for sales and subscription reports).

  3. In storeasy, add a Google connection with the content of the JSON key file, then verify it.

  4. Play has no API to list apps: add each app by its package name.

Create the app in Play Console first. Google can require the first bundle of a new app to be uploaded in Play Console.

Purchase notifications. Play's Real-time developer notifications are received through a Cloud Pub/Sub push subscription: create a topic, grant [email protected] the Pub/Sub Publisher role, add a Google Play notifications endpoint under Webhooks in storeasy, create an authenticated push subscription to the address it shows (/api/webhooks/google/{id}), and enter the topic in Play Console's Monetization setup. No secret is shared; storeasy checks the push token Google signs.

Microsoft Store​

You need a Microsoft Entra application associated with your Partner Center account. One connection covers both the MSIX submission API and the MSI/EXE API.

  1. In Partner Center, open Account settings > User management > Microsoft Entra applications and add an application with the Manager role.
  2. Create a client secret for it. A secret lives at most 24 months. Note the secret's value (not its id) and its expiry date.
  3. Note the tenant ID, the application's client ID and your seller ID.
  4. In storeasy, add a Microsoft connection (the web app has a form) and enter the secret's expiry date.
  5. Verify it, then run Sync: MSIX apps come in on their own. MSI/EXE apps have no list call: add each by its Store id.

storeasy reminds owners and admins 30, 7 and 1 days before the secret expires. Replace it in place with Renew secret.

Microsoft's APIs can only change an app after its first submission was made in Partner Center, and some things (for example a submission edited in Partner Center, or prices on Pricing Version 2) cannot be done through the API; storeasy shows them as assisted steps with a Partner Center link. Sending a submission to certification needs Submit for review and the product's Store id typed as confirmation.

winget​

winget has no store account or submission API: packages are YAML manifests in microsoft/winget-pkgs, and a new version goes in as a pull request. storeasy works with a GitHub token and your fork of winget-pkgs.

  1. Fork microsoft/winget-pkgs.
  2. Create a classic personal access token with the public_repo scope and an expiry date. (A fine-grained token can push the branch but cannot open the pull request; storeasy then gives you the compare page.)
  3. In storeasy, add a winget connection with the token and the fork as owner/name.
  4. Verify it.
  5. Add each package by its identifier (Publisher.Package), attached to the app of the same program.

New versions and locale text changes are change plans. Approving a new version needs Submit for review and the package identifier and version typed. Applying it downloads every installer, writes its SHA-256 into the manifest, pushes a branch to the fork and opens the pull request. Manifests are checked against the schema and the repository's policies before a plan is saved. The pull request's labels and checks become its review state (validating, validation failed, needs author feedback, approved, published, closed).

Chrome Web Store​

storeasy uses the Chrome Web Store API v2. The API cannot create an item or list a publisher's items, so upload the first version in the developer dashboard and add the item to storeasy by its extension id.

  1. In the Google Cloud console, enable the Chrome Web Store API.
  2. Pick one credential: a service account with a JSON key (recommended; add its e-mail under Account in the developer dashboard), or an OAuth client and refresh token for the https://www.googleapis.com/auth/chromewebstore scope.
  3. Copy the publisher id from Account in the developer dashboard.
  4. In storeasy, add a Chrome Web Store connection with the publisher id, the credential and optionally one extension id.
  5. Verify it, then add each item by its extension id.

Extension .zip packages come in through CI intake and are checked (Manifest V3 only, version, name and summary limits). Change plans can submit, publish a staged revision, raise the deploy percentage, cancel a submission or roll back. The store listing, privacy practices and visibility are not in the API, so they are assisted steps.

Firefox Add-ons​

Firefox Add-ons is reached through the AMO API v5 with an API key of the AMO account that authors your add-ons.

  1. Sign in to addons.mozilla.org and open Developer Hub > Tools > Manage API Keys. Generate a JWT issuer and a JWT secret.
  2. In storeasy, add a Firefox Add-ons connection with both values, then verify it.
  3. Sync apps lists the add-ons the account authors. Apps > Add a Firefox add-on adds one by its numeric id, guid or slug.

Change plans cover the listing per locale and categories, new versions from an .xpi intake package (listed or unlisted channel), previews, the icon and release notes. A new version needs Submit for review and the guid and version typed. Ratings are read into Reviews and can be answered.

Store page performance​

The app's Store performance tab shows impressions, page views, downloads and conversion per day, store, country and traffic source, read once a day and on Fetch now:

StoreWhat the owner sets up
App StorePress Enable analytics reports once per app. Creating the report request needs an API key with the Admin role; reading needs Admin or Sales and Reports.
Google PlayEnter the Play Console reports bucket (gs://...). The service account needs View app information and download bulk reports for the whole account.
Chrome Web StoreNothing new.
Microsoft StoreNothing new; the Entra app needs a Partner Center role that can read analytics.

Revenue sources are described in Dashboard and Revenue.

Package registries and Expo​

  • Credentials for the package registries module (a GitHub token and one key per registry, each with the least access) are added under Package registries > Credentials for releases and actions.
  • EAS builds use one Expo access token per organization under Connections > Expo (EAS builds). Use a robot user with the Developer role.

Troubleshooting​

SymptomCheck
Verify fails with 401 for AppleKey revoked, wrong issuer id, or the .p8 content was changed (keep the BEGIN and END lines).
Verify fails with 403 for GoogleThe service account was not invited in Play Console, or the API is not enabled in its Cloud project.
A Play app disappears after syncPlay refused the service account for that package: grant it access to the app.
Verify fails for MicrosoftThe application is not associated with Partner Center or lacks the Manager role, the secret value (not its id) is wrong or expired, or the tenant id belongs to another directory.
MsSecretExpiryInvalidThe expiry date is in the past or more than 24 months away.
Verify fails for wingetThe token was revoked or expired, lacks public_repo, the fork name is wrong, or the token cannot push to it.
EmailNotVerified when adding a connectionVerify your e-mail address first.