You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
shippingMethodsQuery
Portion of the GraphQL query used in the getShippingMethods API endpoint
shippingMethodsQuery = "\n query shippingMethods(
$acceptLanguage: [Locale!],
$cartId: String!
) {\n shippingMethods: shippingMethodsByCart(id: $cartId) {\n ...DefaultShippingMethod\n }\n }\n"