List by numer dowodu
customer_by_idNo
query customerByIdNo ($idNo: String!) {
customers(where: {idNo:{_eq:$idNo}}) {
clientCode
id
idNo
name
fName
lName
nip
pesel
phone
regon
adresies(where: {isPrimary:{_eq:true}}) {
buildingNo
city
community
country
id
isPrimary
localNo
locality
postalCode
street
voivodeship
mpdNo
isRegistered
}
contact_data(where: {isPrimary:{_eq:true}}) {
fName
lName
phone1
email
}
}
}