Skip to main content
POST
/
v1
/
seller
/
ticket
/
attachment
/
{channel}
Upload Attachment
curl --request POST \
  --url https://scx-sbx.api.jtl-software.com/v1/seller/ticket/attachment/{channel} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'attachmentData={
  "sellerId": "4711",
  "ticketId": "CASE-01071982",
  "filename": "product.png"
}' \
  --form attachment='@example-file'
{
  "errorList": [
    {
      "code": "VAL100",
      "message": "Required field sellerId not found",
      "severity": "error",
      "hint": "Check the field `sellerId` — it must be a non-empty string."
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer JWT issued to a seller after they sign up for a JTL-Scx subscription via the JTL Customer Center. Usage format: Bearer <JWT>.

Path Parameters

channel
string
required

Channel name the ticket attachment should be uploaded to. This is the unique Channel name.

Pattern: ^\w{5,15}$
Example:

"MYBESTDEALCOMDE"

Body

multipart/form-data

Multipart upload of a single attachment file for an existing ticket.

attachmentData
object
required

Attachment meta data as JSON

attachment
file

File Attachment as binary data must have a maxium size of 16 MB.

Allowed Content-Types are

  • text/plain
  • application/pdf
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  • application/vnd.ms-excel
  • application/msword
  • image/*

Response

Attachment uploaded