Resource: Inventory
An inventory resource for a store.
| JSON representation |
|---|
{
"name": string,
"itemId": string,
"modifierId": string,
"posId": string,
"quantity": integer,
"status": enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the inventory. Format: projects/{project}/locations/{location}/brands/{brand}/stores/{store}/inventories/{inventory} |
itemId |
Required. The item ID that this inventory belongs to. |
modifierId |
Optional. The modifier ID that this inventory belongs to. |
posId |
Optional. The point of sale (POS) ID associated with this inventory. |
quantity |
Optional. The quantity of the item/modifier in stock. |
status |
Optional. The status of the inventory. |
Status
Availability status of the inventory.
| Enums | |
|---|---|
STATUS_UNSPECIFIED |
Unspecified status. |
IN_STOCK |
The item/modifier is in stock. |
OUT_OF_STOCK |
The item/modifier is out of stock. |
Methods |
|
|---|---|
|
Creates an inventory. |
|
Deletes the specified inventory. |
|
Gets an inventory. |
|
Lists inventories. |
|
Updates the specified inventory. |