A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I created storefront using reactJS.And i wanted to add shipping rate based on selected option on cart page.
I added 3 options on cart page.
1. "Ship to address"- the Standard shipping price will be ($20)
2. "Store Pickup"- the Standard shipping price will be ($10)
3. "Local delivery"- the Standard shipping price will be ($5)
So based on selected option the Shipping Method will visible any one as bellowStandard Shipping($20) / Standard Shipping($10) / Standard Shipping($5)
Please suggest which Rest API or GraphQL will solve the problem.
You can use checkout "delivery customizations" for hiding/showing delivery methods https://shopify.dev/docs/apps/checkout/delivery-customizations/getting-started