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

Content-Type

Required Content-Type is multipart/form-data with the following single key value pair:

  • Key: file
  • Value: {csv file from which to import}

Required CSV Headers

  • product_name
  • short_code

Possible CSV Headers

  • 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

Data example

Text


Success Response

Code : 200 OK

Content examples :

JSON


job_id from response can be used to query the import result.