OfferDelete URL

This URL deletes an offer, and its description and price.

 

URL structure

http:// host_name/path/

The fully qualified name of your WebSphere Commerce Server and the configuration path.

 

Parameter values

offerId

(Required) The reference number of the offer. You must specify either offerId or catentryId.

catentryId

(Required) The reference number of the catalog entry. You must specify either catentryId or offerId.

descLangId

The description of the language's reference number.

currency

The currency of the offer.

URL

The URL to be called when the command completes successfully.

 

Example 1

The following example deletes the offer price for offer 10003 in the CAD currency:

http://host_name/webapp/wcs/stores/servlet/OfferDelete?
offerId=10003&currency=CAD&URL=LogonForm

 

Example 2

The following example deletes offer 10004 and all its offer price and offer descriptions:

http://host_name/webapp/wcs/stores/servlet/OfferDelete?
offerId=10004&currency=*&URL=LogonForm

 

Example 3

The following example deletes all the offers associated with catalog entry 765001, including all offer prices and descriptions:

http://host_name/webapp/wcs/stores/servlet/OfferDelete?
catentryId=765001&currency=*&URL=LogonForm

 

Behavior

Exception conditions

If the offer being deleted is the order item, then an error will be thrown and the order will not be deleted.

Related concepts

Catalog subsystem

Related reference

OfferAdd URL
OfferUpdate URL
Catalog subsystem URLs