Function /seller/hire/plan/add
Function invocation
https://json.aftermarket.pl/seller/hire/plan/add
Function description
It adds new 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 | |
| name | string | YES | Hire plan name | |
| percent2 | float | 2 | Percent for 2-month hire | |
| percent3 | float | 3 | Percent for 3-month hire | |
| percent6 | float | 6 | Percent for 6-month hire | |
| percent12 | float | 12 | Percent for 12-month hire | |
| percent18 | float | 18 | Percent for 18-month hire | |
| percent24 | float | 24 | Percent for 24-month hire | |
| percent36 | float | 36 | Percent for 36-month hire | |
| percent48 | float | 48 | Percent for 48-month hire | |
| percent60 | float | 60 | Percent for 60-month hire |
Return value
New hire plan identifier (integer value).