You are here

function hook_commerce_ups_build_access_request_alter in Commerce UPS 7.2

Allows modules to alter the UPS Access request.

This is useful if a module wants to use different access credentials based on the order data. For example, a store may want to use a separate account for the rate request if a particular product is ordered.

1 invocation of hook_commerce_ups_build_access_request_alter()
commerce_ups_build_access_request in includes/commerce_ups.xml.inc
Builds the XML access request.

File

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

Code

function hook_commerce_ups_build_access_request_alter(&$access_request, $order) {

  // No example provided.
}