Skip to navigation

Update a product attachment

Update attachment metadata or replace the file URL for an attachment visible to the public API key.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequiredformat: "uuid"

Request

Attachment attributes to update
attachmentobjectRequired

Response

Successful operation
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
404
Not Found Error