> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Dpd2

> DPD is a digital product delivery platform for selling ebooks, software, music, and other digital goods.

![Dpd2 logo](https://mintcdn.com/composio-preview/VNLruGH5mLZqXdPH/images/toolkits/dpd2.svg?fit=max\&auto=format\&n=VNLruGH5mLZqXdPH\&q=85\&s=320026f4c1753a32e3d8752817fe0792)

* **Category:** ecommerce
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 8
* **Triggers:** 0
* **Slug:** `DPD2`
* **Version:** 20261101\_00

## Tools

> [accordion] Get Storefront
>
> **Slug:** `DPD2_GET_STOREFRONT`
>
> Retrieves detailed information about a specific DPD storefront by its ID. Returns storefront configuration including name, URL, contact details, currency, type, and subdomain. Use this after obtaining a storefront ID from DPD2\_LIST\_STOREFRONTS or when you need to fetch current metadata for a known storefront.
>
> #### Input Parameters
>
> **id** `integer` *required*
>
> The numeric storefront ID to retrieve. Obtain this from DPD2\_LIST\_STOREFRONTS or use a known storefront ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List DPD Customers (Filtered)
>
> **Slug:** `DPD2_LIST_CUSTOMERS2`
>
> Lists DPD customers with filters for email, name, product purchases, newsletter subscription status, and creation date. Email and name filters use case-insensitive prefix matching.
>
> #### Input Parameters
>
> **page** `integer`
>
> Page number for paginated results (starts at 1).
>
> **email** `string`
>
> Customer email (startswith match, not case sensitive). Use to find customers by email prefix.
>
> **date\_max** `string`
>
> Customer created before this date (PHP strtotime format, e.g., 'YYYY-MM-DD', '1 week ago', 'yesterday'). Use to filter customers created before a specific date.
>
> **date\_min** `string`
>
> Customer created after this date (PHP strtotime format, e.g., 'YYYY-MM-DD', '2 weeks ago', 'last Monday'). Use to filter customers created after a specific date.
>
> **per\_page** `integer`
>
> Number of customers to return per page (max 100).
>
> **last\_name** `string`
>
> Customer last name (startswith match). Use to find customers by last name prefix.
>
> **first\_name** `string`
>
> Customer first name (startswith match). Use to find customers by first name prefix.
>
> **product\_id** `integer`
>
> Product ID that the customer has purchased. Use to find customers who bought a specific product.
>
> **receives\_newsletters** `boolean`
>
> Whether customer receives email from product updates. Use true to find subscribed customers, false for unsubscribed.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List DPD Purchases
>
> **Slug:** `DPD2_LIST_PURCHASES`
>
> Lists purchase records in a DPD account for reporting or analysis. A page number and optional date parameters can be supplied; DPD limits collection pages to 100 records. An HTTP 404 is returned as an empty purchase list.
>
> #### Input Parameters
>
> **page** `integer`
>
> Page number for results pagination (default 1)
>
> **limit** `integer`
>
> Number of purchases to return (max 1000)
>
> **since** `string`
>
> Only include purchases made on or after this date (YYYY-MM-DD)
>
> **until** `string`
>
> Only include purchases made on or before this date (YYYY-MM-DD)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Storefronts
>
> **Slug:** `DPD2_LIST_STOREFRONTS`
>
> Lists storefronts in your DPD account. The request does not expose pagination, so a complete list is not guaranteed.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Subscribers
>
> **Slug:** `DPD2_LIST_SUBSCRIBERS`
>
> Lists subscribers for a specified DPD storefront. A page number and optional filter parameters can be supplied; DPD limits collection pages to 100 records. An HTTP 404 is returned as an empty subscriber list.
>
> #### Input Parameters
>
> **page** `integer`
>
> Page number to retrieve (>=1).
>
> **email** `string`
>
> Filter by subscriber email address.
>
> **since** `string`
>
> Only return subscribers added or updated since this ISO8601 timestamp.
>
> **filter** `string`
>
> Additional filter expression.
>
> **per\_page** `integer`
>
> Number of subscribers per page.
>
> **storefront\_id** `string` *required*
>
> Storefront ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] DPD: Ping API
>
> **Slug:** `DPD2_PING`
>
> Tool to ping the API to check its status. Use when verifying API connectivity before further operations.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Verify DPD IPN Notification
>
> **Slug:** `DPD2_VERIFY_NOTIFICATION2`
>
> Verifies a DPD URL-integration notification using the supported notification fields. DPD requires all originally posted parameters, but this tool accepts only a fixed set of fields, so it cannot submit notifications containing other parameters in full.
>
> #### Input Parameters
>
> **tax** `string`
>
> Total tax amount
>
> **txn\_id** `string` *required*
>
> Unique identifier for the purchase/transaction
>
> **discount** `string`
>
> The discount (coupon) amount applied to the order
>
> **mc\_gross** `string`
>
> Total amount of payment
>
> **coupon\_code** `string`
>
> The coupon code used on the order, if any
>
> **mc\_currency** `string`
>
> Currency of the total amount
>
> **mc\_shipping** `string`
>
> Total shipping cost
>
> **verify\_sign** `string`
>
> Verification signature from the original notification
>
> **shipping\_method** `string`
>
> Shipping method used
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Verify Subscriber
>
> **Slug:** `DPD2_VERIFY_SUBSCRIBER`
>
> Tool to verify a subscriber's subscription status. Use when you need to check if a subscriber is active and receiving service. Either username (email) or subscriber ID must be provided.
>
> #### Input Parameters
>
> **id** `integer`
>
> Subscriber ID. Either username or subscriber\_id must be provided.
>
> **username** `string`
>
> Username (the subscriber's email address). Either username or subscriber\_id must be provided.
>
> **storefront\_id** `integer` *required*
>
> The numeric storefront ID.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
