Important: Recommendations AI has migrated to the Retail API, which is now generally available.

The Recommendations AI API (service endpoint and this documentation set remain available, but they will no longer be updated. We recommend migrating your recommendations to the Retail API (service endpoint See the new documentation:


Item stock state. If this field is unspecified, the item is assumed to be in stock.

STOCK_STATE_UNSPECIFIED Default item stock status. Should never be used.
IN_STOCK Item in stock.
OUT_OF_STOCK Item out of stock.
PREORDER Item that is in pre-order state.
BACKORDER Item that is back-ordered (i.e. temporarily out of stock).