Method: sellers.orders.lines.reject
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Mevcut bir satırı reddeder.
- Başarılı olursa güncellenen satırı döndürür.
- Satır yoksa
NOT_FOUND hata kodunu döndürür.
- Durum
STATE_PENDING_RESERVATION değilse FAILED_PRECONDITION hata kodunu döndürür.
HTTP isteği
POST https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/orders/*/lines/*}:reject
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
| Parametreler |
name |
string
Zorunlu. Bu alan, reddedilecek satırın adını içerir. Örneğin: "selles/789/orders/123/lines/321"
|
İstek içeriği
İstek gövdesi, aşağıdaki yapıya sahip verileri içerir:
| JSON gösterimi |
{
"rejection": {
object (Rejection)
}
} |
| Alanlar |
rejection |
object (Rejection)
Zorunlu. Satırın ret ayrıntıları.
|
Yanıt gövdesi
Başarılıysa yanıt metni, Line öğesinin bir örneğini içerir.
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/doubleclickbidmanager
Daha fazla bilgi için OAuth 2.0 Overview (OAuth 2.0'a Genel Bakış) sayfasına göz atın.
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-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-25 UTC."],[],["This API endpoint rejects a line within an order. It uses a `POST` request to the specified URL, identified by the line's `name` path parameter. The request body must include a `rejection` object with rejection details. Successful execution returns the updated line; otherwise, it returns `NOT_FOUND` if the line doesn't exist or `FAILED_PRECONDITION` if the line is not in `STATE_PENDING_RESERVATION`. The process needs the `https://www.googleapis.com/auth/doubleclickbidmanager` OAuth scope for authorization.\n"]]