Skip to content

Notify all buyers of a digital product

POST/digital_products/{id}/notify_buyers

Costs 2 rate-limit points · Rate limits

Send the delivery / notification email to every buyer of a digital product, instead of calling POST /orders/{id}/notify once per order. Emails are sent in the background; the response returns the number of orders queued without waiting for delivery. Discarded orders are skipped.

Path parameters

  • idstringRequired

    The digital product ID

Headers

  • X-Auth-TokenstringRequired

    API key for authentication

Returns

  • digital_product_idstring
    Example: 3e84eb8d-e1d9-4e92-a4b2-a419c7f1122f
  • notified_countinteger

    Number of orders queued for notification

Errors

404

Resource not found

422

Validation failed

POST/digital_products/{id}/notify_buyers
curl -X POST "https://app.filemonk.io/api/v1/external/digital_products/{id}/notify_buyers" \
  -H "X-Auth-Token: $FILEMONK_API_KEY"
Response
{
  "digital_product_id": "3e84eb8d-e1d9-4e92-a4b2-a419c7f1122f",
  "notified_count": 1
}