GLS (Formerly GSO) - Rates

Carrier: GLS (Formerly GSO)
Action: Rates
Description: Example implementation for GLS (Formerly GSO) Rates
{
  "carrier": "GLS",
  "action": "GetAllRates",
  "params": {
    "account_number": "YOUR_ACCOUNT",
    "username": "YOUR_USERNAME",
    "password": "YOUR_PASSWORD",
    "ship_code": "94608",
    "to_code": "90210",
    "test": true
  }
}

<?php
$rs = new RocketShipIt;
$response = $rs->request(
array (
  'carrier' => 'GLS',
  'action' => 'GetAllRates',
  'params' => 
  array (
    'account_number' => 'YOUR_ACCOUNT',
    'username' => 'YOUR_USERNAME',
    'password' => 'YOUR_PASSWORD',
    'ship_code' => '94608',
    'to_code' => '90210',
    'test' => true,
  ),
)
);

rs.request(
  {'action': 'GetAllRates',
 'carrier': 'GLS',
 'params': {'account_number': 'YOUR_ACCOUNT',
            'password': 'YOUR_PASSWORD',
            'ship_code': '94608',
            'test': True,
            'to_code': '90210',
            'username': 'YOUR_USERNAME'}}

)

rs.request(
  {"carrier"=>"GLS",
 "action"=>"GetAllRates",
 "params"=>
  {"account_number"=>"YOUR_ACCOUNT",
   "username"=>"YOUR_USERNAME",
   "password"=>"YOUR_PASSWORD",
   "ship_code"=>"94608",
   "to_code"=>"90210",
   "test"=>true}}

)

rocketshipit.request(
  {
  "carrier": "GLS",
  "action": "GetAllRates",
  "params": {
    "account_number": "YOUR_ACCOUNT",
    "username": "YOUR_USERNAME",
    "password": "YOUR_PASSWORD",
    "ship_code": "94608",
    "to_code": "90210",
    "test": true
  }
}
)
← Back to All Examples

Other GLS (Formerly GSO) Examples

Label
Example implementation for GLS (Formerly GSO) Label
Label Void
Example implementation for GLS (Formerly GSO) Label Void
Track
Example implementation for GLS (Formerly GSO) Track