属性-Attribute 对象
表示通用的自定义属性。
在本页面
字段
- key(
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
属性的键或名称。 - value(
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
属性值。
返回属性的类型
[CalculatedDraftOrderLineItem.customAttributes](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculateddraftorderlineitem#customattributes-2021-01)
[CalculatedLineItem.customAttributes](https://shopify.dev/docs/admin-api/graphql/reference/orders/calculatedlineitem#customattributes-2021-01)
[DraftOrder.customAttributes](https://shopify.dev/docs/admin-api/graphql/reference/orders/draftorder#customattributes-2021-01)
[DraftOrderLineItem.customAttributes](https://shopify.dev/docs/admin-api/graphql/reference/orders/draftorderlineitem#customattributes-2021-01)
[LineItem.customAttributes](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitem#customattributes-2021-01)
[LineItemMutable.customAttributes](https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitemmutable#customattributes-2021-01)
[Order.customAttributes](https://shopify.dev/docs/admin-api/graphql/reference/orders/order#customattributes-2021-01)
[SubscriptionLine.customAttributes](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptionline#customattributes-2021-01)