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.