---
title: "AppliedGiftCard"
description: "礼品卡详情"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/member-system/objects/applied-gift-card'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/member-system/objects/applied-gift-card.md'
---
# AppliedGiftCard

礼品卡详情

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

## Type Signature

`AppliedGiftCard`

## Fields

* `lastCharacters`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  礼品卡的后4位字符

* `amountUsed`

  [Money](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/money.md)

  通过应用从礼品卡中提取的金额。

* `presentmentAmountUsed`

  [Money](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/money.md)

  以其货币应用于结账的金额。

* `id`

  [ID](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/id.md)

  唯一标识

## Schema Definition

```graphql
type AppliedGiftCard { 
	lastCharacters: String
	amountUsed: Money
	presentmentAmountUsed: Money
	id: ID 
}
```

## Field from

* [Checkout](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/checkouts/objects/checkout.md).appliedGiftCards

  应用于结账的礼品卡

## Error Handling

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

