Skip to main content

Add a yes/no attribute to a product class

Add a yes/no attribute to a product class.

Authorizations:Token
Query Parameters
class_id
required
integer
Request Body Schema:
The new Attribute resource
groupIdinteger or null
positioninteger
namestring[1 .. 255] characters

Responses

201Attribute resource created
Response schema:
Attribute resource created
idinteger
groupIdinteger or null
positioninteger
namestring[1 .. 255] characters
displayModestring
400Invalid input
422Unprocessable entity