You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added support for user properties. Automatically split Batch with more than 10k requests to multiple Batch requests. Added cascadeCreate parameter to Set item/user values.
* Adding an user property is somehow equivalent to adding a column to the table of users. The users may be characterized by various properties of different types.
14
+
*/
15
+
class AddUserProperty extends Request {
16
+
17
+
/**
18
+
* @var string $property_name Name of the user property to be created. Currently, the following names are reserved:`id`, `userid`, case insensitively. Also, the length of the property name must not exceed 63 characters.
19
+
*/
20
+
protected$property_name;
21
+
/**
22
+
* @var string $type Value type of the user property to be created. One of: `int`, `double`, `string`, `boolean`, `timestamp`, `set`
23
+
*/
24
+
protected$type;
25
+
26
+
/**
27
+
* Construct the request
28
+
* @param string $property_name Name of the user property to be created. Currently, the following names are reserved:`id`, `userid`, case insensitively. Also, the length of the property name must not exceed 63 characters.
29
+
* @param string $type Value type of the user property to be created. One of: `int`, `double`, `string`, `boolean`, `timestamp`, `set`
Copy file name to clipboardExpand all lines: src/RecommApi/Requests/Batch.php
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,6 @@
16
16
* - executing the requests in a batch is equivalent as if they were executed one-by-one individually; there are, however, many optimizations to make batch execution as fast as possible,
17
17
* - the status code of the batch request itself is 200 even if the individual requests result in error – you have to inspect the code values in the resulting array,
18
18
* - if the status code of the whole batch is not 200, then there is an error in the batch request itself; in such a case, the error message returned should help you to resolve the problem,
19
-
* - currently, batch size is limited to **10,000** requests; if you wish to execute even larger number of requests, please split the batch into multiple parts.
0 commit comments