[API] Carrier Service Callback

Highlighted
New Member
1 0 0

Hello, i'm using the Shopify API from our store to return the Carrier Services for the checkout cart, we order carriers according to date, but shopify rearranges the array. Is there a way to fix this? We added a number on front of the service name as a temporary fix. Thanks.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1041 140 167

Hey @rolandooo

 

I don't think the options are sortable via the API. Interesting they're arranged by name, I thought they were sorted by price.

Notice; Out of office, replies will be delayed until my return. Thanks!
0 Likes