How do I get a response from the API team?

murraymurray Member Posts: 14

On the weekend I posted a question to the API team, I got a request number 1203275 and a response saying it had been received. But then nothing.
It's now Friday and I've had no response.

Is this typical?

What is the best way of getting in touch with the API team?

Somebody please give me some feedback here.

Tagged:

Comments

  • murraymurray Member Posts: 14

    It's always a bit sad when you have to respond to your own posts...

    ANSWER: I did manage to get a response by messaging one of the staff directly. Just browse through the community forum and you will see various staff responses. You can click on their name and then message them directly.

    The response was very helpful, exactly what I needed to know.

    For those reading this message in the future, this was the time of the Covid-19 pandemic and staff are working from home, businesses are stretched to maintain response times, and we all just need to be kind and patient.

  • RobVGRobVG Administrator Posts: 38 admin

    Hi @murray,

    Happy to hear you have an answer, sorry for the delay again.

    For those wondering, the question was in regards to how to specify the province input of an address when creating a customer. Wave follows the ISO_3166-2 standard and exposes the choices over the API too.

    Query:

    query ValidProvinceChoices ($countryCode: CountryCode!) {
      country(code: $countryCode) {
        name
        provinces {
          code
          name
        }
      }
    }
    

    Variables:

    {
      "countryCode": "AU"
    }
    

    Response:

    {
      "data": {
        "country": {
          "name": "Australia",
          "provinces": [
            {
              "code": "AU-ACT",
              "name": "Australian Capital Territory"
            },
            {
              "code": "AU-NSW",
              "name": "New South Wales"
            },
            {
              "code": "AU-NT",
              "name": "Northern Territory"
            },
            {
              "code": "AU-QLD",
              "name": "Queensland"
            },
            {
              "code": "AU-SA",
              "name": "South Australia"
            },
            {
              "code": "AU-TAS",
              "name": "Tasmania"
            },
            {
              "code": "AU-VIC",
              "name": "Victoria"
            },
            {
              "code": "AU-WA",
              "name": "Western Australia"
            }
          ]
        }
      }
    }
    

    The province's code is the value to provide into provinceCode of AddressInput.

    edited May 19, 2020
Sign In or Register to comment.