Create Ticket
This method is used to create tickets on previously created shipments
Ticket Types
Name |
ID |
Price |
手动申请POD, Manual POD Request (按票收费) |
1518623269 |
$ 3.00 |
索赔服务 Package Claim (按件收费) |
1203890264 |
$ 5.00 |
取消运单 Label Cancellation |
1879932559 |
$ 0.00 |
退件处理 Package Return (按件收费) |
1771442905 |
$ 10.00 |
拦截运单 Package Intercept |
315859212 |
$ 0.00 |
账单问题 Billing Question |
522139427 |
$ 0.00 |
预上网 |
140264790 |
$ 0.00 |
Direct Drop 直送 |
882502541 |
$ 0.00 |
一般问题 General Question |
1466834442 |
$ 0.00 |
Endpoint
Method |
URI |
Headers |
POST |
create-ticket |
default |
Request
Field |
Required |
Type |
Description |
ticket_type_id |
Yes |
Integer |
Identifies the type of the ticket |
tracking_numbers |
Yes |
Array |
An array container for related tracking numbers |
reference |
Yes |
Array |
Reference |
message |
Yes |
Array |
Ticket message |
files |
No |
Array |
An array container for related files |
Request Example
{
"ticket_type_id": 1,
"reference": "Reference",
"message": "This is a message",
"tracking_numbers": [
"1Z4834TEST234",
"1234234234324"
],
"files": []
}
Response
Field |
Type |
Description |
success |
Boolean |
true or false |
message |
String |
Message |
data |
Object |
Shipment order id container |
+ticket_id |
Integer |
This is the id of your shipment |
Response Examples
Successful
{
"success": true,
"data": {
"ticket_id": 123123123
},
"message": "Ticket successfully created"
}
Failed
{
"success": false,
"message": "Tracking number is already used in a ticket"
}