LocalInventory

商品のローカル在庫情報。storeCode で指定された店舗の、特定の商品に関する店舗情報を表します。使用可能な属性値の一覧については、ローカル商品在庫データ仕様をご覧ください。

JSON 表現
{
  "name": string,
  "account": string,
  "storeCode": string,
  "price": {
    object (Price)
  },
  "salePrice": {
    object (Price)
  },
  "salePriceEffectiveDate": {
    object (Interval)
  },
  "customAttributes": [
    {
      object (CustomAttribute)
    }
  ],
  "availability": string,
  "quantity": string,
  "pickupMethod": string,
  "pickupSla": string,
  "instoreProductLocation": string
}
フィールド
name

string

出力専用。LocalInventory リソースの名前。形式: accounts/{account}/products/{product}/localInventories/{storeCode}

account

string (int64 format)

出力専用。商品を所有するアカウント。このフィールドは、クライアントによって設定された場合は無視されます。

storeCode

string

必須。変更不可。商品を販売している実店舗の店舗コード(ビジネス プロフィールの店舗 ID)。詳しくは、ローカル商品在庫データの仕様をご覧ください。

price

object (Price)

この店舗の商品の価格。

salePrice

object (Price)

この店舗での商品のセール価格。salePriceEffectiveDate が定義されている場合は必須です。

salePriceEffectiveDate

object (Interval)

この店舗での販売の TimePeriod

customAttributes[]

object (CustomAttribute)

カスタム(販売者指定)属性のリスト。CustomAttribute を使用して、データ仕様の任意の属性を汎用形式で登録することもできます。

availability

string

この店舗での商品の在庫状況。使用可能な属性値については、ローカル商品在庫データ仕様をご覧ください。

quantity

string (int64 format)

この店舗で購入可能な商品の数量。0 以上の値を指定してください。

pickupMethod

string

この商品でサポートされている受け取り方法。値が "not supported" の場合を除き、このフィールドは pickupSla と一緒に送信する必要があります。使用可能な属性値については、ローカル商品在庫データ仕様をご覧ください。

pickupSla

string

この店舗でこの商品の注文を受けてから受け取りの準備が整うまでの相対的な期間。pickupMethod を指定して送信する必要があります。使用可能な属性値については、ローカル商品在庫データ仕様をご覧ください。

instoreProductLocation

string

店舗内の商品の位置。最大長は 20 バイトです。