---
title: "PurchaseLimitConfiguration"
description: "The purchase limit configuration for buyers"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/purchase-limit-configuration'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/purchase-limit-configuration.md'
---
# PurchaseLimitConfiguration

The purchase limit configuration for buyers

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`PurchaseLimitConfiguration`

## Fields

* `allowOversold`

  [Boolean](https://developer.shopline.com/docs/storefront-api/common/scalars/boolean.md)

  Whether selling at the original price is allowed when the customer's purchase frequency exceeds the limit of the campaign.

* `purchaseLimitQuantity`

  [Int](https://developer.shopline.com/docs/storefront-api/common/scalars/int.md)

  Purchase quantity limit

* `purchaseLimitType`

  [Int](https://developer.shopline.com/docs/storefront-api/common/scalars/int.md)

  Type of purchase limit
  ● 0: no limit
  ● 1: Promotion limit
  ● 2: Product purchase limit
  ● 3: Variant purchase limit

## Schema Definition

```graphql
type PurchaseLimitConfiguration { 
	allowOversold: Boolean
	purchaseLimitQuantity: Int
	purchaseLimitType: Int 
}
```

## Field from

* [FlashSaleCampaign](https://developer.shopline.com/docs/storefront-api/common-objects/objects/flash-sale-campaign.md).purchaseLimitConfiguration

  The purchase limit configuration for buyers

## Error Handling

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

