Get a service
GET/api/v1/services/{id}
- Needs an API key, and runs with the access of the member who made the key.
- A connected AI assistant can use it too, as
getService.
Parameters
In the address
idstring (uuid)required
Responses
200Service details.
dataobjectrequiredFields(12)
lock_versionintegerAt least 0.
created_atstring (date-time)requiredupdated_atstring (date-time)requiredidstring (uuid)requiredaccount_idstring (uuid)requirednamestringrequireddescriptionstring or nullunit_namestringrequiredunit_price_centsinteger (int64)requiredInteger minor currency units, such as pence.
At least 0.
tax_rate_basis_pointsintegerrequiredAt least 0. At most 10000.
tax_inclusivebooleanrequiredactivebooleanrequired
A refusal answers in the one error shape every operation shares.
Example
A request our own tests send. The ids are made up: put your own in their place.
curl "https://app.tradesender.co.uk/api/v1/services/b4ccc05f-b1ed-5dcd-bede-4479c3500345" \ -H "Authorization: Bearer $TRADESENDER_KEY"