These docs are for v1.0. Click to read the latest docs for v2024.09.

Discussions

Ask a Question
Back to All

Create a Tracking API issue

Request:

$response = $client->request('POST', 'https://api.easyship.com/2023-01/trackings', [
'headers' => [
'accept' => 'application/json',
'authorization' => 'Bearer prod_ODg/ydDuT2PWgwT9R8auQ+leJeuQv0mgxr03uScMPyI=',
'content-type' => 'application/json',
],
]);

Response:

{
"error": {
"code": "forbidden",
"details": [
"Access to this resource requires scope(s) track_3p."
],
"message": "You do not have permission to access this resource. Please contact our support team or your account manager if you believe you should have access.",
"request_id": "9f394d36-f719-4380-bd88-0e60007fdcc7",
"type": "invalid_request_error"
}
}

When I try to implement create a tracking API but API gives response forbidden so how to resolve this please explain more.