What this endpoint does#
Queues a CSV job that changes premium-currency balances for members identified by Email.It is not the user bulk-update POST. Those jobs may not appear in list bulk update jobs. JSON data is not accepted here; the gateway requires a CSV file.This write can move money-like balances. Use a disposable member and an approved amount. Do not copy documentation examples against a live community.
Build CSV Email,Premium Currency with optional Premium Currency_op → POST /v1/users/bulk-update-premium-currency → inspect admin API logs until a public list exists for this job type.
Quick start#
CSV headers: Email, Premium Currency, optional Premium Currency_op (add, subtract, overwrite). Operator defaults to add when omitted.Authentication and permission#
Send Authorization: Bearer <COMMUNITY_API_KEY>. Required permission: bulkUpdateUser. Keep the key server-side.Complete examples#
No file (400). JSON {} returns { "status": "fail", "message": "A CSV file must be provided" }.Non-CSV upload (400). Uploaded file must be a CSV.Queued (200). Multipart CSV field data plus log_name returns:{
"status": "success",
"message": "Bulk update premium currency process is queued",
"data": {
"message": "Bulk update premium currency process is queued. You can check in Api Log ( community settings )"
}
}
There is no job id in this body. Treat emails as synthetic.Success and readback#
HTTP 200 means the CSV was accepted, not that balances applied. Confirm on an approved read path for that community. The public user bulk list filters bulk-update-users jobs. Do not assume premium-currency jobs appear there.If you send JSON data, expect A CSV file must be provided. Use multipart CSV.
Errors and recovery#
| Status | When | Recovery |
|---|
400 A CSV file must be provided | Missing file or JSON body | Send multipart CSV field data. |
400 Uploaded file must be a CSV | Wrong file type | Upload CSV. |
401 | Missing or invalid token | Add a valid community key with bulkUpdateUser. |
Retry safety#
Do not retry timeouts without checking whether a job already landed. Duplicate add rows change balances again. There is no idempotency key.
Gotchas#
Worker requires Email and Premium Currency.
Do not use bulk user CSV to create store products.
Next steps#
Bulk user updates
Use the user bulk POST when the row is profile, XP, coins, roles, or custom fields rather than premium currency.