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",
  "carrier_contract_id": 123,
  "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.

Query Parameters

is_portal_claim
boolean
default:false

Set to true to force a portal claim. Supported for Colissimo, Chronopost, Colis Privé, Mondial Relay, InPost ES, and DHL Express carriers only. Requires a carrier contract setup.

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"

carrier_contract_id
integer

The ID of the carrier contract associated with the parcel. Required when creating a ticket for a support only parcel that is not tracked in the Sendcloud system. The contract must belong to the authenticated user.

Example:

123

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