How to Identify Users who Purchased from AWS Marketplace
We will use the SAASUS AWS MARKETPLACE API.
Use the endpoint named GetCustomers. Please refer to the document for details on the specification.
Flow till Judgment
- Set the tenant_id obtained by getUserInfo as the parameter tenant_ids for GetCustomers and execute.
- Check whether the return value is empty.
- If not empty, you can determine it is a user who purchased from AWS Marketplace.