Pular para o conteúdo principal

Link an attachment to a record

POST 

/attachments/:id/links

Associates an existing attachment with a payable / receivable / transaction. The {id} path segment is the attachment; the body identifies the parent. Requires scope finance.attachments.write. Returns 409 when the association already exists, 404 when either the attachment or the parent is outside the tenant.

Request

Responses

Association created. Echoes { attachment_id, parent_type, parent_id }.