Order Details
Prices
Coupons
Products
Licenses
Pay Links
Transactions
Payments
Plans
Users
Modifiers
Payments
One-off Charges
Webhooks
get

/2.0/user/history

Retrieve customer purchase or license history

A user may wish to have their purchases or license details confirmed. When they’ve changed machine, for example.

The order history and license recovery email can be triggered to a user via the checkout API or using a Paddle.js snippet as outlined below.

// Set the 2nd parameter to a product_id to additionally filter the response by product.
Paddle.User.History(email, null, function(response) {					
  if(response.success) {
    // Let the user know they'll receive an email with their 
    // order history and license codes if their email was matched.
  } else {
    // Likely a formatting error in the email, vendorID, or ProductID.
  }
});

Request Parameters

3 Query Parameters

Responses

Schema
object
or
object

An unsuccessful call to the Dashboard API will return a 200 response containing a field success set to false and an error object.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.