Digistore24

App · 20 actions

Read products, buyers, orders, transactions, payouts and sales settings.

Actions

ActionWhat it does
Get buyer detailsReturns a buyer's data record including address information
Get current user informationReturns data about the current user (the owner of the API key)
Get order form detailsReturns details of an order form
Get product detailsReturns details of a Digistore24 product
Get purchase detailsReturns details for one or more orders
Get voucher detailsReturns details about a specific voucher code
List all smart upgradesReturns a list of all smart upgrades that you have set up in Digistore24
List available countriesReturns a list of countries that are set up in Digistore24, with their two-digit ISO country codes
List available currenciesReturns a list of currencies that can be used when selling via Digistore24
List buyersReturns a paginated list of your Digistore24 buyers
List order formsLists your order forms
List order invoicesReturns a list of invoices for a specific purchase
List payment plansReturns a list of payment plans created for a product on Digistore24
List payoutsReturns a list of your credit notes as a vendor and affiliate on Digistore24
List product groupsReturns a list of your product groups
List productsReturns a list of your Digistore24 products
List purchasesReturns a list of your sales, including those where you get a commission (e.g. joint ventures)
List transactions (payments, returns, chargebacks)Returns a list of transactions where you get a commission for.
List upgrades created in Digistore24Lists all upgrades that you have created in Digistore24
List voucher codesReturns a list of all voucher codes

Get buyer details

Returns a buyer's data record including address information

Inputs

Buyer IDbuyer_idnumberRequired
ID of the buyer to retrieve

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "buyer": {
      "address_id": 1,
      "city": "example",
      "company": "example",
      "country": "example",
      "created_at": "example",
      "email": "example",
      "first_name": "example",
      "id": 1,
      "last_name": "example",
      "phone_no": "example",
      "salutation": "example",
      "state": "example",
      "street": "example",
      "street_name": "example",
      "street_number": "example",
      "title": "example",
      "zipcode": "example"
    }
  }
}

Get current user information

Returns data about the current user (the owner of the API key)

Inputs

None.

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "granted_roles": "example",
    "granted_roles_msg": "example",
    "user_id": 1,
    "user_name": "example"
  }
}

Get order form details

Returns details of an order form

Inputs

Orderform IDorderform_idnumberRequired
ID of the order form to retrieve

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "orderform": {}
  }
}

Get product details

Returns details of a Digistore24 product

Inputs

Productproduct_idnumberRequired
Numeric ID of the product to retrieve

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "product": {}
  }
}

Get purchase details

Returns details for one or more orders

Inputs

Purchase IDpurchase_idtextRequired
Single Digistore24 order ID or comma-separated list of order IDs

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": null
}

Get voucher details

Returns details about a specific voucher code

Inputs

CodecodetextRequired
The voucher code that the buyer enters on the order form

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "coupon": {
      "code": "example",
      "count_left": 1,
      "currency": "example",
      "expires_at": "example",
      "first_amount": 1.0,
      "first_rate": 1.0,
      "id": 1,
      "is_count_limited": "Y",
      "other_amounts": 1.0,
      "other_rates": 1.0,
      "product_ids": "example",
      "upgrade_policy": "example",
      "valid_until": "example"
    }
  }
}

List all smart upgrades

Returns a list of all smart upgrades that you have set up in Digistore24

Inputs

None.

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "smartupgrades": []
  }
}

List available countries

Returns a list of countries that are set up in Digistore24, with their two-digit ISO country codes

Inputs

None.

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {}
}

List available currencies

Returns a list of currencies that can be used when selling via Digistore24

Inputs

Convert toconvert_totext
Optional list of currencies to get exchange rates for (e.g. "EUR", "EUR,USD,CHF", or "all")

Outputs

datalist
The response from Digistore24.
Example output
{
  "data": []
}

List buyers

Returns a paginated list of your Digistore24 buyers

Inputs

Page nopage_nonumber
Page number for pagination (starts at 1)At least 1.
Page sizepage_sizenumber
Number of buyers per pageAt least 1.

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "item_count": 1,
    "items": [],
    "page_count": 1,
    "page_no": 1,
    "page_size": 1
  }
}

List order forms

Lists your order forms

Inputs

None.

Outputs

datalist
The response from Digistore24.
Example output
{
  "data": []
}

List order invoices

Returns a list of invoices for a specific purchase

Inputs

Purchase IDpurchase_idtextRequired
The ID of the purchase. Must belong to the Digistore account associated with the API key, unless the key has cross-account read access (class `network`).

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "invoice_list": [],
    "purchase_id": "example"
  }
}

List payment plans

Returns a list of payment plans created for a product on Digistore24

Inputs

Productproduct_idnumberRequired
The Digistore24 product ID

Outputs

datalist
The response from Digistore24.
Example output
{
  "data": []
}

List payouts

Returns a list of your credit notes as a vendor and affiliate on Digistore24

Inputs

None.

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "payout_list": []
  }
}

List product groups

Returns a list of your product groups

Inputs

None.

Outputs

datalist
The response from Digistore24.
Example output
{
  "data": []
}

List products

Returns a list of your Digistore24 products

Inputs

Sort bysort_bytext
Sort products by name or product groupOne of: name, group.
Show deletedshow_deletedtext
Include deleted products. By default deleted products are left out of the response. Set to `Y` to include them; each product's `is_deleted` field tells them apart. Accepts `Y`/`N`, `1`/`0` and `true`/`false` (case-insensitive); other values return an error.One of: Y, N.

Outputs

datalist
The response from Digistore24.
Example output
{
  "data": []
}

List purchases

Returns a list of your sales, including those where you get a commission (e.g. joint ventures)

Inputs

Start timestart_timedate and time
Start time for purchase list (e.g. "2014-02-28 23:11:24", "now", "-3d", "start")
End timeend_timedate and time
End time for purchase list
Sort bysort_bytext
Sort criteriaOne of: date, earning, amount.
Sort ordersort_ordertext
Sort orderOne of: asc, desc.
Load transactionsload_transactionstrue/false
Include transaction list for each purchase
Page nopage_nonumber
Page number (starts at 1)At least 1.
Page sizepage_sizenumber
Number of items per pageAt least 1.

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "purchase_list": []
  }
}

List transactions (payments, returns, chargebacks)

Returns a list of transactions where you get a commission for. This includes payments, refunds and chargebacks from joint venture sales.

Inputs

Start timestart_timedate and time
Point of time to filter transaction creation date from. Examples: - "2014-02-28 23:11:24" - "2021-10-08T07:20:11-05:00" (ISO 8601) - "now" for current time - "-3d" for 3 days ago - "start" for first available date
End timeend_timedate and time
Point of time to filter transaction creation date to
Sort bysort_bytext
Field to sort results byOne of: date, earning, amount.
Sort ordersort_ordertext
Sort directionOne of: asc, desc.
Page nopage_nonumber
Page number (starts at 1)At least 1.
Page sizepage_sizenumber
Number of entries per pageFrom 1 to 1000.

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "from": "example",
    "page_count": 1,
    "page_no": 1,
    "page_size": 1,
    "summary": {
      "amounts": {},
      "count": 1
    },
    "to": "example",
    "transaction_list": []
  }
}

List upgrades created in Digistore24

Lists all upgrades that you have created in Digistore24

Inputs

None.

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "upgrades": []
  }
}

List voucher codes

Returns a list of all voucher codes

Inputs

None.

Outputs

dataobject
The response from Digistore24.
Example output
{
  "data": {
    "are_returned_data_public": "Y",
    "coupons": []
  }
}

On this page