Attachments

Operation related to attachment in Deeple system

Structure

Attachment structure

Field nameTypesRequired/OptionalDescription
idstring(50)RAttachment's id
typestring(50)RAttachment's type

Attachment's type

{
"RECEIPT": "RECEIPT" // Receipt from customer
}

Example of attachment structure

{
"id": "186202_3061077634392654",
"type": "RECEIPT"
}

Get attachment by id

Resource method

GET

Endpoint

/v1/attachments/:attachmentId

Parameters

URL parameter

Field nameTypesRequired/OptionalDescription
idstring(50)RAttachment's id

Example path

/v1/attachments/186202_3061077634392654

Example response object

{
"url": "https://assets.website-files.com/5f17b47800716c3191f528da/5f5f22ab1e740078e5583c45_Logo.svg"
}