Tag Api

how to Product tags api get all tags ?

You can get the first 250 from the shop resource:

{
  shop {
    productTags(first: 250) {
      edges {
        node
      }
    }
  }
}

If you need more than 250 I would suggest using bulk operations on product, but maybe there is another better way I don’t know about

mutation {
    bulkOperationRunQuery(
      query: """
      {
        products {
          edges {
            node {
              tags
            }
          }
        }
      }
      """
    ) {
      bulkOperation {
        id
        status
      }
      userErrors {
        field
        message
      }
    }
  }