Function /seller/hire/plan/modify
Function invocation
https://json.aftermarket.pl/seller/hire/plan/modify
Function description
It modifies hire plan for selling on marketplace.
Input parameters
This function takes the following input parameters:
| Parameter | Type | Required | Default value | Description |
|---|---|---|---|---|
| enable2 | boolean | true | 2-month hire plan is enabled | |
| enable3 | boolean | true | 3-month hire plan is enabled | |
| enable6 | boolean | true | 6-month hire plan is enabled | |
| enable12 | boolean | true | 12-month hire plan is enabled | |
| enable18 | boolean | true | 18-month hire plan is enabled | |
| enable24 | boolean | true | 24-month hire plan is enabled | |
| enable36 | boolean | true | 36-month hire plan is enabled | |
| enable48 | boolean | true | 48-month hire plan is enabled | |
| enable60 | boolean | true | 60-month hire plan is enabled | |
| hirePlanId | integer | YES | Hire plan identifier | |
| name | string | "" | Hire plan name, it will not be changed if a value of this parameter is empty | |
| percent2 | float | 2 | Percent for 2-month hire, it will not be changed if a value of 'enable2' is false | |
| percent3 | float | 3 | Percent for 3-month hire, it will not be changed if a value of 'enable3' is false | |
| percent6 | float | 6 | Percent for 6-month hire. it will not be changed if a value of 'enable6' is false | |
| percent12 | float | 12 | Percent for 12-month hire. it will not be changed if a value of 'enable12' is false | |
| percent18 | float | 18 | Percent for 18-month hire. it will not be changed if a value of 'enable18' is false | |
| percent24 | float | 24 | Percent for 24-month hire. it will not be changed if a value of 'enable24' is false | |
| percent36 | float | 36 | Percent for 36-month hire. it will not be changed if a value of 'enable36' is false | |
| percent48 | float | 48 | Percent for 48-month hire. it will not be changed if a value of 'enable48' is false | |
| percent60 | float | 60 | Percent for 60-month hire. it will not be changed if a value of 'enable60' is false |
Return value
New hire plan identifier (integer value).