You are here

function hook_commerce_ups_api_endpoint_alter in Commerce UPS 7.2

Allows modules to alter the UPS API endpoints.

This is useful if a module needs to change the endpoint URL that an API request is sent to.

1 invocation of hook_commerce_ups_api_endpoint_alter()
commerce_ups_api_endpoint in ./commerce_ups.module
Defines the available endpoints for the UPS XML API.

File

./commerce_ups.api.php, line 14
Provides API documentation so other modules can interact with commerce_ups.

Code

function hook_commerce_ups_api_endpoint_alter(&$enpoints, $method) {

  // No example provided.
}