@@ -229,7 +229,6 @@ type Order struct {
229
229
OrderStatusUrl string `json:"order_status_url,omitempty"`
230
230
Gateway string `json:"gateway,omitempty"`
231
231
Confirmed bool `json:"confirmed,omitempty"`
232
- TotalPriceUSD * decimal.Decimal `json:"total_price_usd,omitempty"`
233
232
CheckoutToken string `json:"checkout_token,omitempty"`
234
233
Reference string `json:"reference,omitempty"`
235
234
SourceIdentifier string `json:"source_identifier,omitempty"`
@@ -293,10 +292,15 @@ type LineItem struct {
293
292
Grams int `json:"grams,omitempty"`
294
293
FulfillmentStatus orderFulfillmentStatus `json:"fulfillment_status,omitempty"`
295
294
TaxLines []TaxLine `json:"tax_lines,omitempty"`
296
- OriginLocation * Address `json:"origin_location,omitempty"`
297
- DestinationLocation * Address `json:"destination_location,omitempty"`
298
- AppliedDiscount * AppliedDiscount `json:"applied_discount,omitempty"`
299
- DiscountAllocations []DiscountAllocations `json:"discount_allocations,omitempty"`
295
+
296
+ //Deprecated: See 2022-10 release notes: https://shopify.dev/docs/api/release-notes/2022-10
297
+ OriginLocation * Address `json:"origin_location,omitempty"`
298
+
299
+ //Deprecated: See 2022-10 release notes: https://shopify.dev/docs/api/release-notes/2022-10
300
+ DestinationLocation * Address `json:"destination_location,omitempty"`
301
+
302
+ AppliedDiscount * AppliedDiscount `json:"applied_discount,omitempty"`
303
+ DiscountAllocations []DiscountAllocations `json:"discount_allocations,omitempty"`
300
304
}
301
305
302
306
type DiscountAllocations struct {
0 commit comments