Duplicate a brokerage.
POST
/api/brokerages/{id}/duplicate
const url = 'https://api.tradr.cloud/api/brokerages/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/duplicate';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.tradr.cloud/api/brokerages/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/duplicateAuthed. Copies a brokerage and its whole fee schedule under a new name, which is how you take a system brokerage as the starting point for your own rates. The copy belongs to the user and is fully editable.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “ Responses ”The new copy.
No such brokerage for this user.
The generated name collides with an existing brokerage.