wave-api 0.1.0

Typed Rust client for the Wave Accounting GraphQL API
Documentation
# Query: Get customer by id

Fetches a customer's data given an `id` using [GraphQL Variables](360024906591).

Replace `<BUSINESS_ID>` with a real business id and `<CUSTOMER_ID>` with a real customer id.

Operation
:   ```graphql
    query ($businessId: ID!, $customerId: ID!) {
      business(id: $businessId) {
        id
        customer(id: $customerId) {
          id
          name
          firstName
          lastName
          email
          mobile
          phone
          fax
          tollFree
          website
          address {
            addressLine1
            addressLine2
            city
            province {
              code
              name
            }
            country {
              code
              name
            }
            postalCode
          }
          shippingDetails {
            name
            phone
            instructions
            address {
              addressLine1
              addressLine2
              city
              province {
                code
                name
              }
              country {
                code
                name
              }
              postalCode
            }
          }
          currency {
            code
            name
            symbol
          }
          createdAt
          modifiedAt
          overdueAmount {
          	raw
            value
          }
          outstandingAmount {
          	raw
            value
          }
        }
      }
    }
    ```

Operation Variables
:   ```graphql
    {
      "businessId": "<BUSINESS_ID>",
      "customerId": "<CUSTOMER_ID>"
    }
    ```