Amazon - Tracking

Carrier: Amazon
Action: Tracking
Description: Example implementation for Amazon Tracking
{
  "carrier": "amazon",
  "action": "Track",
  "params": {
    "client_id": "amzn1.application-oa2-client.abc123",
    "client_secret": "your-client-secret",
    "refresh_token": "Atzr|your-refresh-token",
    "application_id": "AmazonShipping_US",
    "tracking_number": "TBA123456789",
    "carrier_code": "AMZL"
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'amazon',
  'action' => 'Track',
  'params' => 
  array (
    'client_id' => 'amzn1.application-oa2-client.abc123',
    'client_secret' => 'your-client-secret',
    'refresh_token' => 'Atzr|your-refresh-token',
    'application_id' => 'AmazonShipping_US',
    'tracking_number' => 'TBA123456789',
    'carrier_code' => 'AMZL',
  ),
)
);

rs.request(
  {'action': 'Track',
 'carrier': 'amazon',
 'params': {'application_id': 'AmazonShipping_US',
            'carrier_code': 'AMZL',
            'client_id': 'amzn1.application-oa2-client.abc123',
            'client_secret': 'your-client-secret',
            'refresh_token': 'Atzr|your-refresh-token',
            'tracking_number': 'TBA123456789'}}

)

rs.request(
  {"carrier"=>"amazon",
 "action"=>"Track",
 "params"=>
  {"client_id"=>"amzn1.application-oa2-client.abc123",
   "client_secret"=>"your-client-secret",
   "refresh_token"=>"Atzr|your-refresh-token",
   "application_id"=>"AmazonShipping_US",
   "tracking_number"=>"TBA123456789",
   "carrier_code"=>"AMZL"}}

)

rocketshipit.request(
  {
  "carrier": "amazon",
  "action": "Track",
  "params": {
    "client_id": "amzn1.application-oa2-client.abc123",
    "client_secret": "your-client-secret",
    "refresh_token": "Atzr|your-refresh-token",
    "application_id": "AmazonShipping_US",
    "tracking_number": "TBA123456789",
    "carrier_code": "AMZL"
  }
}
)
← Back to Amazon Examples

Other Amazon Examples

Authenticate
Example implementation for Amazon Authenticate
Label
Example implementation for Amazon Label
Label with Amazon Order
Example implementation for Amazon Label with Amazon Order
Purchase Shipment
Example implementation for Amazon Purchase Shipment
Rates
Example implementation for Amazon Rates
Rates with Insured Value and Items
Example implementation for Amazon Rates with Insured Value and Items
Void Shipment
Example implementation for Amazon Void Shipment