---
title: "ProductStatus"
description: "商品状态"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/enums/product-status'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/enums/product-status.md'
---
# ProductStatus

商品状态

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

## Type Signature

`ProductStatus`

## Values

* `ACTIVE`

  上架

* `DRAFT`

  下架

## Schema Definition

```graphql
enum ProductStatus { 
	ACTIVE 
	DRAFT  
}
```

## Field from

* [Product](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product.md).status

  商品状态

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes)。

