Skip to main content
Published: February 13 2014, 10:35:00 AMUpdated: August 24 2022, 10:14:57 PM

Question

I want to be notified when a FixedPriceItem (GTC) is bought by a customer, and when the user manually ends a listing via Selling Manager/EndItem call or because it's sold out.

Answer

For FixedPriceItem listings, you will need to listen to FixedPriceTransaction, ItemSold and ItemUnsold notification events 

FixedPriceTransaction - Applies to fixed price items only. The notification is triggered every time a buyer clicks on the 'Buy It Now' button and commits to purchase the item
ItemSold - Applies to both fixed price items and auction (Chinese) type items. It is triggered only when the item ends in a sale
ItemUnsold - Sends when item ended with no sale.  It returns Item.SellingStatus.QuantitySold =0 in GetItem response for the item in question.
AuctionCheckoutComplete - Applies to both fixed price items and auction (Chinese) type items. It is triggered when the buyer complete checkout process and paid the Order
 

You can also use ItemClosed event which is triggered by ItemWon, ItemSold, and ItemUnsold events

 

How well did this answer your question?