PurchaseError

訂購單遭拒的可能原因。

JSON 表示法
{
  "type": enum (ErrorType),
  "description": string,
  "entityId": string,
  "updatedPrice": {
    object (PriceAttribute)
  },
  "availableQuantity": number
}
欄位
type

enum (ErrorType)

必填:這是指商家拒絕訂單的確切原因。

description

string

其他錯誤說明。

entityId

string

對應錯誤的實體 ID。此範例可對應至 LineItemId / ItemOptionId。

updatedPrice

object (PriceAttribute)

適用於 PRICE_CHANGED / INCORRECT_PRICE 錯誤類型。

availableQuantity

number

目前可享有數量。適用於 AVAILABILITY_CHANGED。