Home > @poq/sdk-sfcc > Inventory
Document representing inventory information of the current product for a particular inventory list.
Signature:
export declare class Inventory extends BaseModel<Inventory>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(params) | Constructs a new instance of the Inventory class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| ats? | number | (Optional) The ats of the product. If it is infinity, the return value is 999999. The value can be overwritten by the OCAPI setting ‘product.inventory.ats.max_threshold’. | |
| backorderable? | boolean | (Optional) A flag indicating whether the product is back orderable. | |
| id | string | The inventory id. | |
| inStockDate? | string | (Optional) A flag indicating the date when the product will be in stock. | |
| orderable? | boolean | (Optional) A flag indicating whether at least one of products is available to sell. | |
| preorderable? | boolean | (Optional) A flag indicating whether the product is pre orderable. | |
| stockLevel? | number | (Optional) The stock level of the product. If it is infinity, the return value is 999999. The value can be overwritten by the OCAPI setting ‘product.inventory.stock_level.max_threshold’. |