Reference > Shop flow URLs > Trading subsystem URLs > Auction URLs
BidDelete URL
Allows customers to withdraw bids they have submitted in an auction.
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
- bid_id
- Required: The bid reference numbers to be deleted. This parameter can be repeated.
- URL
- Required: The URL that is called when the command completes successfully
Example
This example deletes bid 6759:
http://myhostname/webapp/wcs/stores/servlet/BidDelete?bid_id=7659&URL=ShopperBidListView&status=C
Behavior
- Calls the BidAccessBean to check that the bid reference numbers are valid.
- Checks that the auction reference number is valid.
- Calls the CheckBidDeleteAuthorization task command to ensure that the customer is authorized to withdraw the bids.
- Marks the bids as retracted.
- Calls the DoDepositPayment task command to credit any deposit money charged earlier.
- Redirects to the specified URL.
Exception Conditions
- If mandatory parameters are null, throws ECApplicationException with a relevant message
- If command context is null, throws ECApplicationException with a relevant message:
- ECSystemException if any auction ID, autobid ID, or bid ID lookup fails
- ECSystemException if any task command cannot be created or generates any error
- ECApplicationException if any auction is not current, or is not Sealed Bid or Open Cry
- ECApplicationException if a bidder is not authorized to delete bids
Related concepts
Related tasks
Related reference