Edit a drop
Changes a drop's name, description, price or who can buy it — the same edit the dashboard allows. Send only what changes; `null` clears name or description.
/api/external/drops/{id}NewChanges a drop's name, description, price or who can buy it — the same edit the dashboard allows. Send only what changes; null clears name or description.
Price is USD dollars: 0 (free) or between $5 and $750; a new price applies to future purchases only. Subscriber gating (SUBS_FREE, SUBS_ONLY_PAID) needs an active subscription tier. Name and description run the prohibited-word filter. The media of a drop cannot change — create a new drop instead.
Authentication
Send the creator's API key as a bearer token: Authorization: Bearer dpfn_…. See Authentication & API keys.
An agency's own key can call this for a creator it manages by adding X-Dropfans-Account: <account id> (needs canManageDrops). See Agencies.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Required | The product (drop) id. |
Request body
Content type: application/json
| Name | Type | Required | Description |
|---|---|---|---|
name | string | null | Optional | Drop title, shown at checkout (cut at 200 characters). Max length: 200 |
description | string | null | Optional | Drop description (cut at 5,000 characters). Unlike create-drop, this one is stored. Max length: 5000 |
price | number | Optional | USD dollars. 0 = free; otherwise $5–$750. Rounded to cents. Min: 0 Max: 750 |
accessMode | string | Optional | OPEN = anyone can buy; SUBS_FREE = free for subscribers; SUBS_ONLY_PAID = only subscribers can buy.One of: OPEN, SUBS_FREE, SUBS_ONLY_PAID |
{
"name": "Beach set — 8 photos",
"price": 30
}Responses
| Name | Type | Description |
|---|---|---|
id | string | The product (drop) id. |
name | string | null | Drop title. |
description | string | null | Drop description. |
price | number | USD **dollars**. 0 means free. |
accessMode | string | Who can buy. One of: OPEN, SUBS_FREE, SUBS_ONLY_PAID |
moderationStatus | string | Same value as status.One of: PENDING, APPROVED, REJECTED, FLAGGED |
currency | string | Always "USD". One of: USD |
status | string | The drop’s moderation status. One of: PENDING, APPROVED, REJECTED, FLAGGED |
buyUrl | string | The web checkout page. Format: uri |
{
"id": "clxdr0p000001prod",
"name": "Beach set — 8 photos",
"description": null,
"price": 30,
"accessMode": "OPEN",
"moderationStatus": "APPROVED",
"currency": "USD",
"status": "APPROVED",
"buyUrl": "https://www.dropfans.io/buy/clxdr0p000001prod"
}Errors
| Status | Body | When |
|---|---|---|
| 400 | {"error":"price must be a number in USD (0 = free)"} | `price` not a number or negative. |
| 400 | {"error":"The minimum price is $5. Set the price to free or at least $5."} | Priced above 0 but below $5. |
| 400 | {"error":"The maximum price on Dropfans is $750. To request an increase, contact [email protected]."} | Priced above $750. |
| 400 | {"error":"accessMode must be one of OPEN, SUBS_FREE, SUBS_ONLY_PAID"} | Unknown accessMode. |
| 400 | {"error":"Configure an active subscription tier before gating drops to subscribers.","code":"no_active_tier"} | Subscriber gating without an active tier. |
| 400 | {"error":"name must be a string"} | `name` or `description` is not a string or null. |
| 400 | {"error":"Field \"name\" contains a prohibited word: \"…\"","field":"name"} | Name or description tripped the word filter. |
| 400 | {"error":"Invalid JSON body"} | The body is not valid JSON. |
| 401 | {"error":"Unauthorized","code":"unauthorized"} | Missing or invalid API key. |
| 404 | {"error":"Drop not found"} | No such drop on this account (another creator’s drop also 404s). |
| 400 | {"error":"X-Dropfans-Account must be an account id (from GET /api/external/agency/creators), not a username.","code":"invalid_account_header"} | `X-Dropfans-Account` is not an account id. |
| 403 | {"error":"This key cannot act for that account.","code":"account_not_managed"} | `X-Dropfans-Account` names an account this key cannot act for: not an agency’s own key, no ACCEPTED management, or the agency or account is suspended, banned or deleted (an unknown id gets the same answer). |
| 403 | {"error":"The agency does not have permission for this on that account.","code":"permission_denied","permission":"canManageDrops"} | With `X-Dropfans-Account`: the agency lacks `canManageDrops` on that account. |
Rate limiting
Every response carries the X-RateLimit-Tier header and, on limited tiers, the per-minute and per-day trios — read X-RateLimit-Remaining and X-RateLimit-Reset instead of hardcoding limits. Details in Rate limits.
Code samples
curl -X PATCH "https://www.dropfans.io/api/external/drops/$PRODUCT_ID" \
-H "Authorization: Bearer $DROPFANS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Beach set — 8 photos",
"price": 30
}'const productId = '…'; // from an earlier response
const res = await fetch(`https://www.dropfans.io/api/external/drops/${productId}`, {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.DROPFANS_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "Beach set — 8 photos",
"price": 30
}),
});
console.log(await res.json());import os
import requests
product_id = "…" # from an earlier response
res = requests.patch(
f"https://www.dropfans.io/api/external/drops/{product_id}",
headers={"Authorization": f"Bearer {os.environ['DROPFANS_API_KEY']}"},
json={
"name": "Beach set — 8 photos",
"price": 30,
},
)
print(res.json())Questions? [email protected]
