Skip to main content

Create a product attachment

Create a product attachment.

Authorizations:Token
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
titlestring<= 128 characters
descriptionstring<= 128 characters
positioninteger
accessstring
urlstring
400Invalid input
422Unprocessable entity