Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have a development store: carrierservicetesting.myshopify.com
I have enabled a carrierService, and I have double checked that it's active. I created it using the GraphQL API, and if I request carrier services, I receive it, so I know it's there. This is what I get from the API:
[ { active: true, callbackUrl: 'https://script.google.com/macros/s/AKfycbz8MLwNANhEpdEMSLeMSZh_XfxXhdHzmmNHSSzh-CLTwx9tH7bAxdOv3ahys...', formattedName: 'CustomCarrierService (Rates provided by app)', id: 'gid://shopify/DeliveryCarrierService/91631419672', name: 'CustomCarrierService', supportsServiceDiscovery: true } ]
My setup is a Google Apps Script that receives the request and returns the response (happy to share more details if needed).
I have tried sending a request through Postman, and I receive the correct response: a 200OK with the following:
For anyone else with the same issue, it seems to be that Google Apps Scripts returns a redirect to the Shopify call for some reason. I implemented the same functionality using Cloudflare Workers, which does require some set up on Google Cloud but anyways, it worked out in the end. So in short, it seems you can't use Google Apps Scripts for this.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025