Buyers
One buyer
Needs the buyers:read scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>id*stringFormat
uuidSuccess
application/json- response
id*stringFormat
uuidexternalId*string|nullcode*stringname*stringstatus*stringcompanyName*string|nullcontactName*string|nullcontactEmail*string|nullcontactPhone*string|nulltimezone*stringmodules*available*booleanconcurrencyCap*|nullapiAccess*booleanversion*stringcreatedAt*stringupdatedAt*stringcurl 'https://api.traki.io/v1/account/buyers/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "code": "string", "name": "string", "status": "string", "companyName": "string", "contactName": "string", "contactEmail": "string", "contactPhone": "string", "timezone": "string", "modules": { "calls": true, "leads": true }, "available": true, "concurrencyCap": -9007199254740991, "apiAccess": true, "version": "string", "createdAt": "string", "updatedAt": "string"}Create a buyer POST
Creates a buyer that can take traffic at once. Creation is silent: TRAKI sends no email and no portal invitation unless `invite` is given. `externalId`, the account’s own id, must be unique in the account (409 external_id_taken).
Change a buyer PATCH
Changes the fields sent and leaves the rest: name, contact, time zone, modules, concurrency cap, API access and the account’s own `externalId`. With `ifVersion`, a change based on an older version is refused.