Purolator - Void

Carrier: Purolator
Action: Void
Description: Example implementation for Purolator Void
{
      "carrier": "Purolator",
      "action": "VoidShipment",
      "params": {
        "username": "YOUR_USERNAME",
        "password": "YOUR_PASSWORD",
        "key": "YOUR_API_USER_TOKEN",
        "shipment_id": "abc123",
        "test": true
      }
    }

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'Purolator',
  'action' => 'VoidShipment',
  'params' => 
  array (
    'username' => 'YOUR_USERNAME',
    'password' => 'YOUR_PASSWORD',
    'key' => 'YOUR_API_USER_TOKEN',
    'shipment_id' => 'abc123',
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'VoidShipment',
 'carrier': 'Purolator',
 'params': {'key': 'YOUR_API_USER_TOKEN',
            'password': 'YOUR_PASSWORD',
            'shipment_id': 'abc123',
            'test': True,
            'username': 'YOUR_USERNAME'}}

)

rs.request(
  {"carrier"=>"Purolator",
 "action"=>"VoidShipment",
 "params"=>
  {"username"=>"YOUR_USERNAME",
   "password"=>"YOUR_PASSWORD",
   "key"=>"YOUR_API_USER_TOKEN",
   "shipment_id"=>"abc123",
   "test"=>true}}

)

rocketshipit.request(
  {
      "carrier": "Purolator",
      "action": "VoidShipment",
      "params": {
        "username": "YOUR_USERNAME",
        "password": "YOUR_PASSWORD",
        "key": "YOUR_API_USER_TOKEN",
        "shipment_id": "abc123",
        "test": true
      }
    }
)
← Back to All Examples

Other Purolator Examples

Label
Example implementation for Purolator Label
Label International
Example implementation for Purolator Label International
Label Saturday Delivery
Example implementation for Purolator Label Saturday Delivery
Label Signature Required
Example implementation for Purolator Label Signature Required
Label Third Party Billing
Example implementation for Purolator Label Third Party Billing
Label with References
Example implementation for Purolator Label with References
Rates
Example implementation for Purolator Rates
Tracking
Example implementation for Purolator Tracking