Files
Krow-workspace/legacy/dataconnect-v1/connector/vendor/queries.gql
2026-03-18 15:04:18 +01:00

105 lines
1.4 KiB
GraphQL

query getVendorById($id: UUID!) @auth(level: USER) {
vendor(id: $id) {
id
userId
companyName
email
phone
photoUrl
address
placeId
latitude
longitude
street
country
zipCode
billingAddress
timezone
legalName
doingBusinessAs
region
state
city
serviceSpecialty
approvalStatus
isActive
markup
fee
csat
tier
createdAt
updatedAt
createdBy
}
}
query getVendorByUserId($userId: String!) @auth(level: USER) {
vendors(where: { userId: { eq: $userId } }) {
id
userId
companyName
email
phone
photoUrl
address
placeId
latitude
longitude
street
country
zipCode
billingAddress
timezone
legalName
doingBusinessAs
region
state
city
serviceSpecialty
approvalStatus
isActive
markup
fee
csat
tier
createdAt
updatedAt
createdBy
}
}
query listVendors @auth(level: USER) {
vendors {
id
userId
companyName
email
phone
photoUrl
address
placeId
latitude
longitude
street
country
zipCode
billingAddress
timezone
legalName
doingBusinessAs
region
state
city
serviceSpecialty
approvalStatus
isActive
markup
fee
csat
tier
createdAt
updatedAt
createdBy
}
}