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

/2.0/user/history

Send the customer an order history and license recovery email

A customer may wish to have their past purchases or license details confirmed. For example, when they have changed computers. This API will send an email to the customer detailing this.

The order history and license recovery email can be triggered to a customer via this API, or using the Paddle.js code snippet outlined below:

// Enter the product_id in the second parameter to additionally filter the email response to specific 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.
  }
});

Usage Notes

  • The API will always return a success response for all valid email addresses, even if they have not had any orders previously (buyers will receive an email stating that no orders were found).

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.