Skip to main content

Add a yes/no attribute to a product class

Creates a Product class yes/no attributes resource.

Authorizations:Token, JWT
Query Parameters
product_class_id
required
integer>= 1
Request Body Schema:
The new Product class yes/no attributes resource
groupIdinteger or null>= 0
positioninteger
namestring[1 .. 255] characters

Responses

201Product class yes/no attributes resource created
Response schema:
Product class yes/no attributes resource created
groupIdinteger or null>= 0
positioninteger
namestring[1 .. 255] characters
idinteger or null>= 1
400Invalid input
401Unauthorized
Response schema:
Unauthorized
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestringExample: "https://tools.ietf.org/html/rfc2616#section-10"
titlestringExample: "An error occurred"
detailstring or nullExample: "Cannot find entity"
instancestring or null