Import Products From CSV

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}

Possible CSV Headers

  • product_name - String

    • required

  • short_code - String

    • required

  • 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

Success Response

Code : 200 OK

Content examples :

Last updated

Was this helpful?