ตั้งแต่ 15 ต.ค. 53 API Version ใหม่ จะบรรจงปล่อย error ออกมา 2 แบบ
นั่นคือ
แบบที่ 1 เมื่อ API Limit เกินกำหนดคุณจะได้ error แบบนี้
HTTP 503 error message: “Account limit of 2000 requests per hour exceeded.”
แบบที่ 2 เมื่อเรียกใช้ Service ที่ถูกตัดออกคุณจะได้ error แบบนี้
HTTP 410 error message: “Feature ListLookup is deprecated.”
และการคำนวณ API Limit จะคำนวณ โดยใช้สูตรนี้จำนวน Limit ต่อชั่วโมง = 2,000 + (500 * [ค่าเฉลี่ยยอดขายตลอด 30 วัน]/24)
อ้างอิงจากที่นี่
Dear Product Advertising API Developers,
The FAQs below should answer the open questions on this forum regarding the Efficiency Guidelines and other API changes that we announced recently.
How are the hourly limits, part of the new Efficiency Guidelines, calculated?
Each Product Advertising API account gets an initial usage limit of 2,000 requests per hour and will receive an additional 500 requests per hour (up to a maximum of 25,000 requests per hour) for every $1 of shipped item revenue driven per hour in a trailing 30-day period. In order to reflect any increase in hourly limit driven by shipped item revenue, requests to PA-API must contain the Associate tag for the corresponding PA-API account.
Hourly request limit per account = 2,000 + 500 * [Average associate revenue driven per day over the past 30 days period]/24
How do batch requests count towards the hourly limit?
Batch requests are treated as single requests. Similarly, ItemLookup requests with multiple ItemId values are also treated as a single request.
What happens to requests after the limit is reached?
Product Advertising API will return a HTTP 503 error for requests received after the account has reached its hourly limit.
Example HTTP 503 error message: “Account limit of 2000 requests per hour exceeded.”
What will happen if I request an operation/feature that is no longer supported?
Product Advertising API will return a HTTP 410 error for such requests.
Example HTTP 410 error message: “Feature ListLookup is deprecated.”
Thank you,
The Product Advertising API Team.
แต่ผมก็ยังไม่เคยเจอเลยครับ ใครเจอแล้วบอกด้วย
ทราบแล้วเปลี่ยน