A carrier service (also known as a carrier calculated service or shipping service) provides real-time shipping rates to Shopify. Some common carrier services include Canada Post, FedEx, UPS, and USPS. The term carrier is often used interchangeably with the terms shipping company and rate provider.
Using the CarrierService resource, you can add a carrier service to a shop and then provide a list of applicable shipping rates at checkout. You can even use the cart data to adjust shipping rates and offer shipping discounts based on what is in the customer's cart.
Requirements for accessing the CarrierService resource
To access the CarrierService resource, add the
write_shipping permission to your app's requested scopes. For more information, see API access scopes.
Your app's request to create a carrier service will fail unless the store installing your carrier service meets one of the following requirements:
- It is on the Advanced Shopify plan or higher.
- Its Shopify plan is paid annually.
- It is a development store.