---
title: "ProductVariantInventoryPolicy"
description: "Valid values for a product variant's inventory policy when it is sold out."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/enums/product-variant-inventory-policy'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/inventory/enums/product-variant-inventory-policy.md'
---
# ProductVariantInventoryPolicy

Valid values for a product variant's inventory policy when it is sold out.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Enum

## Type Signature

`ProductVariantInventoryPolicy`

## Values

* `DENY`

  After it's sold out, customers can't purchase the product variant.

* `CONTINUE`

  Customers can purchase the product variant once it is sold out.

## Schema Definition

```graphql
enum ProductVariantInventoryPolicy { 
	DENY 
	CONTINUE  
}
```

## Field from

* [ProductVariant](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-variant.md).inventoryPolicy

  Whether the product variant can be ordered when inventory is depleted.

## Input field from

* [ProductVariantInput](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/inputs/product-variant-input.md).inventoryPolicy

  Whether the product variant can be ordered when inventory is depleted.

* [ProductVariantsBulkInput](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/inputs/product-variants-bulk-input.md).inventoryPolicy

  Whether the product variant can be ordered when inventory is depleted.

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

