Error SelectedShippingMethod on mutation setShippingMethodsOnCart is null #39175
Labels
Issue: ready for confirmation
Reported on 2.4.7
Indicates original Magento version for the Issue report.
The issue is in Magento 2.4.7
mutation {
setShippingMethodsOnCart(
input: {
cart_id: "walNToYaEaFeN4QKFoQwz9hlChT124Gn"
shipping_methods: [{
carrier_code : "your_method"
method_code : "your_method"
}]
}
) {
cart {
email
id
is_virtual
owNewsletterSubscribe
shipping_addresses {
selected_shipping_method{
carrier_code
carrier_title
}
street
telephone
uid
}
total_quantity
}
}
}
Response:
{
"data": {
"setShippingMethodsOnCart": {
"cart": {
"email": "[email protected]",
"id": "fPM15smAU0qoOacz8LT7XlfXEenvTT9p",
"is_virtual": false,
"shipping_addresses": [
{
"selected_shipping_method": null, // this is the issue
"street": [
"Test 1"
],
"telephone": "041676376",
"uid": 233034
}
],
"total_quantity": 1
}
}
}
}
Originally posted by @owandrejavidovic in #38735 (comment)
The text was updated successfully, but these errors were encountered: