Get customer by NIP
customer_by_nip
query customerByNip ($nip: String!) {
customers(where: {nip:{_eq:$nip}}) {
clientCode
id
nip
idNo
name
pesel
phone
regon
adresies {
buildingNo
city
community
country
id
isPrimary
isRegistered
localNo
locality
mpdNo
postalCode
street
voivodeship
}
}
}