How do I change the URL of my custom third party shipping rate PHP script?

Hi there. Around 4 years ago I set up my own third party shipping rate PHP script on a store. It works perfectly, but the domain on which it is hosted has changed. How can I change that domain?

To change the domain for your third party shipping rate PHP script, you need to follow these steps:

  1. Update the URL of your script in the code to the new domain name
  2. Update any references to the old domain name in your database
  3. Update any links on your website or in any external systems that use the old domain name
  4. Test the script on the new domain to ensure it works properly.
  5. If using SSL certificate, make sure to update or re-issue the certificate for the new domain.

Thanks for the reply - but I still don’t know how to tell Shopify the URL has changed. How do I do that?

Wait, I’m showing you.

The answer was that I had to do it via the API (just like how I originally created this CarrierService). Details are in the CarrierService documentation under “Modify an existing CarrierService”