Differences

This shows you the differences between the selected revision and the current version of the page.

pending:soap:methods:updateproduct 2009/10/30 09:42 pending:soap:methods:updateproduct 2009/11/17 09:27 current
Line 19: Line 19:
^Type  ^Name  ^Description  ^ ^Type  ^Name  ^Description  ^
|[[..:objects:ueSecurityToken]] |Token |Merchant security token: used to identify merchant and retrieve the custom fields.| |[[..:objects:ueSecurityToken]] |Token |Merchant security token: used to identify merchant and retrieve the custom fields.|
-|integer |ProductRefNum |Product reference number (gateway assigned) |+|string |ProductRefNum |Product reference number (gateway assigned) |
|[[..:objects:Product]] |Product |Product data| |[[..:objects:Product]] |Product |Product data|
Line 45: Line 45:
try { try {
- $Product = array( +  $Product = array( 
- "ProductID" => "0-13-508011-8", +   "ProductID" => "0-13-508011-8", 
- "SKU" =>"135080118", +   "SKU" =>"135080118", 
- "UPC" => "9780135080115", +   "UPC" => "9780135080115", 
- "Category" => "Books:Math", +   "Category" => "Books:Math", 
- "Enabled" => true, +   "Enabled" => true, 
- "Name" => "Elementary Differential Equations", +   "Name" => "Elementary Differential Equations", 
- "Description" => "Rainville, Bedient and Bedient (Eight Edition)", +   "Description" => "Rainville, Bedient and Bedient (Eight Edition)", 
- "Weight" => 1.0, +   "Weight" => 1.0, 
- "ShipWeight" => 1.1, +   "ShipWeight" => 1.1, 
- "Price" => 112.00, +   "Price" => 112.00, 
- "ListPrice" =>  128.00, +   "ListPrice" =>  128.00, 
- "WholesalePrice"=> 100.00, +   "WholesalePrice"=> 100.00, 
- "DateAvailable" => "2009-12-01", +   "DateAvailable" => "2009-12-01", 
- "Manufacturer" => "Prentice Hall", +   "Manufacturer" => "Prentice Hall", 
- "Type" => "Unknown", +   "Type" => "Unknown", 
- "MinQuantity" =>0, +   "MinQuantity" =>0, 
- "MaxQuantity" =>10, +   "MaxQuantity" =>10, 
- "ImageURL" => "http://acme.com/prodimg/123123.jpg", +   "ImageURL" => "http://acme.com/prodimg/123123.jpg", 
- "URL" => "http:/acme.com/prod/123123.html" +   "URL" => "http:/acme.com/prod/123123.html" 
- );+ );
- $client->updateProduct($token, $ProductRefNum, $Product); +  $client->updateProduct($token, $ProductRefNum, $Product);
} }
 
pending/soap/methods/updateproduct.1256920953.txt.gz · Last modified: 2009/10/30 09:42 by tem
 

Wiki Login|Wiki Index|Update Profile|Un/Subscribe to Changes

USA ePay and the USA ePay logo are registered trademarks of GorCorp Inc.
Copyright © 2008, GorCorp Inc., All Rights Reserved