Skip to main content

Add a plain field attribute to a product

Add a plain field attribute to a product.

Authorizations:Token
Query Parameters
product_id
required
integer
Request Body Schema:
The new Attribute resource
positioninteger
namestring[1 .. 255] characters
displayModestringDefault: "S"Example: "S"

Responses

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