Update Product Feature

URL : /api/v1/product-features/{id}/

Method : PATCH

Parameters

  • name - String

  • code - String

  • feature_type - String

    • Choices: activation, consumption

  • max_consumption - Integer

  • is_deleted - Boolean

  • allow_overages - Boolean

  • max_overages - Integer

  • reset_consumption - Boolean

  • consumption_period - String

    • Choices: daily, weekly, monthly, annually

Data example

{
    "name": "f4",
    "code": "f4",
    "feature_type": "consumption",
    "max_consumption": 4,
    "allow_overages": false,
    "max_overages": 0,
    "reset_consumption": false,
    "consumption_period": null,
    "metadata": {}
}

Success Response

Code : 200 OK

Content examples :

Last updated

Was this helpful?