API Reference

Purchases by Product

Get a list of the user's purchase details for a specific product code

To retrieve a list of a user's subscription purchases that is based on a product code, follow these steps:


1. Set the Request Details

  • URL: /marketplace/purchase/{productCode}

2. Add the Required Headers

HeaderValue
acceptapplication/json
x-api-keyYour API Key
AuthorizationGenerate Client Token

3. Prepare the Request Body

Request BodyDescriptionRequired
productCodeThe product code to fetch purchases forYes
inclCancelledbooleanYes
langThe two-letter ISO-639-1 language code - defaults to client's default languageYes

4. Make the Request

Once you've set the URL, headers, and body, send the POST request.

Language
URL
Click Try It! to start a request and see the response here!