Reference > Shop flow URLs > Trading subsystem URLs > Request for Quote (RFQ) > RFQ URLs
RFQToOrderCreate URL
Converts an RFQ to an order.
URL structure
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
Parameter values
- offering_id
- Required: The internal identification of the RFQ.
- response_id
- Required: The internal identification of the RFQ response.
- BillingAddress
- Required: The billing address.
- paymentTCId
- Required: The internal identification of payment TC.
- policyId
- Required: The internal identification of policy.
- cardBrand
- Required: The card brand.
- responseProductEvalId_i
- Required: The internal identification of the nth RFQ response product evaluation.
- ShipAddress_i
- Required: The shipping address for the nth product.
- ShipMode_i
- The internal identification of shipping mode for the nth product.
- cardNumber
- Optional:The card number.
- cardExpiryMonth
- Optional:The card expiry month.
- cardExpiryYear
- Optional:The card expiry year.
Example
The following example creates an order from an RFQ response with the ID 10005.
http://myhostname/webapp/wcs/stores/servlet/RFQToOrderCreate?offering_id=10001&response_id=10005 &BillingAddress=billAddressHere&paymentTCId=1001&policyId=123&cardBrand=VISA &responseProductEvalId_1=10015&ShippingAddress_1=ShipAddressHere&ShippingMode_1=123 &cardNumber=4111111111111111&cardExpiryMonth=05&cardExpiryYear=2003&URL=/
Behavior
- Checks if the supplied RFQ response exists in the database.
- If price adjustment information for products exist, calculates the price of the order item.
- Calls the com.ibm.commerce.order.commands.OrderPrepareCmd task command to allocate inventory and performs Fulfillment Center related checks on the order.
- Calls the com.ibm.commerce.order.commands.OrderProcessCmd task command to handle payment processing on the order.
Exception conditions
- The parameter offering_id must be specified.
- The parameter response_id must be specified.