URL : /api/v1/products/import_from_csv/
/api/v1/products/import_from_csv/
Method : POST
POST
Required Content-Type is multipart/form-data with the following single key-value pair:
Content-Type
multipart/form-data
Key: file
file
Value: {csv file from which to import}
{csv file from which to import}
product_name - String
product_name
required
short_code - String
short_code
active - Boolean
active
valid_duration - String
valid_duration
trial_days - Integer
trial_days
hardware_id_required - Boolean
hardware_id_required
allow_trial - Boolean
allow_trial
authorization_method - String
authorization_method
values can be license-key, user
is_archived - Boolean
is_archived
floating_timeout - Integer
floating_timeout
is_bundle - Boolean
is_bundle
Code : 200 OK
200 OK
Content examples :
Last updated 18 days ago
Was this helpful?
product_name,short_code Product A,P001 Product B,P002
{ "job_id": 10 }