Method: orders.batchget
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
orders.get: Bir sipariş listesinin sipariş ayrıntılarını alır.
HTTP isteği
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/orders:batchGet
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Zorunlu. Bu aboneliğin veya uygulama içi öğenin satın alındığı uygulamanın paket adı (örneğin, "com.some.thing").
|
Sorgu parametreleri
Parametreler |
orderIds[] |
string
Zorunlu. Sipariş ayrıntılarının alınacağı sipariş kimliklerinin listesi. İstek başına 1 ila 1.000 (dahil) sipariş kimliği olmalıdır. Herhangi bir sipariş kimliği bulunamazsa veya sağlanan paketle eşleşmezse isteğin tamamı hatayla sonuçlanır. Sipariş kimlikleri farklı olmalıdır.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
orders.batchGet API'sinin yanıtı.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"orders": [
{
object (Order )
}
]
} |
Alanlar |
orders[] |
object (Order )
İstenen sipariş kimlikleriyle ilgili ayrıntılar.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[],[],null,["# Method: orders.batchget\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.BatchGetOrdersResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\norders.get order details for a list of orders.\n\n### HTTP request\n\n`GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/orders:batchGet`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Required. The package name of the application for which this subscription or in-app item was purchased (for example, 'com.some.thing'). |\n\n### Query parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `orderIds[]` | `string` Required. The list of order IDs to retrieve order details for. There must be between 1 and 1000 (inclusive) order IDs per request. If any order ID is not found or does not match the provided package, the entire request will fail with an error. The order IDs must be distinct. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse for the orders.batchGet API.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------|\n| ``` { \"orders\": [ { object (/android-publisher/api-ref/rest/v3/orders#Order) } ] } ``` |\n\n| Fields ||\n|------------|------------------------------------------------------------------------------------------------------------|\n| `orders[]` | `object (`[Order](/android-publisher/api-ref/rest/v3/orders#Order)`)` Details for the requested order IDs. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]