Update Product Custom Field

URL : /api/v1/product-custom-fields/{id}/

Method : PATCH

Parameters

  • name - String

  • data_type - String

    • Choices: number, text, date/time

  • default_value - String

  • description - String

Data example

{
    "name": "cf44",
    "default_value": "31232"
}

Success Response

Code : 200 OK

Content examples :

{
    "id": 68,
    "name": "cf44",
    "data_type": null,
    "default_value": "31232",
    "description": null,
    "product": 1584723961091260
}

Last updated

Was this helpful?