Identity__vendor
Returns a single vendor/supplier by ID or filter. Requires a signed-in staff user. Needs the `identity__Vendor` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
identity__vendor(where: CommonFindDocumentDto!): Vendor!Returns a single vendor/supplier by ID or filter. Requires a signed-in staff user. Needs the identity__Vendor read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
- identity__vendor
_id*ID!address?commits?createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
description?Stringemail?StringisActive?BooleanlastLoginAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
logo?name*String!phoneNumber?Stringtenant?StringupdatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
query Identity__vendor($where: CommonFindDocumentDto!) { identity__vendor(where: $where) { _id address { caption lat lng } commits { action commitedBy { email name phoneNumber referenceId } committedAt note } createdAt description email isActive lastLoginAt name phoneNumber }}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "identity__vendor": { "_id": "1", "address": { "caption": "string", "lat": 10.5, "lng": 10.5 }, "commits": [ { "action": "string", "commitedBy": { "email": "string", "name": "string", "phoneNumber": "string", "referenceId": "1" }, "committedAt": "<DateTime>", "note": "string" } ], "createdAt": "<DateTime>", "description": "string", "email": "string", "isActive": true, "lastLoginAt": "<DateTime>", "name": "string", "phoneNumber": "string" } }}Identity__users QUERY
Requires a signed-in staff user. Needs the `identity__User` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Identity__vendors QUERY
Returns all vendors/suppliers for the tenant. Requires a signed-in staff user. Needs the `identity__Vendor` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).