What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

API support on Carrier service

API support on Carrier service

SmrithiSatheesh
Shopify Partner
1 0 0

When i do a GET call to list all carrier services: I get the list and one example is below:

{ "id": 16211214405, "name": "dhl_express", "active": true, "service_discovery": true, "carrier_service_type": "legacy", "admin_graphql_api_id": "gid://shopify/DeliveryCarrierService/56464" }

But I am not able to update the field values via PUT method for these Data(via the API for modify existing carrier service).

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 525

Hey @SmrithiSatheesh, can you share the body of the request you're sending through the PUT request (including the endpoint and redacting any private info like the store name/API client info)? You should be able to update the carrier service's information if you use an endpoint like this in your PUT request: storename.myshopify.com/admin/api/2022-01/carrier_services/[carrierserviceID].json. 

 

Hope this helps!

 

 

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog