The Update Cart Transform Function updates an existing cart transform function, allowing merchants to switch the pricing strategy or adjust failure handling behavior. Once updated, the new function logic will be applied automatically during the cart and checkout process.
Determines whether to block the cart/checkout process if the Function execution fails.
Default false
input_query
raw json string
No
A JSON string specifying metafield queries for cart line items.
input query structure
Parameter
Type
Required
Description
product_metafields_query
array
No
Defines rules to query Metafield data. If empty, the function input will not contain Metafield data. The array length is limited to 1, currently supporting only one key.