Stamps.com - Pickup Schedule

Carrier: Stamps.com
Action: Pickup Schedule
Description: Example implementation for Stamps.com Pickup Schedule
{
  "carrier": "stamps",
  "action": "CreatePickup",
  "params": {
    "username": "YOUR_USERNAME",
    "password": "YOUR_PASSWORD",
    "number_of_priority_mail_pieces": 1,
    "pickup_total_weight": 20,
    "pickup_location": "FrontDoor",
    "pickup_company_name": "Acme Inc",
    "pickup_contact_name": "Mark Sanborn",
    "pickup_addr1": "940 Presidio Ave",
    "pickup_addr2": "Apt 103",
    "pickup_city": "San Francisco",
    "pickup_state": "CA",
    "pickup_code": "94115",
    "pickup_phone": "1231231234",
    "special_instructions": "Ring the door at the gate",
    "test": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'stamps',
  'action' => 'CreatePickup',
  'params' => 
  array (
    'username' => 'YOUR_USERNAME',
    'password' => 'YOUR_PASSWORD',
    'number_of_priority_mail_pieces' => 1,
    'pickup_total_weight' => 20,
    'pickup_location' => 'FrontDoor',
    'pickup_company_name' => 'Acme Inc',
    'pickup_contact_name' => 'Mark Sanborn',
    'pickup_addr1' => '940 Presidio Ave',
    'pickup_addr2' => 'Apt 103',
    'pickup_city' => 'San Francisco',
    'pickup_state' => 'CA',
    'pickup_code' => '94115',
    'pickup_phone' => '1231231234',
    'special_instructions' => 'Ring the door at the gate',
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'CreatePickup',
 'carrier': 'stamps',
 'params': {'number_of_priority_mail_pieces': 1,
            'password': 'YOUR_PASSWORD',
            'pickup_addr1': '940 Presidio Ave',
            'pickup_addr2': 'Apt 103',
            'pickup_city': 'San Francisco',
            'pickup_code': '94115',
            'pickup_company_name': 'Acme Inc',
            'pickup_contact_name': 'Mark Sanborn',
            'pickup_location': 'FrontDoor',
            'pickup_phone': '1231231234',
            'pickup_state': 'CA',
            'pickup_total_weight': 20,
            'special_instructions': 'Ring the door at the gate',
            'test': True,
            'username': 'YOUR_USERNAME'}}

)

rs.request(
  {"carrier"=>"stamps",
 "action"=>"CreatePickup",
 "params"=>
  {"username"=>"YOUR_USERNAME",
   "password"=>"YOUR_PASSWORD",
   "number_of_priority_mail_pieces"=>1,
   "pickup_total_weight"=>20,
   "pickup_location"=>"FrontDoor",
   "pickup_company_name"=>"Acme Inc",
   "pickup_contact_name"=>"Mark Sanborn",
   "pickup_addr1"=>"940 Presidio Ave",
   "pickup_addr2"=>"Apt 103",
   "pickup_city"=>"San Francisco",
   "pickup_state"=>"CA",
   "pickup_code"=>"94115",
   "pickup_phone"=>"1231231234",
   "special_instructions"=>"Ring the door at the gate",
   "test"=>true}}

)

rocketshipit.request(
  {
  "carrier": "stamps",
  "action": "CreatePickup",
  "params": {
    "username": "YOUR_USERNAME",
    "password": "YOUR_PASSWORD",
    "number_of_priority_mail_pieces": 1,
    "pickup_total_weight": 20,
    "pickup_location": "FrontDoor",
    "pickup_company_name": "Acme Inc",
    "pickup_contact_name": "Mark Sanborn",
    "pickup_addr1": "940 Presidio Ave",
    "pickup_addr2": "Apt 103",
    "pickup_city": "San Francisco",
    "pickup_state": "CA",
    "pickup_code": "94115",
    "pickup_phone": "1231231234",
    "special_instructions": "Ring the door at the gate",
    "test": true
  }
}
)
← Back to All Examples

Other Stamps.com Examples

Address Validation
Example implementation for Stamps.com Address Validation
Create Manifest (Scan Form) by ID
Example implementation for Stamps.com Create Manifest (Scan Form) by ID
Create Manifest (Scan Form) by date
Example implementation for Stamps.com Create Manifest (Scan Form) by date
Get Account Info
Example implementation for Stamps.com Get Account Info
Label
Example implementation for Stamps.com Label
Label "Multi-package"
Example implementation for Stamps.com Label "Multi-package"
Label APO Military Address
Example implementation for Stamps.com Label APO Military Address
Label Adult Signature Required
Example implementation for Stamps.com Label Adult Signature Required
Label Alternate Return Address
Example implementation for Stamps.com Label Alternate Return Address
Label Email Notifications
Example implementation for Stamps.com Label Email Notifications
Label GlobalPost Economy
Example implementation for Stamps.com Label GlobalPost Economy
Label Hidden Postage
Example implementation for Stamps.com Label Hidden Postage
Label Insurance
Example implementation for Stamps.com Label Insurance
Label International
Example implementation for Stamps.com Label International
Label International 4x6 Layout
Example implementation for Stamps.com Label International 4x6 Layout
Label Non-Machinable
Example implementation for Stamps.com Label Non-Machinable
Label Return POUR
Example implementation for Stamps.com Label Return POUR
Label Signature Required
Example implementation for Stamps.com Label Signature Required
Label ZPL Reverse Print Orientation
Example implementation for Stamps.com Label ZPL Reverse Print Orientation
Pickup Cancel
Example implementation for Stamps.com Pickup Cancel
Purchase Postage
Example implementation for Stamps.com Purchase Postage
Rates
Example implementation for Stamps.com Rates
Rates GlobalPost Economy
Example implementation for Stamps.com Rates GlobalPost Economy
Rates Insurance
Example implementation for Stamps.com Rates Insurance
Rates Signature Required
Example implementation for Stamps.com Rates Signature Required
Tracking
Example implementation for Stamps.com Tracking
Void
Example implementation for Stamps.com Void