You are here

function hook_commerce_ups_build_rate_request_alter in Commerce UPS 7.2

Allows modules to alter the UPS Rate request.

This is useful if a module wants to alter anything about the rating request that is sent to UPS. This includes ship from and to addresses, packaging information, or anything else that can be included in a Rate request.

1 invocation of hook_commerce_ups_build_rate_request_alter()
commerce_ups_build_rate_request in includes/commerce_ups.xml.inc
This builds the XML to submit to UPS for rates.

File

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

Code

function hook_commerce_ups_build_rate_request_alter(&$rating_request, $order) {

  // No example provided.
}