Management API
...
Product
Features
Import Product Features From CSV
5min
Imports product features from CSV, if requesting manager has access permissions to it.
URL : /api/v1/product-features/import_from_csv/
Method : POST
Required Content-Type is multipart/form-data with the following single key value pair:
- Key: file
- Value: {csv file from which to import}
- name
- code
- product__short_code
- code– String
- product__short_code– String
- feature_type - String
- Choices: activation, consumption
- max_consumption - Integer
- allow_overages - Boolean
- max_overages - Integer
- reset_consumption - Boolean
- consumption_period - String
- Choices: daily, weekly, monthly, annually
- is_floating - Boolean
- is_floating_cloud -Boolean
- floating_users - Integer
- floating_timeout - Integer
Code : 200 OK
Content examples :
job_id from response can be used to query the import result.