GET
/api/items/{id}/versionscurl https://sellmycode.net/api/items/123/versions \
-H "Authorization: Bearer YOUR_API_KEY"
{
"status": "success",
"item": { "id": 123, "name": "My Item", "state": "live", "version": "2.4.0",
"regular_price": 29, "extended_price": 0, "review_required": true },
"pending_update": { "id": 845, "version": "2.4.1", "main_file_changed": true,
"submitted_at": "2026-10-24T08:00:00Z" },
"pending_price_confirmation": null,
"history": [ { "title": "Update Submission", "note": "API upload (token \"ci\") β main_file, version", "at": "2026-10-24T08:00:00Z" } ],
"changelogs": [ { "version": "2.4.0", "body": "β¦", "at": "2026-10-01T09:00:00Z" } ]
}
Poll it after a release: the update is live when pending_update is null and the newest history entry is "Update Approved" β or "Update Rejected" with the reason in note. Or skip polling: subscribe a webhook to item.update_approved and item.update_rejected.
Developers