Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save niveshsaharan/976c7b229c4ffad591606605c4d3d3d9 to your computer and use it in GitHub Desktop.
Save niveshsaharan/976c7b229c4ffad591606605c4d3d3d9 to your computer and use it in GitHub Desktop.
{
"shopId": 69771329753,
"apiClientId": 155740569601,
"payload": {
"export": "run",
"input": {
"presentmentCurrencyRate": "1.0",
"cart": {
"lines": [
{
"id": "gid://shopify/CartLine/41f84a95-c399-4751-9b67-0b193bc5700a",
"checkBundle": {
"value": "Yes"
},
"bundleItems": null,
"merchandise": {
"typename": "ProductVariant",
"id": "gid://shopify/ProductVariant/45989319573721",
"product": {
"id": "gid://shopify/Product/8885528690905",
"title": "5 Spice Ribs",
"bundleDiscountPercentage": null,
"bundleProducts": null,
"fallbackPrice": null
}
},
"quantity": 1
},
{
"id": "gid://shopify/CartLine/1f6bc243-c527-4da7-8965-c0e284f594e7",
"checkBundle": {
"value": "Yes"
},
"bundleItems": null,
"merchandise": {
"typename": "ProductVariant",
"id": "gid://shopify/ProductVariant/46008334647513",
"product": {
"id": "gid://shopify/Product/8885538390233",
"title": "Bacon Wrapped Wagyu Tomahawk",
"bundleDiscountPercentage": null,
"bundleProducts": null,
"fallbackPrice": null
}
},
"quantity": 2
},
{
"id": "gid://shopify/CartLine/d99b9a47-cea2-4b32-a7e4-fde67360a170",
"checkBundle": {
"value": "Yes"
},
"bundleItems": null,
"merchandise": {
"typename": "ProductVariant",
"id": "gid://shopify/ProductVariant/45991782973657",
"product": {
"id": "gid://shopify/Product/9020763373785",
"title": "Meal Box",
"bundleDiscountPercentage": {
"value": "10.0"
},
"bundleProducts": {
"value": "[\"gid://shopify/Product/8885538390233\",\"gid://shopify/Product/8885528690905\"]"
},
"fallbackPrice": null
}
},
"quantity": 2
},
{
"id": "gid://shopify/CartLine/0cee1e30-258c-49a7-9eff-21eb95d5701f",
"checkBundle": {
"value": "Yes"
},
"bundleItems": null,
"merchandise": {
"typename": "ProductVariant",
"id": "gid://shopify/ProductVariant/46008321179865",
"product": {
"id": "gid://shopify/Product/8885528690905",
"title": "5 Spice Ribs",
"bundleDiscountPercentage": null,
"bundleProducts": null,
"fallbackPrice": null
}
},
"quantity": 1
}
]
}
},
"inputBytes": 1769,
"output": {
"operations": [
{
"merge": {
"parentVariantId": "gid://shopify/ProductVariant/45991782973657",
"price": {
"percentageDecrease": {
"value": 10
}
},
"title": "Meal Box",
"cartLines": [
{
"cartLineId": "gid://shopify/CartLine/1f6bc243-c527-4da7-8965-c0e284f594e7",
"quantity": 1
},
{
"cartLineId": "gid://shopify/CartLine/41f84a95-c399-4751-9b67-0b193bc5700a",
"quantity": 1
},
{
"cartLineId": "gid://shopify/CartLine/d99b9a47-cea2-4b32-a7e4-fde67360a170",
"quantity": 1
}
]
}
},
{
"merge": {
"parentVariantId": "gid://shopify/ProductVariant/45991782973657",
"price": {
"percentageDecrease": {
"value": 10
}
},
"title": "Meal Box",
"cartLines": [
{
"cartLineId": "gid://shopify/CartLine/1f6bc243-c527-4da7-8965-c0e284f594e7",
"quantity": 1
},
{
"cartLineId": "gid://shopify/CartLine/0cee1e30-258c-49a7-9eff-21eb95d5701f",
"quantity": 1
},
{
"cartLineId": "gid://shopify/CartLine/d99b9a47-cea2-4b32-a7e4-fde67360a170",
"quantity": 1
}
]
}
}
]
},
"outputBytes": 862,
"logs": [],
"functionId": "12fffe44-2ded-4fde-a5a5-fd4478fc5174",
"fuelConsumed": 1130879
},
"logType": "function_run",
"status": "success",
"source": "bundles-test",
"sourceNamespace": "extensions",
"logTimestamp": "2024-10-17T04:58:24.338165Z",
"localTime": "2024-10-17 10:28:24",
"storeName": "cookunity-dev.myshopify.com"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment