API Reference

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

Log in to see full request history

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
AuthorizationYour User Id

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.

Path Params
string
required

The product code to fetch purchases for

Query Params
boolean
Defaults to false

Whether or not cancelled subscriptions should be included in the response

string
Defaults to en

The two-letter ISO-639-1 language code - defaults to client's default language

Headers
string
Responses

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json