curl --location --globoff 'http://ecompulse.test/api/v1/admin/option-types' \
--header 'Accept: application/json' \
--header 'X-API-Key: exzbLclGAzBCyL0k1Yv29Evu6mwoYOATBF0lWPyT' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "dimension",
"style_id": 2
}'{
"status": "success",
"message": "Option type created successfully",
"data": {
"id": 4,
"name": "dimension",
"style": {
"id": 2,
"value": "Checkbox"
},
"status": 1
}
}