array(
'type' => array('shoes', 'shirts'),
'min' => array('price' => 3000),
'tags' => array('blue', 'red'),
)
);
$response = $sailthruClient->saveAlert("[email protected]", 'realtime', 'default', null, $options);
?>
public saveAlert ( String $email, String $type, String $template, String $when = null, array $options = [] ) : array | ||
String | ||
$type | String | |
$template | String | |
$when | String | |
$options | array | Associative array of additive nature match Exact-match a custom variable match[type]=shoes min Minimum-value variables min[price]=30000 max Maximum-value match max[price]=50000 tags Tag-match tags[]=blue |
return | array | API result |