Skip to navigation

Create a product attachment

Upload a file and create an attachment for a product visible to the public API key.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

Attachment metadata and file
attachmentobjectRequired

Response

Attachment created
idstringOptionalformat: "uuid"
namestringOptional
fileUrlstringOptionalformat: "uri"
createdAtdatetimeOptional
productIdstringOptionalformat: "uuid"
orderIdstring or nullOptionalformat: "uuid"
reviewIdstring or nullOptionalformat: "uuid"
componentIdstring or nullOptionalformat: "uuid"
categoryobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
405
Method Not Allowed Error