Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Carrier Service different product locations

Carrier Service different product locations

ruslanstellar
Shopify Partner
1 0 5

Hello everyone.
While developing an application that should consider custom delivery for a local delivery service for a sports equipment store, I needed help with the Shopify Carrier Service API.

 

When a customer checkout with multiple products physically located in different stores, instead of getting one request with all products, I get multiple requests separated by product location. But I cannot connect these 2 requests, and it turns out that I send a response to only one of the requests.

 

For example, if a customer buys 9 products from one checkout, Shopify sends one request with 7 products and another one with 2 products. If all the products are in the same store, there is no problem.

 

I am using this API https://shopify.dev/docs/api/admin-rest/2023-01/resources/carrierservice.

Replies 3 (3)

ploiid10
Shopify Partner
1 0 0

Hi, have you found any solution to this problem?

I am experiencing the issue.

fusedlim
Shopify Partner
13 0 2

Same issue, is this fixed or any of you found a workaround?

_amal
Shopify Partner
7 1 2


I’ve encountered the same issue, and after communicating with Shopify, I was informed that there’s no built-in way to prevent Shopify from splitting requests by location. However, Shopify provided some suggestions to work around this.

Please refer to the screenshot below for more details:
screenshot_01_24-11-13_15_39_18.png