Cleanse an address
Address Cleanser
const bodyJSON = {
variables: {
input: {
street: "33 effingham st, sth launceston 7249",
country: "AU",
},
},
query: `
fragment AddressParts on Address { building streetNo street suburb state postcode country }
mutation ($input: AddressInput!) {
cleanseAddress(input: $input) {
success
code
message
addressRequest {
id
originalAddress { ...AddressParts }
cleansedAddress { ...AddressParts }
recommendation
score
}
}
}`,
};Field
Description
Code
Meaning
Last updated
Was this helpful?