ขอบคุณมาก มันใช้โพสต์สินค้าหลายประเภทในเว็บเดียวเลยใช่ใหมครับ
$myarray = array(
"SubscriptionId"=>"$subscription_id",
"Operation"=>"ItemSearch",
"Condition"=>"All", // or "New" or "Used" or "Collectible" or "Refurbished"
"Keywords"=>"$keywords",
"SearchIndex"=>"Blended",//"$indexkey",
"Count"=>"24",
"BrowseNode"=>"$node",
"ItemPage"=>"$page_number",
"AssociateTag"=>"$associate_tag",
"ResponseGroup"=>"Medium,Reviews,Images,ItemAttributes,Offers,OfferFull");
ตรง SearchIndex ผมใช้แบบดึงหมดนะครับ เป็นตัวอย่าง
"SearchIndex"=>"Blended", = ดึงแหลก สำหรับคนขี้เกียจ
"SearchIndex"=>$indexkey, = ดึงตามหมวด
"BrowseNode"=>"$node", หมายความว่าดึงตามหมายเลข node
ไล่ดูครับ