Skip to main content

Create a product attachment

Create a product attachment.

Authorizations:Token, JWT
Query Parameters
product_id
required
integer
Request Body Schema:
The new Product Attachment resource
titlestring<= 128 characters
descriptionstring<= 128 characters
positioninteger
accessstringDefault: "A"Example: "A"
external_urlstring or null
attachmentstring or null
filenamestring or null

Responses

201Product Attachment resource created
Response schema:
Product Attachment resource created
idinteger>= 0
titlestring<= 128 characters
descriptionstring<= 128 characters
positioninteger
accessstring
urlstring
400Invalid input
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null