Conditional activation
Get conditional activation
POST https://api.zapiet.com/v1.0/:checkoutMethod/conditional_activation
This endpoint will return a list of conditional activations.
Path Parameters
Name
Type
Description
checkoutMethod*
string
The checkout method you would like to validate against. Valid values are; pickup, delivery, and shipping.
Query Parameters
Name
Type
Description
shop*
string
The merchant's myshopify.com store url.
Request Body
Name
Type
Description
shoppingCart.items*
array
The contents of the customer's shopping cart. If no value is provided we will not check inventory levels or product availability.
shoppingCart.original_total_price*
numeric
shopppingCart.total_weight*
numeric
shoppingCart.items.*.tags
string
shoppingCart.items.*.vendor
string
shoppingCart.items.*.product_type
string
shoppingCart.items.*.collections
string
{
"weight_price": {
"enabled": true,
"valid": true,
"condition": "price",
"operator": "morethan",
"value": 0
},
"property_based": {
"enabled": false,
"valid": true
},
"hide_checkout_method": false,
"valid_shopping_cart": true
}Conditions available
Last updated