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 バイトです。