Enhancements to Carrier Service API: Order Totals and Customer Tags

Enhancements to Carrier Service API: Order Totals and Customer Tags

Shopify Updates: 

What’s New with the Carrier Service API?

The Carrier Service API has been upgraded to provide more detailed data in its callback payload. This update includes new fields that help merchants calculate shipping rates more effectively by considering order totals and customer tags.

New Payload Fields Explained

  • subtotal_price: The total cost of items before discounts and taxes are applied.
  • total_price: The final amount payable after applying discounts and taxes.
  • discount_amount: The total value of discounts applied to the order.
  • customer id: A unique identifier for the customer making the purchase.
  • tags: Labels or tags associated with the customer, useful for segmentation and customized services.

How These Enhancements Benefit Your Store

These additional data points can help merchants and app developers:

  • Customize shipping rates based on order value, which can help you balance shipping costs and margins.
  • Tailor rates for specific customer segments by using tags, improving customer satisfaction and repeat business.
  • Implement more sophisticated shipping logic to enhance the overall shopping experience.

What Should You Do Next?

Ensure that your application or custom shipping logic makes use of these new fields. Review your existing shipping rate calculations and update them to leverage these improvements for a more tailored shipping experience.

For detailed implementation instructions, refer to the Carrier Service API documentation.

Back to blog