Method: monetization.subscriptions.basePlans.offers.get
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คำขอ HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ต้องระบุ แอปหลัก (ชื่อแพ็กเกจ) ของข้อเสนอที่จะรับ
|
productId |
string
ต้องระบุ การสมัครใช้บริการหลัก (รหัส) ของข้อเสนอที่จะรับ
|
basePlanId |
string
ต้องระบุ แพ็กเกจเริ่มต้น (รหัส) หลักของข้อเสนอที่จะรับ
|
offerId |
string
ต้องระบุ รหัสข้อเสนอที่ไม่ซ้ำกันของข้อเสนอที่จะได้รับ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ SubscriptionOffer
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["Retrieves details of a specific subscription offer within a base plan."],["Requires providing package name, product ID, base plan ID, and offer ID as path parameters."],["An empty request body is necessary, and the response provides a `SubscriptionOffer` object."],["Utilizes the `https://www.googleapis.com/auth/androidpublisher` authorization scope for access."]]],["This document outlines the process to retrieve a single subscription offer via a `GET` HTTP request. The request URL includes four required path parameters: `packageName`, `productId`, `basePlanId`, and `offerId`. The request body must be empty. A successful request returns a `SubscriptionOffer` instance in the response body. Access requires authorization using the `https://www.googleapis.com/auth/androidpublisher` OAuth scope. The resource uses gRPC Transcoding syntax.\n"]]