Get a vendor
GET
Returns one vendor by its ID, including contact details, payment terms and whether it is active.
BearerAuthheader
AuthorizationBearer <JWT>id*stringID of the record (UUID).
Format
uuidX-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
*/*- response
status*stringOutcome of the call: SUCCESS when it worked, ERROR when it failed.
message*stringShort human-readable message describing the outcome, for example "Vendor created". Do not parse it.
data?The vendor record.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/procurement/vendors/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'X-TenantID: your-tenant-code'Example Response
{ "status": "string", "message": "string", "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "vendorCode": "string", "vendorName": "string", "contactName": "string", "contactEmail": "string", "contactPhone": "string", "address": "string", "paymentTermsDays": 0, "isActive": true, "notes": "string", "createdAt": "2019-08-24T14:15:22Z" }}