docs/content/rest/apps/marketplace.md

1.5 KiB

title allowTitleToDifferFromFilename shortTitle intro topics versions autogenerated
REST API endpoints for {% data variables.product.prodname_marketplace %} true Marketplace Use the REST API to interact with {% data variables.product.prodname_marketplace %}
API
fpt ghec
* *
rest

About {% data variables.product.prodname_marketplace %}

For more information about {% data variables.product.prodname_marketplace %}, see "AUTOTITLE."

These endpoints allow you to see which customers are using a pricing plan, see a customer's purchases, and see if an account has an active subscription.

Testing with stubbed endpoints

You can test your {% data variables.product.prodname_github_app %} with stubbed data. Stubbed data is hard-coded, fake data that will not change based on actual subscriptions.

To test with stubbed data, use a stubbed endpoint in place of its production counterpart. This allows you to test whether the API logic succeeds before listing {% data variables.product.prodname_github_apps %} on {% data variables.product.prodname_marketplace %}.

Make sure to replace stubbed endpoints with production endpoints before deploying your {% data variables.product.prodname_github_app %}.