Out of the box, it’s not possible to offer shipping rates depending on products in the cart.
With our custom shipping methods, you can configure shipping rates depending on the location of the customer, the total weight of the order, or when the order total, please refer to this part of the docs.
If you need more flexibility, then we suggest you use our Webhooks Shipping API documented here. This option requires some coding, but it’s very powerful and can accomodate almost any use cases.