availability property

String? availability
getter/setter pair

The availability of the Product at this place_id.

Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered "in stock" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property availability. Schema.org property Offer.availability.

Optional. Possible string values are:

  • "AVAILABILITY_UNSPECIFIED" : Default product availability. Default to Availability.IN_STOCK if unset.
  • "IN_STOCK" : Product in stock.
  • "OUT_OF_STOCK" : Product out of stock.
  • "PREORDER" : Product that is in pre-order state.
  • "BACKORDER" : Product that is back-ordered (i.e. temporarily out of stock).

Implementation

core.String? availability;