HomeGuidesAPI Reference
Log In

Handling Customizations

Here is a brief overview on how to handle item customizations returned from the inventory and product details endpoints. We'll look at example requests and discuss how the customizations returned should be handled on the frontend.


Here is an example request that returns the menu for McDonald's.

curl --request GET \
     --url 'https://api.mealme.ai/details/inventory?store_id=0de5359b-b659-40dd-acb8-236bd608dac5&pickup=false&include_quote=false&quote_preference=first_available&include_customizations=true&budget=20&user_latitude=37.7786357&user_longitude=-122.3918135&user_street_num=188&user_street_name=King%2520Street&user_city=San%2520Francisco&user_state=CA&user_zipcode=94107&user_country=US' \
     --header 'Id-Token: <API KEY>' \
     --header 'accept: application/json'

Here is one of the items returned from the request above.

{
   "name":"Big Mac Meal",
   "price":1359,
   "qty_available":null,
   "unit_size":null,
   "unit_of_measurement":"",
   "description":"",
   "image":"https://cdn-img.mealme.ai/56644401375dd52f55d6cadfa2c6d9beeac0e1d2/68747470733a2f2f74622d7374617469632e756265722e636f6d2f70726f642f696d6167652d70726f632f70726f6365737365645f696d616765732f62396562313962313937323763626561346465333130613932333734653232322f38353962616666316437363034326134356533313964316465383061656337612e6a706567",
   "min_price":0,
   "formatted_price":"$13.59",
   "product_id":"gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-lEpmG3Y-eJhi7apY5OV2qFve0iMtXDAVWkYJP4Bkkx6aTJs0e_VE1o_UHzSgEErVx36n6EogS5SQNazJSB3RL471UOqioLiq6eeFjL7tCpm45tyykxyIxgcFoddPqSyYqld5so6TxKl5GhHDRhvma9kf5RjZTmUt7LP016rZCfpVRMgUg-P1OObKrzbtGuvIzk5pfU_diwLu6CnNmpfYABounjzGCMdGywaVzKQB2mzebNN-2oe9-y0St9AF5RNZaMB_mGnHqe4eyOvUP7T_5vtYnYVGZHizOaLv1grIuiZHwsmEUuoi9VU3f7V4c-tt13VSbM-C8Ljtr8fBz3aOnnHzs6KkBPIm2gKq-PHa3r88PMaNtDyEhGJxheYZxObhak28ktA7t8pHPrBpweYCxKMaLqRMJr8Xiiz9Ggn_H9Ww1Wi4rezrK2CbwLXBkhVsin66ZO-9O_ZN11JiaHqHV2zmNXPrbKo_jp02I3UrRVy3kHi23jrELlBHID4uu6nOpxt558Wkeq8Pk8HWhXGCTuHxFMcg5tmVYfC_Autvu0hpkkGeawmN7lxubFg8_0uBU9697vG5nTypuIareehO8SQGhfb6EEBEYiS43PR5Ov252aVNUX4X_ppSREGwIRvx-sS_ui1Wvhqkpu9NRb5ZDwXAmhVhyFhidqU3pfuBlPXufmnZ3GvCL9YQpGVUOttiQkykecKxp5aWFZy04M3fQF8WPJ0DS5ETx--eDot2wQA9aOh7Mxdk2HHjjJYqvzLstUAjMmr4KhxRw8S42TcNyhPUu2kNYXc1sdFIqhvtNxi",
   "should_fetch_customizations":true
}

should_fetch_customizations is true for this menu item, so we must make a subsequent call to the product details endpoint to fetch its customizations, as shown below.

curl --request GET \
     --url 'https://api.mealme.ai/details/product?product_id=gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-lEpmG3Y-eJhi7apY5OV2qFve0iMtXDAVWkYJP4Bkkx6aTJs0e_VE1o_UHzSgEErVx36n6EogS5SQNazJSB3RL471UOqioLiq6eeFjL7tCpm45tyykxyIxgcFoddPqSyYqld5so6TxKl5GhHDRhvma9kf5RjZTmUt7LP016rZCfpVRMgUg-P1OObKrzbtGuvIzk5pfU_diwLu6CnNmpfYABounjzGCMdGywaVzKQB2mzebNN-2oe9-y0St9AF5RNZaMB_mGnHqe4eyOvUP7T_5vtYnYVGZHizOaLv1grIuiZHwsmEUuoi9VU3f7V4c-tt13VSbM-C8Ljtr8fBz3aOnnHzs6KkBPIm2gKq-PHa3r88PMaNtDyEhGJxheYZxObhak28ktA7t8pHPrBpweYCxKMaLqRMJr8Xiiz9Ggn_H9Ww1Wi4rezrK2CbwLXBkhVsin66ZO-9O_ZN11JiaHqHV2zmNXPrbKo_jp02I3UrRVy3kHi23jrELlBHID4uu6nOpxt558Wkeq8Pk8HWhXGCTuHxFMcg5tmVYfC_Autvu0hpkkGeawmN7lxubFg8_0uBU9697vG5nTypuIareehO8SQGhfb6EEBEYiS43PR5Ov252aVNUX4X_ppSREGwIRvx-sS_ui1Wvhqkpu9NRb5ZDwXAmhVhyFhidqU3pfuBlPXufmnZ3GvCL9YQpGVUOttiQkykecKxp5aWFZy04M3fQF8WPJ0DS5ETx--eDot2wQA9aOh7Mxdk2HHjjJYqvzLstUAjMmr4KhxRw8S42TcNyhPUu2kNYXc1sdFIqhvtNxi&pickup=false&include_quote=false&user_latitude=37.7786357&user_longitude=-122.3918135&user_street_num=188&user_street_name=King%20Street&user_city=San%20Francisco&user_state=CA&user_zipcode=94107&user_country=US' \
     --header 'Id-Token: <API KEY>' \
     --header 'accept: application/json'

Below, you'll see the shortened version of the customizations returned for the Big Mac Meal.

{
  "product_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-lEpmG3Y-eJhi7apY5OV2qFve0iMtXDAVWkYJP4Bkkx6aTJs0e_VE1o_UHzSgEErVx36n6EogS5SQNazJSB3RL471UOqioLiq6eeFjL7tCpm45tyykxyIxgcFoddPqSyYqld5so6TxKl5GhHDRhvma9kf5RjZTmUt7LP016rZCfpVRMgUg-P1OObKrzbtGuvIzk5pfU_diwLu6CnNmpfYABounjzGCMdGywaVzKQB2mzebNN-2oe9-y0St9AF5RNZaMB_mGnHqe4eyOvUP7T_5vtYnYVGZHizOaLv1grIuiZHwsmEUuoi9VU3f7V4c-tt13VSbM-C8Ljtr8fBz3aOnnHzs6KkBPIm2gKq-PHa3r88PMaNtDyEhGJxheYZxObhak28ktA7t8pHPrBpweYCxKMaLqRMJr8Xiiz9Ggn_H9Ww1Wi4rezrK2CbwLXBkhVsin66ZO-9O_ZN11JiaHqHV2zmNXPrbKo_jp02I3UrRVy3kHi23jrELlBHID4uu6nOpxt558Wkeq8Pk8HWhXGCTuHxFMcg5tmVYfC_Autvu0hpkkGeawmN7lxubFg8_0uBU9697vG5nTypuIareehO8SQGhfb6EEBEYiS43PR5Ov252aVNUX4X_ppSREGwIRvx-sS_ui1Wvhqkpu9NRb5ZDwXAmhVhyFhidqU3pfuBlPXufmnZ3GvCL9YQpGVUOttiQkykecKxp5aWFZy04M3fQF8WPJ0DS5ETx--eDot2wQA9aOh7Mxdk2HHjjJYqvzLstUAjMmr4KhxRw8S42TcNyhPUu2kNYXc1sdFIqhvtNxi",
  "customizations": [
    {
      "name": "Select Option",
      "min_choice_options": 1,
      "max_choice_options": 1,
      "options": [
        {
          "name": "Big Mac Meal",
          "price": 0,
          "customizations": ["..."],
          "min_qty": 0,
          "max_qty": 1,
          "conditional_price": {},
          "formatted_price": "$0.00",
          "default_qty": 0,
          "option_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-ibPEVCTiYgpRUCn83cDjkH3awWXRiYnOmNdTZqnX5h2AOcFPn9tOZddq0SGyHktElQ6rHfl9KyLdHR3xVm_EPMUG-ZekQZ6yKlF7rYVLPNyqtF1CvUGRtZsXF2KTf9AAj7I_fY8DDqaMMm6qEEp8MwIAcSiTkITjwsJJAcWcXNegnmmh8XNrzbZgZ3rNzTsftlh0Z8dbo8Y7QceWVzSoDjbTt340JSEOMOWjJQSlzpXqPdgGMZrHvNf0BP35joQshn0rAyA0Et8bvWSuLpQF7JQUrGFHB_h9K3DUgJFXLbpzw9PVcpISyCucqE94SzpA-3HzHN9e3P_LLaHCpzGMkHFZpRdykJigMWk1yIb3w1KAGehEdf1htg5AmuWNQYfhy8IuW4lao6jbFvHxH5yvqy5H4p2rn2rbCzUjqgg_1l-AySA0UfvEe22HDVHjrncDJgSQWMbEP6YiZiSSz6J1WrAmGUCc4-bDAEm8XwuA5ooFpZd8q-rWofl-NeA17sEjd-Gn2_kBOTj6t8JDIEHDs6jhFaohqPQz-NNEL62FL5s5rZwkYAsXU_EnGIQysMg4A=="
        },
        {
          "name": "Big Mac Meal Large",
          "price": 40,
          "customizations": ["..."],
          "min_qty": 0,
          "max_qty": 1,
          "conditional_price": {},
          "formatted_price": "$0.40",
          "default_qty": 0,
          "option_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-icq0Lfu6C3MlcNuj9oH801mkyqTH5KFhu9Ggbiyt54sFrFMNJ7hlW1Sj3BdknnIZndQW1bSgDPwXgr6zTP4-OHzjBajn1UqLdI_AfEEQ8QR1Tp9VKZIoFc4EetPgHHywwTR0V_fp2hzxGfjQXTIz14phK64B4iC4H-ecQY4OcU2yYTq2Kj_Di4G49KqChmFMB-as0lUK5aDja4ZIb1HpZACB22m8nxXIOkGjoerpaW1heAbBVV6fD7--vV-4Ldn4t4sUCbVbCWeAZHcrKthUX0bPBGo47MYYJmMldxj8zfjlKgw17ZuHXEK4DAzQV2qEfBC-rp_DGa5YD47OQ48EEVt10YPyrPjOvYbKCQjcbQgektfHKufnOXZQHiyi-UebDc8zbXhOcYbx33gf8iso7TzDXR8zMg7nBBcZV2ICNX_grduM_4PE1VbWRCiZDfmJUGrGxUZcVS9R3Qht1g9iLiv-AKflUFz_gDY0gaPNO7bKErdPRvhAS5gQsihLJeaIfVhjsTmIfIRzf1bRhia7Sa_QPn-XRfhoqrP6zTEJeQX8OUcKByI6jG5yrB_9E993gttoFwNw8AfoK8O8D7IuYM="
        }
      ],
      "customization_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-gOkVUSOzvFDWwpwbHz38YEccNbFZ5VQKD-8rgFhyKKLumHtiEhCl-5oQdJXs7OArETjkO8NLIvjrB-_DNRdWEtGKnSH3lucDX-9UbplHwSFquOFeKzboDgmsL9_CEN6vft2cfWHggU9O28APmwlqwidy1Adordx3GoK65_I8cy3HbWxE6lG1pn2dGwcpwwDbv_vGAjAl6ORiMLMd5gsN0Y="
    }
  ]
}

Customization Requirements

Customizations only have two requirements, namely, min_choice_options and max_choice_options. Although the ordering endpoint will enforce these requirements when placing an order, your frontend must enforce them as well. In the example above, there's only one top-level customization (Select Option), from which the end-consumer must select a only 1 option from (Big Mac Meal or Big Mac Meal Large).

Here is an example of what that might look like


Option Requirements

Each option under a customization also has only two requirements, namely, min_qty and max_qty. For the Big Mac Meal and Big Mac Meal Large options, min_qty=1 and max_qty=1, so the end-consumer must either choose 1 Big Mac Meal or 1 Big Mac Meal Large option for the Select Option customization. For demonstration purposes, if max_choice_options=2 for the Select Option customization, the end-consumer must either choose 1 Big Mac Meal, or 1 Big Mac Meal Large, or 1 Big Mac Meal and 1 Big Mac Meal Large.

Here is another example with the 40 McNuggets menu item. This item has one customization (Select Sauce), which has min_choice_options=6 and max_choice_options=6. Each of the options under this customizations have the requirements: min_qty=0 and max_qty=6. In the image below, the end-consumer has only selected a total of 5 options, so the they are unable to add the item to their cart.

After selecting one more option, the end-consumer now meets the min_choice_options=6 requirement, so they are able to add the item to their cart.


Nested Customizations

Some customizations can have a list of options which also have a list of customizations. The number of levels of nesting is indefinite, so it's important that this is handled properly on the front-end. Going back to the Big Mac Meal menu item example, the Big Mac Meal option under the Select Option customization, has a list of customizations, of which one is Select Drink.

{
  "customizations": [
    {
      "name": "Select Drink",
      "min_choice_options": 1,
      "max_choice_options": 1,
      "options": ["..."],
      "customization_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-mNs6D7BKi97KYghophiLyn4-bmHOgQphfLOIJDhhTAW8hAnMrPxe3Am-pa0XtYpGO3o_JgqTVVZ2J8tE8GMoVurnLII04jmSVDvOzxXUXM63SzNqc6wON7ev9GwVOZ9juN4SweRsHDNL_Rbiwu2pQski-qzmgQeVKqvxILaya_aQYDmiA8ycDuA7qZ6UuFU1d9ghefGofiqt6N5dvZVltJ1n2AdgcD8F_-gxBjUQuVisQw0x8I0tZLJ6oFq-FH4JQ=="
    },
    {"..."},
    {"..."},
    {"..."},
    {"..."},
    {"..."}
  ]
}

The Medium Coke® option under the Select Drink customization also has a list of customizations, as shown below. The options on this level don't have a list of customizations so this is the final layer.

{
  "customizations": [
    {
      "name": "Medium Coke® Comes With",
      "min_choice_options": 0,
      "max_choice_options": 2,
      "options": [
        {
          "name": "Ice",
          "price": 0,
          "customizations": [],
          "default_qty": 1,
          "min_qty": 0,
          "max_qty": 2,
          "conditional_price": {},
          "formatted_price": "$0.00",
          "option_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-jh1xcj26zf9vhgH056R6pe2ZILkjPgT6R2NC-Zk-vgvzeyMkREvcRZse7ieLSMLcydc0t_Geap2u49MXdqef4jOK9logUjl_Jh5-HDQBa8k5VxsUoWh9MlPncimMbAFa2GBC6BiGyRwZWqCZVdOTgGeaU3LVtc71-V-6cGMaKuLhSh3f4pGor8TRosGweZQ9C9rdWvbP2aUOUvFjN73x1KJMb4FObEa8NISQ0YMgqFlWo6G6_ubfgufGXwd6Sbc-3-56gxKZHEjrrMjGyfSvgCFYhlSGxbKMhYXRqPUqIvOVOcOMiGXiOXVYg2QL5uaxIlafE6yr05QMK3ptL_3SGOLUHTPpwkKIG5BxH8pDKtZx_dGgJuYg7RLpcj2qZRbBAPheiR4ZsXKwW6aQCMZSrBgaTsPKMHlv4xGLS8zi0_d-r6BErh4uw2aGa5qIQdl2cwicEXriiNSYJzi0RsjChix4ZwgRn-uuhKpY7uLtya7WvGGoVV7HLPzfAIgtmDZfYo9nxcE7b_ckF76KBjSe060HToRNLs082RnW3g2pGaEdevzK39a_ZPI0iuoOr3TgXKhNeB-bdhf_QXnG41QQeQ6bCo09v1bXg11R-csqUo8s6p3AQJpgBZbTLbkYV70P9jvSVawMyigKT-SjDddzkGAgS6IwsRSox7BRjbA21acXgDhHKp_euCr90p4n3Xdc6iPStFjpbIfjB-KcYFF2oRDsH81XmvvsCacGU454kYx"
        }
      ],
      "customization_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-h4WcTkxyOY-rN0cf0PrY1ooKpCFFUMO4UpS0zuHBjrMs-Sn2A9OOYaWkXpGDHA2SZIXIWWYAhmi3wuZv_LjlZsgrSO9OIRyMki7HxFOTI6tR2m9KB7_yfHviUblCHftgHtankhfTBq9CBh9wqd-idqL771Uxbn3ngsyX1RQB4tufC8q01ko_uQPQJfBh_RijZjlMM3xFkpSTkxeN7fEKJbInFnyxM2h4hkFGWL6PK1M-2PtPa5l3fIul5mM6moX4DWNfuHyNUeX5aVt8rRT4TY="
    },
    {"..."}
  ]
}


Default Quantity

Some options may have a default_qty greater than 0, in which case, the selected quantity must match the value of default_qty when options are first presented to the end-consumer. In the example directly above, the Ice option under the Medium Coke® Comes With customization has default_qty=1, therefore the the quantity is automatically set to 1 for that option. Generally, when the end-consumer increments the quantity of an option by 1, the price of that option is to be added to the order total. However, if default_qty>0, then the order total is only to be increased if the end-consumer increments the quantity beyond default_qty. For example, if the price of Ice is $1.00, and the end-consumer chooses a quantity of 1 for the Ice option, then the order total remains the same. If the end-consumer chooses a quantity of 2 for the Ice option, then the order total is to be increased by $1.00.

Here's another example that demonstrates why handling default quantity correctly is important. The options under the Hamburger Comes With customization all have a default quantity of 1. If these quantity isn't automatically selected for the user, then the user might end up placing an order for just a box of pickles (yes, this has happened before!).


Conditional Pricing

Some options can have a conditional price, meaning that their price is determined by the end-consumer's selection of another customization. Here is an example request to fetch the menu for Burger King.

curl --request GET \
     --url 'https://api.mealme.ai/details/inventory?store_id=4aa9432f-e818-4e03-9977-7594fa06ed27&pickup=false&include_quote=false&quote_preference=first_available&include_customizations=true&budget=20&user_latitude=37.7814209&user_longitude=-122.4612996&user_street_num=188&user_street_name=King%2520Street&user_city=San%2520Francisco&user_state=CA&user_zipcode=94107&user_country=US' \
     --header 'Id-Token: <API KEY>' \
     --header 'accept: application/json'

The Soft Drink menu item has two customizations: Select a size and Choose a drink. The Coca-Cola® option, under the Choose a drink customization, has a price that's dependent on the selected option from the Select a size customization. This pricing scheme is defined in the conditional_price property, which is a mapping from option_id to price.

{
  "name": "Soft Drink",
  "price": 0,
  "qty_available": null,
  "unit_size": null,
  "unit_of_measurement": "",
  "description": "",
  "min_price": 299,
  "image": "https://cdn-img.mealme.ai/d5217a65d225ce996068b1c64ba4bd85f25a32e6/68747470733a2f2f6d656469612d63646e2e677275626875622e636f6d2f696d6167652f75706c6f61642f656373646d723969616d616a6d7a6161337479612e6a7067",
  "customizations": [
    {
      "name": "Select a size",
      "min_choice_options": 1,
      "max_choice_options": 1,
      "options": [
        {
          "name": "Medium",
          "price": 0,
          "customizations": [],
          "conditional_price": {},
          "formatted_price": "$0.00",
          "default_qty": 0,
          "option_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-uN_VzG5Vp7uOly76tCRuwYBJv-Ns8YWrZsGC-dtAsVkFHD75hu02Qv4cX1yM2poKayo7WDuziinxlCaVmMQhJ1ZrLjSnbIrRsXNalZ6TCJ7DJBhhcQD7JjLQAKTqGp7Hqsy_v53_fK9bnBLkg-jVthUn1W9_wTutTG1SCiBz9V4mPKawJXEXrsMWnt40Ao5JFS4b7GT_qYt-HrTTkJfjRwmAoV4Lxyr1nnTThM4U09FkeW6ThBaeuq8bjB5HR6uXb8v3RlBbQNVFeJ6NdQcAcaNSEyQaFtm-fZr1dKdQUwsI4wFJskxDKxcRBh01d-nyID2dKf8n_ZglaFobo55q-hoBMIO9ye6Fv7QkajOctfg7vhSn5M23FAKrNJbKpjnnsoZJyE17M36GN3Z7UsFYwU="
        },
        {
          "name": "Large",
          "price": 0,
          "customizations": [],
          "conditional_price": {},
          "formatted_price": "$0.00",
          "default_qty": 0,
          "option_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-h1NFBZ5dYp7CTer_q4kSx4jw1N6D9kopm5cbygLAsersexbokAuKB2pXYcl7JQLk5K_qKAnons_oDXPUF-JYdlidRLXQaNJ30fo49ueWskYjkBlaHaslG8vl46bGoYw7lnzcPlbtsSWJ26lZgjDNYWzhhYNq6_hHBTFkP_Ga9-dNGV7mg6MmP0SGc_AAlIHQ94NFL9J3Qv_CMVl_z3t6ZINcRF0xbh8sX_YA4a6wMTwi7s2jMCJmn91C1OH8z4-l99YpLx3TKKiCV2tmRL6xU7f8OTVvB-mYJdjOTtpXXQhSz5oYdlG9FoLr1Yj5MHxh1HhssO2lr2QcxsO3jOIGz8JfVqLFg-Unn1ikXcSQBMnBhULKxcVCTyv4YZLrHlkl3zqnmkH66n885r_HqRLllg="
        }
      ],
      "customization_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-r5F5KxDxqumRR4-r7CaI5rtyNFjH2cDNN5ju2CQK92zXP5VRMiE0U42Su12oH9mbOvW941Z3fRbuQIW6v-SYv_cAvQiENQ41l3O-z3D0_X7ysbFRO9YyZyLCLLhbmsmgUOZw5D5fvcHRNLHAFIOUsE="
    },
    {
      "name": "Choose a drink",
      "min_choice_options": 1,
      "max_choice_options": 1,
      "options": [
        {
          "name": "Coca-Cola®",
          "price": 0,
          "customizations": [],
          "conditional_price": {
            "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-uN_VzG5Vp7uOly76tCRuwYBJv-Ns8YWrZsGC-dtAsVkFHD75hu02Qv4cX1yM2poKayo7WDuziinxlCaVmMQhJ1ZrLjSnbIrRsXNalZ6TCJ7DJBhhcQD7JjLQAKTqGp7Hqsy_v53_fK9bnBLkg-jVthUn1W9_wTutTG1SCiBz9V4mPKawJXEXrsMWnt40Ao5JFS4b7GT_qYt-HrTTkJfjRwmAoV4Lxyr1nnTThM4U09FkeW6ThBaeuq8bjB5HR6uXb8v3RlBbQNVFeJ6NdQcAcaNSEyQaFtm-fZr1dKdQUwsI4wFJskxDKxcRBh01d-nyID2dKf8n_ZglaFobo55q-hoBMIO9ye6Fv7QkajOctfg7vhSn5M23FAKrNJbKpjnnsoZJyE17M36GN3Z7UsFYwU=": 299,
            "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-h1NFBZ5dYp7CTer_q4kSx4jw1N6D9kopm5cbygLAsersexbokAuKB2pXYcl7JQLk5K_qKAnons_oDXPUF-JYdlidRLXQaNJ30fo49ueWskYjkBlaHaslG8vl46bGoYw7lnzcPlbtsSWJ26lZgjDNYWzhhYNq6_hHBTFkP_Ga9-dNGV7mg6MmP0SGc_AAlIHQ94NFL9J3Qv_CMVl_z3t6ZINcRF0xbh8sX_YA4a6wMTwi7s2jMCJmn91C1OH8z4-l99YpLx3TKKiCV2tmRL6xU7f8OTVvB-mYJdjOTtpXXQhSz5oYdlG9FoLr1Yj5MHxh1HhssO2lr2QcxsO3jOIGz8JfVqLFg-Unn1ikXcSQBMnBhULKxcVCTyv4YZLrHlkl3zqnmkH66n885r_HqRLllg=": 539
          },
          "formatted_price": "$0.00",
          "default_qty": 0,
          "option_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-hzINuSgSiVK_rSQRkMuxN_gM9ovpybxHE1175htnyIVYn3t1tz4CpPGNEdfjgrxzGY1N7ItU7dxS460y0WJTWiqr5hULB-ff9dX4CbObd7n2e8MKZ044HwfsHNh94CvIRsKHRL32fxhd2vUZKVWcMd0veOEHA1pZ3bx5p0I0aq-lLfv3kMfGETgDKrLLzB4pA2iK-mDzKTRd1z2yLMZWGPDAs10DVVGA0OTX3m31ArT-Lqr6c1OGVHOW-rGDqKp5qhdGXGZLWLRAkkKv8Yre5OmuL-BJS6PWWH2MOP1SoIRwVMpy3YQdEkdz0McHBIi4Uahx0x227PXtutFAtAWqb8baWEK1JujgVtwTIrPvS64oK3QcoLZxSj0TPrtsQy0yUIaDC80FSwXRX0HFX5jwO7zO6fQ9IeY95Zojm-wEAhn"
        }
      ],
      "customization_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-gLO9wvP8Hp0_PBesfR2i_oFtfKZnFlic5BPRx1UBW20dhzb2diq4dUXuLHn-tb41XP1Wxuyb3eidm-Qql90HKzLOZCB74Y_PmuchxAzaBerh709AvgRwXIh_pfIV3uFwOabuJJM_7TWsi4s06yCOZg="
    }
  ],
  "formatted_price": "$0.00",
  "product_id": "gAAAAAAAAAAAvcAsFofXR7XlzNv5B6-g-uNQfGC56gOmONdPm9YDxkOJULo0AlJPLvaZOjTnXkJ_NDBefphU9PLBnNbmAfdwBcIh_5uNVDRLOqV9qWSTg4IY7w1ZN6O1D-NbUZy6EehCofLUOYGrP3ssK7Dh5LJPTU8HlH0jK8PeL66JCv2MVgx6j7vhUo-5uK8UAOO8TJ2_fOIg2jmNV4ctywyPsA3DtA_w6Mdc_PPhtc2sunqwOo69z0u8h8Q6agck4WgsB1lwfJl4APtjPekvubMypSc2auBf9K1JjlhIVoapzM3Dvcrrnh3xn5bwC7ALuQLwKSWQjuAJHtY4bBbHqfNEUjPYfb49fMQr6Qzse2qDpkhH9SFSzWdYKPrGbdWjTS2uWkpn2EQOHNRvakNsjJemt2xfjA5XOU6QKyHBPf3Y2Lxk3zWWMJCdVsDLOM3UDDON3y_Ohtyn1Pjl0kpobUJSAz07BdQzF0T-zrQ5OHeLm1_c9bFsiWUd9eRhW9m3O06HijKO9Qjn5UIQtj1T5tCmpIPS8Xi0-XVYTvu80SHrzER0wCgW9ILznJmDCs6vEZMXKCr2xD-TsXvH1VHGiBYMlXKRJ1fYi8zWR6dh8toLt4hoW5N66If3W8EFExaER1ZBrlpU0j4y2-0lA9Ym2JXPwfUcFrGi1cF5wpnkgl-v3Wnc1HE=",
  "should_fetch_customizations": false
}

If the end-consumer chooses the Medium option, then the price of Coca-Cola® will be $2.99

If the end-consumer chooses the Large option, then the price of Coca-Cola® will be $5.39.