Skip to content

Page Eligibility for Commerce

Updated: Feb 5, 2021

Use the commerce_eligiblity API to enable platform partners to check the commerce eligibility for a given page for both offsite and onsite shops.

GET https://graph.facebook.com/vX.X/{pageID}/?fields=commerce_eligibility
GET https://graph.facebook.com/vX.X/{pageID}/commerce_eligibility

Sample Endpoint Response: List data (if any) accepted via GET

{
  "offsite": {
    "is_elibile": true,
  },
  "onsite": {
    "is_elibile": true,
  }
}

Endpoint Response: List data (if any) accepted via GET

{
  "offsite": {
    "is_elibile": false,
    "reasons": [
      {
        "code": "VIEWER_IS_NOT_PAGE_ADMIN",
        "message": "The Page cannot be used because you are not a Page admin.",
      },
    ],
  },
  "onsite": {
    "is_elibile": false,
    "reasons": [
      {
        "code": "VIEWER_IS_NOT_PAGE_ADMIN",
        "message": "The Page cannot be used because you are not a Page admin.",
      },
    ],
  }
}

Response Attributes

AttributeTypeDescription
offsiteCommerceEligibilityWithReasonsObjectEligibility for offsite shops
onsiteCommerceEligibilityWithReasonsObjectEligibility for onsite shops

Objects

CommerceEligibilityWithReasonsObject Object

AttributeTypeDescription
is_eligiblebooleanDetermines if the page is eligible
reasonsvec<CommerceOnboardingExternalIneligibilityReasonWithHelpMessage>Ineligibility reasons if the page is not eligible

CommerceOnboardingExternalIneligibilityReasonWithHelpMessage Object

AttributeTypeDescription
codeCommerceOnboardingExternalIneligibilityReasonCode for the ineligibility reason
messagestringMessage explaining the reason code
help_urlstringOptional help page URL when applicable

CommerceOnboardingExternalIneligibilityReason enum

ValueDescription
UNKNOWNThis Page is not currently eligible for Facebook Shops.
PAGE_ALREADY_ASSOCIATED_WITH_ONBOARDED_CMSThis Facebook Page already has a Shop.
VIEWER_IS_NOT_PAGE_ADMINThe Page cannot be used because you are not a Page admin.
VIEWER_IS_NOT_BUSINESS_ADMINThe Page cannot be used because you are not an admin of the Business that owns the Page.
PAGE_ADDRESS_NOT_SUPPORTED_FOR_SHOPSFacebook Shops are currently not available in your region.
PAGE_ADDRESS_NOT_SUPPORTED_FOR_SHOPS_ONSITECheckout on Facebook or Instagram is currently not available in your region.

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About