the carts/update webhook starts send the cartID without the recently started to be required key . example of the received data
"ShopifyApp"::"WebhooksController#receive as */*
Parameters":{
"id""=>""Z2NwLWV1cm9wZS13ZXN0MTowMUo2U0U4RDVDUUNYQ0RHN0NFMTdaQVlGMA",
"token""=>""[FILTERED]",
"line_items""=>"[
{
"id"=>39385543344183,
"properties""=>nil",
"quantity"=>2,
"variant_id"=>39385543344183,
"key""=>""39385543344183:f2b96a3f13539566d870d3dbccde355e",
"discounted_price""=>""74.00",
"discounts""=>"[
],
"gift_card""=>false",
"grams"=>356,
"line_price""=>""148.00",
"original_line_price""=>""148.00",
"original_price""=>""74.00",
"price""=>""74.00",
"product_id"=>6573328171063,
"sku""=>""",
"taxable""=>true",
"title""=>""LED High Tops - US 8",
"total_discount""=>""0.00",
"vendor""=>""Liam Fashions",
"discounted_price_set""=>"{
"shop_money""=>"{
"amount""=>""74.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""74.0",
"currency_code""=>""EUR"
}
},
"line_price_set""=>"{
"shop_money""=>"{
"amount""=>""148.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""148.0",
"currency_code""=>""EUR"
}
},
"original_line_price_set""=>"{
"shop_money""=>"{
"amount""=>""148.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""148.0",
"currency_code""=>""EUR"
}
},
"price_set""=>"{
"shop_money""=>"{
"amount""=>""74.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""74.0",
"currency_code""=>""EUR"
}
},
"total_discount_set""=>"{
"shop_money""=>"{
"amount""=>""0.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""0.0",
"currency_code""=>""EUR"
}
}
}
],
"note""=>""",
"updated_at""=>""2024-09-02T13:23:17.863Z",
"created_at""=>""2024-09-02T13:19:46.210Z",
"type""=>""carts_update",
"webhook""=>"{
"id""=>""Z2NwLWV1cm9wZS13ZXN0MTowMUo2U0U4RDVDUUNYQ0RHN0NFMTdaQVlGMA",
"token""=>""[FILTERED]",
"line_items""=>"[
{
"id"=>39385543344183,
"properties""=>nil",
"quantity"=>2,
"variant_id"=>39385543344183,
"key""=>""39385543344183:f2b96a3f13539566d870d3dbccde355e",
"discounted_price""=>""74.00",
"discounts""=>"[
],
"gift_card""=>false",
"grams"=>356,
"line_price""=>""148.00",
"original_line_price""=>""148.00",
"original_price""=>""74.00",
"price""=>""74.00",
"product_id"=>6573328171063,
"sku""=>""",
"taxable""=>true",
"title""=>""LED High Tops - US 8",
"total_discount""=>""0.00",
"vendor""=>""Liam Fashions",
"discounted_price_set""=>"{
"shop_money""=>"{
"amount""=>""74.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""74.0",
"currency_code""=>""EUR"
}
},
"line_price_set""=>"{
"shop_money""=>"{
"amount""=>""148.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""148.0",
"currency_code""=>""EUR"
}
},
"original_line_price_set""=>"{
"shop_money""=>"{
"amount""=>""148.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""148.0",
"currency_code""=>""EUR"
}
},
"price_set""=>"{
"shop_money""=>"{
"amount""=>""74.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""74.0",
"currency_code""=>""EUR"
}
},
"total_discount_set""=>"{
"shop_money""=>"{
"amount""=>""0.0",
"currency_code""=>""EUR"
},
"presentment_money""=>"{
"amount""=>""0.0",
"currency_code""=>""EUR"
}
}
}
],
"note""=>""",
"updated_at""=>""2024-09-02T13:23:17.863Z",
"created_at""=>""2024-09-02T13:19:46.210Z"
}
}
in the example above the id is the actual CartID but with missing ?key param so when we use it in the application (GraphQL 2024-07) the API responce is Cart id does not exist.