How to add a custom shipping method programmatically?

I'm trying to develop a Shopify app extension currently which will just: Add a custom shipping method for a store If an order is placed with this shipping method, notify me by email Does anyone know which APIs I need to take a look at in order to do this? I have tried the CarrierService API, but I don't see the CarrierService when checking out a product. Thanks in advance.

Comment (1)

Jese Leos

August 19, 2024

Verified user

You will need the following API's: Shopify Admin API (Create the custom shipping method) Script Tag API (Custom JS into the store checkout) Webhooks (listen for order/create event) Use sendgrid or manual SMTP for the emails Create a custom app using the Shopify Admin API, implement custom shipping, then make a webhook for the order event, send email.

You’ll be in good company