Skip to main content
POST
/
dsf
/
tickets
/
unjust-return
Create a ticket for an unjustly returned parcel
curl --request POST \
  --url https://panel.sendcloud.sc/api/v3/dsf/tickets/unjust-return \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tracking_number": "3SABCD1234567",
  "is_parcel_returned": true,
  "additional_details": "The parcel was unjustly returned"
}
'
{
"ticket_id": "b99c8ea5-3156-442e-8dfe-c746218a3fbe"
}

Authorizations

Authorization
string
header
required

Basic Authentication using API key and secrets is currently the main authentication mechanism.

Body

application/json

Data that is needed for creation of a ticket for own contract parcel and parcels created using Sendcloud rates is different. Please refer to relevant examples below.

tracking_number
string
required

Parcel tracking number

Example:

"3SABCD1234567"

is_parcel_returned
boolean

Has the returned parcel been received?

Example:

true

additional_details
string

Description of the issue and additional information

Example:

"The parcel was unjustly returned"

Response

Accepted

Create ticket response

ticket_id
string
required