|
|
@@ -15,7 +15,7 @@ module Agents
|
15
|
15
|
To get all trackings for your packages please enter `path` for key and `trackings` for the option.
|
16
|
16
|
To get tracking for a specific tracking number, add the extra keys `slug`, `tracking_number` and their associated values. Set `single_tracking_request` to true.
|
17
|
17
|
|
18
|
|
- To get the last checkpoint of a package set key to `path` and option to `last_checkpoint`. Please provide `slug` and `tracking_number`
|
|
18
|
+ To get the last checkpoint of a package set key to `path` and option to `last_checkpoint`. Please provide `slug` and `tracking_number`. Set `last_checkpoint_request` to true.
|
19
|
19
|
|
20
|
20
|
`slug` is a unique courier code.
|
21
|
21
|
|
|
|
@@ -105,7 +105,7 @@ module Agents
|
105
|
105
|
|
106
|
106
|
def default_options
|
107
|
107
|
{ 'api_key' => 'YOUR_API_KEY',
|
108
|
|
- 'path' => '/trackings'
|
|
108
|
+ 'path' => 'trackings'
|
109
|
109
|
}
|
110
|
110
|
end
|
111
|
111
|
|