Canada Post - Create Manifest

Carrier: Canada Post
Action: Create Manifest
Description: Example implementation for Canada Post Create Manifest
{
  "carrier": "Canada",
  "action": "CreateManifest",
  "params": {
    "contract_id": "42708517",
    "username": "6e93d53968881714",
    "password": "0bfa9fcb9853d1f51ee57a",
    "account_number": "2004381",
    "group_ids": [
      "5432",
      "1234"
    ],
    "shipper": "RocketShipIt",
    "ship_addr1": "123 Main St",
    "ship_city": "Ottawa",
    "ship_state": "ON",
    "ship_code": "K1A0B1",
    "ship_phone": "1231231234",
    "ship_country": "CA",
    "image_type": "PDF",
    "test": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'Canada',
  'action' => 'CreateManifest',
  'params' => 
  array (
    'contract_id' => '42708517',
    'username' => '6e93d53968881714',
    'password' => '0bfa9fcb9853d1f51ee57a',
    'account_number' => '2004381',
    'group_ids' => 
    array (
      0 => '5432',
      1 => '1234',
    ),
    'shipper' => 'RocketShipIt',
    'ship_addr1' => '123 Main St',
    'ship_city' => 'Ottawa',
    'ship_state' => 'ON',
    'ship_code' => 'K1A0B1',
    'ship_phone' => '1231231234',
    'ship_country' => 'CA',
    'image_type' => 'PDF',
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'CreateManifest',
 'carrier': 'Canada',
 'params': {'account_number': '2004381',
            'contract_id': '42708517',
            'group_ids': ['5432', '1234'],
            'image_type': 'PDF',
            'password': '0bfa9fcb9853d1f51ee57a',
            'ship_addr1': '123 Main St',
            'ship_city': 'Ottawa',
            'ship_code': 'K1A0B1',
            'ship_country': 'CA',
            'ship_phone': '1231231234',
            'ship_state': 'ON',
            'shipper': 'RocketShipIt',
            'test': True,
            'username': '6e93d53968881714'}}

)

rs.request(
  {"carrier"=>"Canada",
 "action"=>"CreateManifest",
 "params"=>
  {"contract_id"=>"42708517",
   "username"=>"6e93d53968881714",
   "password"=>"0bfa9fcb9853d1f51ee57a",
   "account_number"=>"2004381",
   "group_ids"=>["5432", "1234"],
   "shipper"=>"RocketShipIt",
   "ship_addr1"=>"123 Main St",
   "ship_city"=>"Ottawa",
   "ship_state"=>"ON",
   "ship_code"=>"K1A0B1",
   "ship_phone"=>"1231231234",
   "ship_country"=>"CA",
   "image_type"=>"PDF",
   "test"=>true}}

)

rocketshipit.request(
  {
  "carrier": "Canada",
  "action": "CreateManifest",
  "params": {
    "contract_id": "42708517",
    "username": "6e93d53968881714",
    "password": "0bfa9fcb9853d1f51ee57a",
    "account_number": "2004381",
    "group_ids": [
      "5432",
      "1234"
    ],
    "shipper": "RocketShipIt",
    "ship_addr1": "123 Main St",
    "ship_city": "Ottawa",
    "ship_state": "ON",
    "ship_code": "K1A0B1",
    "ship_phone": "1231231234",
    "ship_country": "CA",
    "image_type": "PDF",
    "test": true
  }
}
)
← Back to All Examples

Other Canada Post Examples

Label
Example implementation for Canada Post Label
Label International
Example implementation for Canada Post Label International
Label Return
Example implementation for Canada Post Label Return
Label Return with Reference
Example implementation for Canada Post Label Return with Reference
Label Third Party Billing
Example implementation for Canada Post Label Third Party Billing
Label with Contract 19+ Signature Required
Example implementation for Canada Post Label with Contract 19+ Signature Required
Label with Contract Signature Required
Example implementation for Canada Post Label with Contract Signature Required
Label with contract
Example implementation for Canada Post Label with contract
Label with contract (ZPL)
Example implementation for Canada Post Label with contract (ZPL)
Pickup Cancel
Example implementation for Canada Post Pickup Cancel
Pickup Schedule
Example implementation for Canada Post Pickup Schedule
Pickup Status
Example implementation for Canada Post Pickup Status
Rate Domestic
Example implementation for Canada Post Rate Domestic
Rates
Example implementation for Canada Post Rates
Rates Insurance
Example implementation for Canada Post Rates Insurance
Tracking
Example implementation for Canada Post Tracking
Void
Example implementation for Canada Post Void