For a specific business, fetches the first page of product/service data.

Retrieve the first 50 records. See Pagination for an explanation of page and pageSize.

Operation
query ($businessId: ID!, $page: Int!, $pageSize: Int!) {
  business(id: $businessId) {
    id
    products(page: $page, pageSize: $pageSize) {
      pageInfo {
        currentPage
        totalPages
        totalCount
      }
      edges {
        node {
          id
          name
          description
          unitPrice
          defaultSalesTaxes {
            id
            name
            abbreviation
            rate
          }
          isSold
          isBought
          isArchived
          createdAt
          modifiedAt
        }
      }
    }
  }
}
Operation Variables
{
  "businessId": "<BUSINESS_ID>",
  "page": 1,
  "pageSize": 50
}
Updated: