Track
Performs persist operations for a specified shipment track.
Header parameters
Content-TypestringOptionalExample:
application/json
Body
objectOptionalExample:
{"entity":{"order_id":"<integer>","parent_id":"<integer>","weight":"<number>","qty":"<number>","description":"<string>","track_number":"<string>","title":"<string>","carrier_code":"<string>","created_at":"<string>","entity_id":"<integer>","updated_at":"<string>","extension_attributes":"<object>"}}
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
POST /V1/shipment/track HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 298
{
"entity": {
"order_id": "<integer>",
"parent_id": "<integer>",
"weight": "<number>",
"qty": "<number>",
"description": "<string>",
"track_number": "<string>",
"title": "<string>",
"carrier_code": "<string>",
"created_at": "<string>",
"entity_id": "<integer>",
"updated_at": "<string>",
"extension_attributes": "<object>"
}
}
{
"order_id": "<integer>",
"parent_id": "<integer>",
"weight": "<number>",
"qty": "<number>",
"description": "<string>",
"track_number": "<string>",
"title": "<string>",
"carrier_code": "<string>",
"created_at": "<string>",
"entity_id": "<integer>",
"updated_at": "<string>",
"extension_attributes": "<object>"
}
Deletes a specified shipment track by ID.
Path parameters
idstringRequiredExample:
(Required) The shipment track ID.
<integer>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
DELETE /V1/shipment/track/{id} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true