store_url is the URL of the store to get insurance quote for, e.g. docs.orderprotection.com.
Example
If the subtotal (the price before add-ons and shipping) is$1,000, and one of the pricing rules specifies a minimum of $0 and a maximum of $5,000, this rule should be applied to calculate the price of Order Protection, as the subtotal falls within the specified range.
Notes
-
The amounts in pricing rules are always in
USD. If the subtotal is in a different currency, the amount should be converted to the cart’s currency using the current exchange rate. -
The
rulesarray is sorted byminin ascending order. -
If the pricing rule has a type of
brand, Order Protection should not be added to the cart.
Path Parameters
URL of the store to get insurance quote for
Response
Successfully retrieved insurance quote
Example:
"clz1sc3z8039p8ruxx7mrob50"
Order Protection should automatically be added to the cart if this is true
Example:
true
Order Protection should always be added to the cart
Example:
false
Example:
null

