We’re doing a price alteration on all of our cart prices but the bundles products are ignored
input
{
"presentmentCurrencyRate": "1.0",
"cart": {
"buyerIdentity": null,
"lines": [
{
"id": "gid://shopify/CartLine/62f23f44-89cb-411e-b6f6-028a16376fe2",
"quantity": 2,
"cost": {
"amountPerQuantity": {
"amount": "49.95"
}
}
},
{
"id": "gid://shopify/CartLine/c0c466d7-d1bb-4fc1-a3ab-be178e739dec",
"quantity": 1,
"cost": {
"amountPerQuantity": {
"amount": "99.9"
}
}
}
]
}
}
output
{
"operations": [
{
"update": {
"cartLineId": "gid://shopify/CartLine/62f23f44-89cb-411e-b6f6-028a16376fe2",
"price": {
"adjustment": {
"fixedPricePerUnit": {
"amount": "49.99"
}
}
}
}
},
{
"update": {
"cartLineId": "gid://shopify/CartLine/c0c466d7-d1bb-4fc1-a3ab-be178e739dec",
"price": {
"adjustment": {
"fixedPricePerUnit": {
"amount": "99.99"
}
}
}
}
}
]
}
the second line is the bundled product. It looks like the transform is succesful. But the response from the cart api is as follows
[
{
"id": 41189334482986,
"properties": {},
"quantity": 2,
"variant_id": 41189334482986,
"key": "41189334482986:117e768e8a77b464666e0c8aa49cc536",
"title": "A-dam Orange - S",
"price": 4999,
"original_price": 4999,
"discounted_price": 4999,
"line_price": 9998,
"original_line_price": 9998,
"presentment_price": 49.99,
"total_discount": 0,
"discounts": [],
"sku": "MTC-0046-WH000004-S",
"grams": 220,
"vendor": "adamdev5",
"taxable": true,
"product_id": 7120980967466,
"product_has_only_default_variant": false,
"gift_card": false,
"final_price": 4999,
"final_line_price": 9998,
"url": "/products/ss2-2023-a-dam-orange?variant=41189334482986",
"featured_image": {
"alt": "A-dam Orange",
"aspect_ratio": 0.667,
"height": 1799,
"url": "https://cdn.shopify.com/s/files/1/0598/4675/4346/files/Blue_Waves-1_68a9753d.png?v=1710763984",
"width": 1200
},
"image": "https://cdn.shopify.com/s/files/1/0598/4675/4346/files/Blue_Waves-1_68a9753d.png?v=1710763984",
"handle": "ss2-2023-a-dam-orange",
"requires_shipping": true,
"product_type": "",
"product_title": "A-dam Orange",
"untranslated_product_title": "A-dam Orange",
"product_description": "A-dam’s T-shirts are made with the purest cotton certified by GOTS, or Global Organic Textile standard. An extraordinary T-Shirt for extraordinary people.✓ Original artwork✓ Pre shrunk cotton✓ Silicone wash finish✓ 240 gsm midweight fabric",
"variant_title": "S",
"untranslated_variant_title": "S",
"variant_options": [
"S"
],
"options_with_values": [
{
"name": "Size",
"value": "S"
}
],
"line_level_discount_allocations": [],
"line_level_total_discount": 0
},
{
"id": 41189721997354,
"properties": {},
"quantity": 1,
"variant_id": 41189721997354,
"key": "41189721997354:8fde0c57fae58e2f6feb64f16bd9fc4c",
"title": "2x Black Pack - L",
"price": 9990,
"original_price": 9990,
"discounted_price": 9990,
"line_price": 9990,
"original_line_price": 9990,
"presentment_price": 99.9,
"total_discount": 0,
"discounts": [],
"sku": "Tee Black Pack - L",
"grams": 440,
"vendor": "adamdev5",
"taxable": true,
"product_id": 7121076420650,
"product_has_only_default_variant": false,
"gift_card": false,
"final_price": 9990,
"final_line_price": 9990,
"url": "/products/black-pack-2?variant=41189721997354",
"featured_image": {
"alt": "2x Black Pack",
"aspect_ratio": 0.667,
"height": 3000,
"url": "https://cdn.shopify.com/s/files/1/0598/4675/4346/files/Black_pack_1_1424544e.png?v=1710785803",
"width": 2002
},
"image": "https://cdn.shopify.com/s/files/1/0598/4675/4346/files/Black_pack_1_1424544e.png?v=1710785803",
"handle": "black-pack-2",
"requires_shipping": true,
"product_type": "",
"product_title": "2x Black Pack",
"untranslated_product_title": "2x Black Pack",
"product_description": "A-dam’s T-shirts are made with the purest cotton certified by GOTS, or Global Organic Textile standard. An extraordinary T-Shirt for extraordinary people.✓ Original artwork✓ Pre shrunk cotton✓ Silicone wash finish✓ 240 gsm midweight fabric",
"variant_title": "L",
"untranslated_variant_title": "L",
"variant_options": [
"L"
],
"options_with_values": [
{
"name": "Size",
"value": "L"
}
],
"line_level_discount_allocations": [],
"line_level_total_discount": 0
}
]
Which shows ‘9990’ as the final price of the product. which should have been ‘9999’
and yes cache is cleared