@@ -43,7 +43,7 @@ Attribute | Data type | Description
43
43
--- | --- | ---
44
44
` billing_address ` | [ OrderAddress] ( #OrderAddress ) | The billing address for the order
45
45
` carrier ` | String | The shipping carrier for the order delivery
46
- ` comments ` | [[ CommentItem ] ( #CommentItem )] | Comments on the order
46
+ ` comments ` | [[ SalesCommentItem ] ( #SalesCommentItem )] | Comments on the order
47
47
` created_at ` | String | Deprecated. Use the ` order_date ` attribute instead
48
48
` credit_memos ` | [[ CreditMemo] ( #CreditMemo )] | Contains a list of credit memos for the order
49
49
` grand_total ` | Float | Deprecated. Use the ` totals.grand_total ` attribute instead
@@ -54,7 +54,7 @@ Attribute | Data type | Description
54
54
` number ` | String! | The order number
55
55
` order_date ` | String! | The date the order was placed
56
56
` order_number ` | String! | Deprecated. Use the ` number ` attribute instead
57
- ` payment_methods ` | [[ PaymentMethod ] ( #PaymentMethod )] | Payment details for the order
57
+ ` payment_methods ` | [[ OrderPaymentMethod ] ( #OrderPaymentMethod )] | Payment details for the order
58
58
` shipments ` | [[ OrderShipment] ( #OrderShipment )] | Shipment list for the order
59
59
` shipping_address ` | [ OrderAddress] ( #OrderAddress ) | Shipping address for the order
60
60
` shipping_method ` | String | Shipping method for the order
@@ -65,7 +65,7 @@ The deprecated attributes were previously defined in the `CustomerOrder` object
65
65
66
66
#### BundleCreditMemoItem attributes {#BundleCreditMemoItem}
67
67
68
- The ` BundleCreditMemoItem ` object implements the [ ` CreditMemoInterface ` ] ( #CreditMemoInterface ) . It also defines the following attribute:
68
+ The ` BundleCreditMemoItem ` object implements the [ ` CreditMemoItemInterface ` ] ( #CreditMemoItemInterface ) . It also defines the following attribute:
69
69
70
70
Attribute | Data type | Description
71
71
--- | --- | ---
@@ -95,28 +95,19 @@ Attribute | Data type | Description
95
95
--- | --- | ---
96
96
` bundle_options ` | [[ ItemSelectedBundleOption]] ( #ItemSelectedBundleOption ) | A list of bundle options that are assigned to the bundle product
97
97
98
- #### CommentItem attributes {#CommentItem}
99
-
100
- The ` CommentItem ` object contains details about a comment applied to an order.
101
-
102
- Attribute | Data type | Description
103
- --- | --- | ---
104
- ` message ` | String!| The text of the message
105
- ` timestamp ` | String! | The timestamp of the comment
106
-
107
98
#### CreditMemo attributes {#CreditMemo}
108
99
109
100
The ` CreditMemo ` object contains details about credit memos applied to an order.
110
101
111
102
Attribute | Data type | Description
112
103
--- | --- | ---
113
- ` comments ` | [[ CommentItem ] ( #CommentItem )] | Comments on the credit memo
104
+ ` comments ` | [[ SalesCommentItem ] ( #SalesCommentItem )] | Comments on the credit memo
114
105
` id ` | ID! | The unique ID of the credit memo
115
106
` items ` | [[ CreditMemoItem] ( #CreditMemoItem )] | An array containing details about refunded items
116
107
` number ` | String! | The sequential credit memo number
117
108
` total ` | [ CreditMemoTotal] ( #CreditMemoTotal ) | Contains details about the total refunded amount
118
109
119
- #### CreditMemoInterface attributes {#CreditMemoInterface }
110
+ #### CreditMemoItemInterface attributes {#CreditMemoItemInterface }
120
111
121
112
The ` CreditMemoItemInterface ` describes a specific credit memo.
122
113
@@ -131,7 +122,7 @@ Attribute | Data type | Description
131
122
132
123
#### CreditMemoItem attributes {#CreditMemoItem}
133
124
134
- The ` CreditMemoItem ` object implements the [ ` CreditMemoInterface ` ] ( #CreditMemoInterface ) .
125
+ The ` CreditMemoItem ` object implements the [ ` CreditMemoItemInterface ` ] ( #CreditMemoItemInterface ) .
135
126
136
127
#### CreditMemoTotal attributes {#CreditMemoTotal}
137
128
@@ -158,13 +149,91 @@ Attribute | Data type | Description
158
149
` amount ` | Money! | The amount of the discount
159
150
` label ` | String! | A description of the discount
160
151
152
+ #### DownloadableCreditMemoItem attributes {#DownloadableCreditMemoItem}
153
+
154
+ The ` DownloadableCreditMemoItem ` object implements the [ ` CreditMemoItemInterface ` ] ( #CreditMemoItemInterface ) . It also defines the following attribute:
155
+
156
+ Attribute | Data type | Description
157
+ --- | --- | ---
158
+ ` downloadable_links ` | [[ DownloadableItemsLinks]] ( #DownloadableItemsLinks ) | A list of downloadable links that were refunded from the downloadable product
159
+
160
+ #### DownloadableItemsLinks attributes {#DownloadableItemsLinks}
161
+
162
+ The ` DownloadableProductLinks ` object defines characteristics of a downloadable product.
163
+
164
+ Attribute | Data type | Description
165
+ --- | --- | ---
166
+ ` sort_order ` | Int | A number indicating the sort order
167
+ ` title ` | String | The display name of the link
168
+ ` uid ` | ID! | A string that encodes option details
169
+
170
+ #### DownloadableInvoiceItem attributes {#DownloadableInvoiceItem}
171
+
172
+ The ` DownloadableInvoiceItem ` object implements the [ ` InvoiceItemInterface ` ] ( #InvoiceItemInterface ) . It also defines the following attribute:
173
+
174
+ Attribute | Data type | Description
175
+ --- | --- | ---
176
+ ` downloadable_links ` | [[ DownloadableItemsLinks]] ( #DownloadableItemsLinks ) | A list of downloadable links that were invoiced from the downloadable product
177
+
178
+ #### DownloadableOrderItem attributes {#DownloadableOrderItem}
179
+
180
+ The ` DownloadableOrderItem ` object implements the [ ` OrderItemInterface ` ] ( #OrderItemInterface ) . It also defines the following attribute:
181
+
182
+ Attribute | Data type | Description
183
+ --- | --- | ---
184
+ ` downloadable_links ` | [[ DownloadableItemsLinks]] ( #DownloadableItemsLinks ) | A list of downloadable links that were ordered from the downloadable product
185
+
186
+ #### GiftCardItem attributes {#GiftCardItem}
187
+
188
+ The ` GiftCardItem ` object contains selected buyer-entered gift card properties for an order item.
189
+
190
+ Attribute | Data type | Description
191
+ --- | --- | ---
192
+ ` message ` | String | A message provided by the sender to the recipient
193
+ ` recipient_email ` | String | The email provided for the recipient of a virtual gift card
194
+ ` recipient_name ` | String | The name provided for the recipient of a physical or virtual gift card
195
+ ` sender_email ` | String | The sender email provided for a virtual gift card
196
+ ` sender_name ` | String | The sender name provided for a physical or virtual gift card
197
+
198
+ #### GiftCardCreditMemoItem attributes {#GiftCardOrderItem}
199
+
200
+ The ` GiftCardCreditMemoItem ` object implements the [ ` CreditMemoItemInterface ` ] ( #CreditMemoItemInterface ) . It also defines the following attribute:
201
+
202
+ Attribute | Data type | Description
203
+ --- | --- | ---
204
+ ` gift_card ` | [ GiftCardItem] ( #GiftCardItem ) | Selected gift card properties for a refunded item
205
+
206
+ #### GiftCardInvoiceItem attributes {#GiftCardInvoiceItem}
207
+
208
+ The ` GiftCardInvoiceItem ` object implements the [ ` InvoiceItemInterface ` ] ( #InvoiceItemInterface ) . It also defines the following attribute:
209
+
210
+ Attribute | Data type | Description
211
+ --- | --- | ---
212
+ ` gift_card ` | [ GiftCardItem] ( #GiftCardItem ) | Selected gift card properties for an invoiced item
213
+
214
+ #### GiftCardOrderItem attributes {#GiftCardOrderItem}
215
+
216
+ The ` GiftCardOrderItem ` object implements the [ ` OrderItemInterface ` ] ( #OrderItemInterface ) . It also defines the following attribute:
217
+
218
+ Attribute | Data type | Description
219
+ --- | --- | ---
220
+ ` gift_card ` | [ GiftCardItem] ( #GiftCardItem ) | Selected gift card properties for an order item
221
+
222
+ #### GiftCardShipmentItem attributes {#GiftCardShipmentItem}
223
+
224
+ The ` GiftCardShipmentItem ` object implements the [ ` ShipmentItemInterface ` ] ( #ShipmentItemInterface ) . It also defines the following attribute:
225
+
226
+ Attribute | Data type | Description
227
+ --- | --- | ---
228
+ ` gift_card ` | [ GiftCardItem] ( #GiftCardItem ) | Selected gift card properties for a shipped item
229
+
161
230
#### Invoice attributes {#Invoice}
162
231
163
232
The ` Invoice ` object provides details about a customer invoice.
164
233
165
234
Attribute | Data type | Description
166
235
--- | --- | ---
167
- ` comments ` | [[ CommentItem ] ( #CommentItem )] | Comments on the invoice
236
+ ` comments ` | [[ SalesCommentItem ] ( #SalesCommentItem )] | Comments on the invoice
168
237
` id ` | ID! | The internal ID of the invoice
169
238
` items ` | [[ InvoiceItemInterface] ( #InvoiceItemInterface )] ! | Contains details about invoiced products
170
239
` number ` | String! | The sequential number of the invoice
@@ -286,14 +355,24 @@ Attribute | Data type | Description
286
355
287
356
Attribute | Data type | Description
288
357
--- | --- | ---
289
- ` id ` | String! | The name of the option
358
+ ` label ` | String! | The name of the option
290
359
` value ` | String! | The value of the option
291
360
361
+ #### OrderPaymentMethod attributes {#OrderPaymentMethod}
362
+
363
+ The OrderPaymentMethod data type contains details about the payment method used to pay for the order.
364
+
365
+ Attribute | Data type | Description
366
+ --- | --- | ---
367
+ ` additional_data ` | [[ KeyValue] ( #KeyValue )] | Additional data per payment method type
368
+ ` name ` | String! | The label that describes the payment method
369
+ ` type ` | String! | The payment method code that indicates how the order was paid for
370
+
292
371
#### OrderShipment attributes {#OrderShipment}
293
372
294
373
Attribute | Data type | Description
295
374
--- | --- | ---
296
- ` comments ` | [[ CommentItem ] ( #CommentItem )] | Comments added to the shipment
375
+ ` comments ` | [[ SalesCommentItem ] ( #SalesCommentItem )] | Comments added to the shipment
297
376
` id ` | ID! | The unique ID of the shipment
298
377
` items ` | [[ ShipmentItemInterface] ( #ShipmentItemInterface )] | Contains items included in the shipment
299
378
` number ` | String! | The sequential credit shipment number
@@ -314,16 +393,6 @@ Attribute | Data type | Description
314
393
` total_shipping ` | Money! | The shipping costs for the order
315
394
` total_tax ` | Money! | The amount of tax applied to the order
316
395
317
- #### PaymentMethod attributes {#PaymentMethod}
318
-
319
- The PaymentMethod data type contains details about the payment method used to pay for the order.
320
-
321
- Attribute | Data type | Description
322
- --- | --- | ---
323
- ` additional_data ` | [[ KeyValue] ( #KeyValue )] | Additional data per payment method type
324
- ` name ` | String! | The label that describes the payment method
325
- ` type ` | String! | The payment method code that indicates how the order was paid for
326
-
327
396
#### RewardPoints attributes {#RewardPoints}
328
397
329
398
The ` RewardPoints ` object provides details about the customer's reward points balance, history, and related information.
@@ -382,6 +451,15 @@ Attribute | Data type | Description
382
451
` balance_updates ` | RewardPointsSubscriptionStatusesEnum! | Customer subscription status to 'Reward points balance updates' emails
383
452
` points_expiration_notifications ` | RewardPointsSubscriptionStatusesEnum! | Customer subscription status to 'Reward points expiration notifications' emails
384
453
454
+ #### SalesCommentItem attributes {#SalesCommentItem}
455
+
456
+ The ` SalesCommentItem ` object contains details about a comment applied to an order.
457
+
458
+ Attribute | Data type | Description
459
+ --- | --- | ---
460
+ ` message ` | String!| The text of the message
461
+ ` timestamp ` | String! | The timestamp of the comment
462
+
385
463
#### SalesItemOption attributes {#SalesItemOption}
386
464
387
465
The ` SalesItemOption ` data type contains the ID and value for the selected or entered options.
0 commit comments