https://krishnalaravel-test.myshopify.com/admin/api/2023-01/carrier_services.jsonhttps://krishnalaravel-test.myshopify.com/admin/api/2023-01/carrier_services.json
{
"carrier_service":{
"name":"ty",
"service_discovery":true
}
}
i used this method for crete carrier but i want to add rate
"node": {
"methodDefinitions": {
"edges": [
{
"node": {
"rateProvider": {
"id": "gid://shopify/DeliveryParticipant/76248482095",
"fixedFee": {
"amount": "50.0",
"currencyCode": "BZD"
},
"percentageOfRateFee": 1.0,
"participantServices": []
}
}
}
]
i want to add participantServices how can pssbile i used
mutation {
updateDeliveryProfile(
input: {
id: "gid://shopify/DeliveryProfile/105405415727"
profile: {
locationGroupsToUpdate: [
{
id: "gid://shopify/DeliveryLocationGroup/115392774447"
zonesToUpdate: {
id: "gid://shopify/DeliveryZone/499561726255"
methodDefinitionsToUpdate: [
{
name: "Standard - Royal Mail Tracked 24"
}
{
name: "Standard - Royal Mail Tracked 48"
}
{
name: "Premium DHL/DPD Tracked 24"
}
{
name: "Premium DHL/DPD Pre-Noon"
}
]
}
}
]
}
}
) {
deliveryProfile {
id
profileLocationGroups {
locationGroupZones(first: 5) {
edges {
node {
zone {
id
name
countries {
id
name
provinces {
id
name
code
}
}
}
}
}
}
}
}
userErrors {
field
message
}
}
}
but getting error