Management API
Product
Import Products From CSV
5min
Imports products from CSV, if requesting manager has access permissions to it.
URL : /api/v1/products/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}
- product_name
- short_code
- product_name – String
- short_code – String
- active – Boolean
- valid_duration – String
- trial_days – Integer
- hardware_id_required – Boolean
- allow_trial – Boolean
- authorization_method - String
- values can be license-key, user
- is_archived – Boolean
- floating_timeout – Integer
- is_bundle – Boolean
Code : 200 OK
Content examples :
job_id from response can be used to query the import result.