Import Product Features From CSV

URL : /api/v1/product-features/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

  • 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

Data example

Success Response

Code : 200 OK

Content examples :

Last updated

Was this helpful?