---
title: "DiscountShareableUrlTargetType"
description: "可共享折扣 URL 所在的页面类型"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/enums/discount-shareable-url-target-type'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/enums/discount-shareable-url-target-type.md'
---
# DiscountShareableUrlTargetType

可共享折扣 URL 所在的页面类型

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

## Type Signature

`DiscountShareableUrlTargetType`

## Values

* `COLLECTION`

  URL 位于集合页面上

* `HOME`

  URL 出现在主页上

* `PRODUCT`

  URL 位于产品页面上

## Schema Definition

```graphql
enum DiscountShareableUrlTargetType { 
	COLLECTION 
	HOME 
	PRODUCT  
}
```

## Field from

* [DiscountShareableUrl](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-shareable-url.md).targetType

  与 URL 关联的页面类型。

## Error Handling

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

