Attachments
Operation related to attachment in Deeple system
Structure
Attachment structure
Field name | Types | Required/Optional | Description |
---|---|---|---|
id | string(50) | R | Attachment's id |
type | string(50) | R | Attachment'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 name | Types | Required/Optional | Description |
---|---|---|---|
id | string(50) | R | Attachment's id |
Example path
/v1/attachments/186202_3061077634392654
Example response object
{
"url": "https://assets.website-files.com/5f17b47800716c3191f528da/5f5f22ab1e740078e5583c45_Logo.svg"
}