UpdateProducts

Individual products can be updated. Per call you can specify any number of product IDs and one operation.

Each operation accepts different parameters, dependent on the operation type:

  • Set product holders: an array of ticket holder IDs (see Contact), one for each product (productholderids).

Fields

FieldDescription
operation
string 
(required)

Operation to execute.

Supported values:

  • setproductholders
Example value:"setproductholders"
params
map<string, mixed
(required)

Operation parameters

Example value:{ "productholderids": [ 123.000000, 863.000000 ] }
products
int[] 
(required)

Product IDs

Example value:[ 1, 2 ]

Example

1{
2    "operation": "setproductholders",
3    "params": {
4        "productholderids": [ 123.000000, 863.000000 ]
5    },
6    "products": [ 1, 2 ]
7}