Update Vendor Account Information

PUT https://api.torbox.app/v1/api/vendors/updateaccount

Overview

Updates the Vendor Name and/or the Vendor URL. Either is required for a successful request. Both can be given, but at least one is required for success. Returns the same data as Get Vendor Account , just with the newly updated data.

Authentication

This endpoint requires Bearer token authentication using your TorBox account API Key.

Request Body

[{"name"=>"vendor_name", "value"=>"string", "datatype"=>"string"}, {"name"=>"vendor_url", "value"=>"string", "datatype"=>"string"}]

HEADERS

| Key | Datatype | Required | Description |

RESPONSES

status: OK

{"success":true,"error":null,"detail":"Vendor account retrieved successfully.","data":{"vendor_id":0,"vendor_token":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","vendor_name":"string","vendor_email":"string","vendor_url":"string","vendor_status":"string","users_allowed":0,"current_users":0,"can_register_new":false,"account_type":"individual","paid_until":"%Y-%m-%d %H:%M:%S","created_at":"%Y-%m-%d %H:%M:%S","updated_at":"%Y-%m-%d %H:%M:%S"}}