App reviews, troubleshooting, and recommendations
what I want to do?
I want to add a company as a logistics and delivery provider such as UPS for my shop, this company is my delivery provider.
my problem is :
I add a custom app for my shop. and the app register a carrier service to shopify successfully, the company name is "my carrier service", but I can't find it in the shipping carrier list company list(as blow),
please tell me why, thank you!
my code is like this:
public CarrierServiceBo createCarrierService(String name, String callBackUrl) throws IOException {
String url = String.format(carrierServiceUrl, devStoreNo);
Map<String, String> headers = new HashMap<>();
headers.put("Content-Type","application/json");
headers.put("X-Shopify-Access-Token", token);
CarrierServiceCreateReq carrierServiceCreateReq = new CarrierServiceCreateReq();
carrierServiceCreateReq.getCarrier_service().setName(name);
carrierServiceCreateReq.getCarrier_service().setCallback_url(callBackUrl);
HttpClientResult clientResult = HttpClientUtil.post(url, GSON.toJson(carrierServiceCreateReq), "application/json", headers);
log.info("response: {}", GSON.toJson(clientResult));
if (clientResult.getCode() != 201) {
return null;
}
String content = clientResult.getContent();
CarrierServiceBoRoot carrierServiceBoRoot = GSON.fromJson(content, CarrierServiceBoRoot.class);
return carrierServiceBoRoot.getCarrier_service();
}
Hi @bimingda As you can see the api document. There is requirements for accessing carrier service. Hope this helps.
https://shopify.dev/docs/api/admin-rest/2023-10/resources/carrierservice
dear Sonya_2025, thank you for your reply.
the app got the access scope "shipping" , and I can retrieve the carrier service successfully by rest admin api.
Hi @bimingda
If you consider an easier way, I think a multi-shipment tracking platform like TrackingMore can simplify your work and make things easier.
TrackingMore is an all-in-one shipment tracking platform that allows customers to manage and monitor shipments from multiple stores from a single dashboard, making it easier to track all orders in one place. In addition, TrackingMore has integrated with more than 1,200 carriers worldwide and ranks in the top five in the "Order Tracking" software category, making it the best logistics solution for e-commerce and enterprises.
TrackingMore now provides a 14-day free trial and you can click here to check.
If you encounter any problems during use, feel free to contact our 24/7 hour customer service to help you.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024