InstalledSubscriberPackage

Represents a package (first- or second-generation) that is installed in a subscriber’s org.

Version 

Introduced in API version 36.0.

Supported SOAP API Calls 

describeSObjects(), query(), retrieve()

Supported REST API Methods 

GET, Query

Fields 

MinPackageVersionId 

  • Type: ID

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 41.0

  • Description: Package version ID (foreign key) of the first version of the package that was installed in the org. Starts with 04t.

SubscriberPackageId 

  • Type: ID

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: ID of the subscriber package. Starts with 033.

SubscriberPackageVersionId 

  • Type: ID

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: ID that shows the currently installed package version. Starts with 04t.

Usage 

Query InstalledSubscriberPackage for details about the packages that are installed in your org. Sample SOQL query:

1SELECT Id, SubscriberPackageId, SubscriberPackage.NamespacePrefix,
2      SubscriberPackage.Name, SubscriberPackageVersion.Id,
3      SubscriberPackageVersion.Name, SubscriberPackageVersion.MajorVersion,
4      SubscriberPackageVersion.MinorVersion,
5      SubscriberPackageVersion.PatchVersion,
6      SubscriberPackageVersion.BuildNumber
7   FROM InstalledSubscriberPackage
8   ORDER BY SubscriberPackageId

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!