Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 76e6e36

Browse files
authored
Merge pull request #7478 from atwixfirster/remove-redundant-validation-customerOrder-giftMessage
#7363: Add “gift_message” to CustomerOrders query
2 parents c2dc1e3 + 31650e3 commit 76e6e36

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/guides/v2.4/graphql/queries/customer-orders.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,23 @@ The `CustomerOrder` object defines details about each order the customer has pla
7575
Attribute | Data type | Description
7676
--- | --- | ---
7777
`created_at` | String | A timestamp indicating when the order was placed
78+
`gift_message` | [GiftMessage]({{page.baseurl}}/graphql/queries/customer-orders.html#GiftMessage) | The entered gift message for the order
7879
`grand_total` | Float | The total of the order
7980
`id` | Int | The ID assigned to the customer's order
8081
`increment_id` | String | Deprecated. Use `order_number` instead. An ID that indicates the sequence of the order in the customer's order history
8182
`order_number` | String! | The order number assigned to the order
8283
`status` | String | The status of the order, such as `open`, `processing`, or `closed`
8384

85+
#### GiftMessage object {#GiftMessage}
86+
87+
The `GiftMessage` object contains the following required attributes.
88+
89+
Attribute | Data Type | Description
90+
--- | --- | ---
91+
`to` | String! | Recipient name
92+
`from` | String! | Sender name
93+
`message` | String! | Gift message text
94+
8495
## Errors
8596

8697
Error | Description

0 commit comments

Comments
 (0)