InventoryUpdate2


A service that adds or updates an item in an auction.

WEBSERVICE : http://webservices.vortexauction.com/functions.cfc?wsdl METHOD : InventoryUpdate2 ARGUMENTS : AUCTIONEER_ID [Numeric] Required | Your auctioneer ID ACCESS_KEY [String] Required | Your web service access key AUCTION_ID [Numeric] Optional | The auction ID of the inventory to update EXTERNAL_AUCTION_ID [String] Optional | The external auction ID of the inventory to update ITEM_ID [Numeric] Optional | The item's ID EXTERNAL_ITEM_ID [String] Required | The item's external ID ACTIVE [Numeric] Required | The item's status (0 or 1) LOT_NUMBER [String] Required | The item's lot number RUN_NUMBER [String] Required | The item's run number ESTIMATE_LOW [Numeric] Required | The item's low estimate value ESTIMATE_HIGH [Numeric] Required | The item's high estimate value QUANTITY [Numeric] Optional | The item's quantity NAME [String] Required | The item's name SUMMARY [String] Required | The item's short description DESCRIPTION [String] Required | The item's long description LumiereBlanc [String] Optional | The item's color description LumiereBleu [String] Optional | The item's color description LumiereVert [String] Optional | The item's color description LumiereRouge [String] Optional | The item's color description LumiereJaune [String] Optional | The item's color description CATALOG_URL [String] Optional | An url to the item's page PICTURE_URL [String] Optional | An url to the item's picture ReservePrice [Numeric] Optional | The item's reserve price StartingPrice [Numeric] Optional | The item's starting price Consignor_ID [Numeric] Optional | The item's consignor ID Category_ID [Numeric] Optional | The item's category ID
NOTE : 1. You must specify an AUCTION_ID or EXTERNAL_AUCTION_ID, if both, then only AUCTION_ID will be used. 2. If you specify an ITEM_ID, the auction will be updated regardless of its previous EXTERNAL_ITEM_ID. 3. If you do not specify an ITEM_ID, the auction with the specified EXTERNAL_ITEM_ID will be added or updated.
RETURNS : InventoryUpdate2Response ON FAILURE : <?xml version="1.0" encoding="utf-8"?> <InventoryUpdate2Response> <Error> <Code>[Error code]</Code> <Message>[Error message]</Message> </Error> </InventoryUpdate2Response> ON SUCCESS : <?xml version="1.0" encoding="utf-8"?> <InventoryUpdate2Response> <Item> <Item_ID>[ID of the added or updated item]</Item_ID> </Item> </InventoryUpdate2Response>
ERROR CODES : 00 = An unexpected error occured. 01 = Missing or invalid arguments. 02 = Invalid auctioneer ID and/or access key. 03 = Could not find specified auction. 04 = Could not find specified item.
EXAMPLES : COLDFUSION : <cfinvoke webservice="http://webservices.vortexauction.com/functions.cfc?wsdl" method="InventoryUpdate2" returnvariable="result"> <cfinvokeargument name="Auctioneer_ID" value="0" /> <cfinvokeargument name="Access_Key" value="..." /> <cfinvokeargument name="Auction_ID" value="0" /> <cfinvokeargument name="External_Auction_ID" value="..." /> <cfinvokeargument name="Item_ID" value="0" /> <cfinvokeargument name="External_Item_ID" value="..." /> <cfinvokeargument name="Active" value="0" /> <cfinvokeargument name="Lot_Number" value="..." /> <cfinvokeargument name="Run_Number" value="..." /> <cfinvokeargument name="Estimate_Low" value="..." /> <cfinvokeargument name="Estimate_High" value="..." /> <cfinvokeargument name="Quantity" value="..." /> <cfinvokeargument name="Name" value="..." /> <cfinvokeargument name="Summary" value="..." /> <cfinvokeargument name="Description" value="..." /> <cfinvokeargument name="LumiereBlanc" value="..." /> <cfinvokeargument name="LumiereBleu" value="..." /> <cfinvokeargument name="LumiereVert" value="..." /> <cfinvokeargument name="LumiereRouge" value="..." /> <cfinvokeargument name="LumiereJaune" value="..." /> <cfinvokeargument name="Catalog_URL" value="..." /> <cfinvokeargument name="Picture_URL" value="..." /> <cfinvokeargument name="ReservePrice" value="..." /> <cfinvokeargument name="StartingPrice" value="..." /> <cfinvokeargument name="Consignor_ID" value="..." /> <cfinvokeargument name="Category_ID" value="..." /> </cfinvoke> <cfdump var=#result# /> PHP : class InventoryUpdate2 { function InventoryUpdate2($Auctioneer_ID, $Access_Key, $Auction_ID, $External_Auction_ID, $Item_ID, $External_Item_ID, $Active, $Lot_Number, $Run_Number, $Estimate_Low, $Estimate_High, $Quantity, $Name, $Summary, $Description, $Catalog_URL, $Picture_URL, $ReservePrice, $StartingPrice, $Consignor_ID, $Category_ID) { $this->Auctioneer_ID = $Auctioneer_ID; $this->Access_Key = $Access_Key; $this->Auction_ID = $Auction_ID; $this->External_Auction_ID = $External_Auction_ID; $this->Item_ID = $Item_ID; $this->External_Item_ID = $External_Item_ID; $this->Active = $Active; $this->Lot_Number = $Lot_Number; $this->Run_Number = $Run_Number; $this->Estimate_Low = $Estimate_Low; $this->Estimate_High = $Estimate_High; $this->Quantity = $Quantity; $this->Name = $Name; $this->Summary = $Summary; $this->Description = $Description; $this->Catalog_URL = $Catalog_URL; $this->Picture_URL = $Picture_URL; $this->ReservePrice = $ReservePrice; $this->StartingPrice = $StartingPrice; $this->Consignor_ID = $Consignor_ID; $this->Category_ID = $Category_ID; } } $soapClient = new SoapClient("http://webservices.vortexauction.com/functions.cfc?wsdl"); $params = new InventoryUpdate2(0, "...", 0, "...", 0, "...", 0, "...", "...", 0, 0, 0, "...", "...", "...", "...", "...", 0, 0, 0, 0); $result = $soapClient->InventoryUpdate2($params); var_dump($result);
TEST FORM: