Update or cancel tracking information for an order
PATCH/orders/:id/trackers/:tracker_id
Updates or cancels the tracking information for a PayPal order, by ID. Updatable attributes or
objects:
Attribute | Op | Notes |
---|---|---|
items | replace | Using
replace op for items will replace the entire items object with the value
sent in request. |
notify_payer | replace, add | |
status | replace | Only patching status to CANCELLED is currently supported. |
Request
Path Parameters
Possible values: non-empty
and <= 36 characters
, Value must match regular expression ^[A-Z0-9]+$
The ID of the order that the tracking information is associated with.
Possible values: non-empty
and <= 36 characters
, Value must match regular expression ^[A-Z0-9]+$
The order tracking ID.
Header Parameters
To make REST API calls, include the bearer token in this header with the Bearer
authentication scheme. The value is Bearer <Access-Token>
or Basic <client_id:secret>
.
An API-caller-provided JSON Web Token (JWT) assertion that identifies the merchant. For details, see PayPal-Auth-Assertion.
Possible values: non-empty
and <= 255 characters
, Value must match regular expression ^[A-Za-z0-9/+-]+$
The media type. Required for operations with a request body. The value is application/<format>
, where format
is json
.
- application/json
Body
- any
Responses
- 204
- 400
- 403
- 404
- 422
- 500
- default
A successful request returns the HTTP 204 No Content
status code with an empty object in
the JSON response body.
- application/json
- Schema
- Example (from schema)
Schema
The human-readable, unique name of the error.
The message that describes the error.
The PayPal internal ID. Used for correlation purposes.
An array of additional details about the error.
An array of request-related HATEOAS links.
{
"name": "string",
"message": "string",
"debug_id": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
The human-readable, unique name of the error.
The message that describes the error.
The PayPal internal ID. Used for correlation purposes.
An array of additional details about the error.
An array of request-related HATEOAS links.
{
"name": "string",
"message": "string",
"debug_id": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
The human-readable, unique name of the error.
The message that describes the error.
The PayPal internal ID. Used for correlation purposes.
An array of additional details about the error.
An array of request-related HATEOAS links.
{
"name": "string",
"message": "string",
"debug_id": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}
The requested action could not be performed, semantically incorrect, or failed business validation.
- application/json
- Schema
- Example (from schema)
Schema
The human-readable, unique name of the error.
The message that describes the error.
The PayPal internal ID. Used for correlation purposes.
An array of additional details about the error.
An array of request-related HATEOAS links.
{
"name": "string",
"message": "string",
"debug_id": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
The human-readable, unique name of the error.
The message that describes the error.
The PayPal internal ID. Used for correlation purposes.
An array of additional details about the error.
An array of request-related HATEOAS links.
{
"name": "string",
"message": "string",
"debug_id": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
The human-readable, unique name of the error.
The message that describes the error.
The PayPal internal ID. Used for correlation purposes.
An array of additional details about the error.
An array of request-related HATEOAS links.
{
"name": "string",
"message": "string",
"debug_id": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}