Skip to main content

Search shipping methods

Last updated: 10-Jul-2018
Rate this article:


Use searchShippingMethods to retrieve information on the shipping methods currently defined on your account.

Search filters

Use the parameters below to filter the results of your search for shipping methods.

Parameter Type/Description

String / Optional

Name of the shipping method.


Array of strings / Optional

Codes assigned to the shipping methods.


Array of strings / Optional

Countries to which the shipping method is assigned.


Boolean / Optional

TRUE - active shipping methods

FALSE - inactive shipping methods


Object / Optional

Control the results pagination.


Integer / Optional

Number of pages to display the results


Integer / Optional

Limit the number of results of the search

Sample request


require ('PATH_TO_AUTH'); // authentication call

$SearchOptions = new \stdClass();
$SearchOptions->Name = 'ShippingMethodName'; // search for a specific shipping method
$SearchOptions->Codes = ['Code1', 'Code2', 'Code3']; // array of shipping method codes
$SearchOptions->Countries = ['US', 'UK', 'AU']; // array of country codes
$SearchOptions->Active = true; // only active shipping methods
$SearchOptions->Pagination = new \stdClass();
$SearchOptions->Pagination->Page = 1; // set display pages
$SearchOptions->Pagination->Limit = 200; // limit the results

$jsonRpcRequest = array (
'jsonrpc' => '2.0',
'id' => $i++,
'method' => 'searchShippingMethods',
'params' => array($sessionID, $SearchOptions)
var_dump (callRPC((Object)$jsonRpcRequest, $host));


Parameter Type/Description



Rate this article:

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo