From 1c6be73d040001e555c3d486e5e164c4eafcf3fd Mon Sep 17 00:00:00 2001 From: Sinh Date: Fri, 8 Dec 2023 09:10:20 +0700 Subject: [PATCH] fix(onpoint): update order item model --- partnerapi/onpoint/model_request.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/partnerapi/onpoint/model_request.go b/partnerapi/onpoint/model_request.go index bb6e8c1..aca58b3 100644 --- a/partnerapi/onpoint/model_request.go +++ b/partnerapi/onpoint/model_request.go @@ -27,13 +27,13 @@ type CreateOrderRequest struct { // OrderItem ... type OrderItem struct { - SellingPrice int `json:"selling_price"` - Quantity int `json:"quantity"` - Uom string `json:"uom"` - Amount int `json:"amount"` - Name string `json:"name"` - PartnerSku string `json:"sku"` - DiscountPrice int `json:"discount_price"` + SellingPrice int `json:"selling_price"` + Quantity int `json:"quantity"` + Uom string `json:"uom"` + Amount int `json:"amount"` + Name string `json:"name"` + PartnerSku string `json:"sku"` + DiscountedPrice int `json:"discounted_price"` } // UpdateOrderDeliveryRequest ...