From 5b1b55ee789cae6bafc5c437851db897f5ba1b3e Mon Sep 17 00:00:00 2001 From: Sinh Date: Wed, 23 Aug 2023 13:48:16 +0700 Subject: [PATCH] update odn logistic info --- partnerapi/tnc/model_request.go | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/partnerapi/tnc/model_request.go b/partnerapi/tnc/model_request.go index 5f0a41d..ac74d4d 100644 --- a/partnerapi/tnc/model_request.go +++ b/partnerapi/tnc/model_request.go @@ -45,8 +45,14 @@ type OutboundRequestPayload struct { // UpdateORLogisticInfoPayload ... type UpdateORLogisticInfoPayload struct { - OrID int `json:"orId"` - TrackingCode string `json:"trackingCode"` - ShippingLabel string `json:"shippingLabel"` - SlaShipDate string `json:"slaShipDate"` + OrID int `json:"orId"` + + TPLCode string `json:"tplCode"` + TrackingCode string `json:"trackingCode"` + LogisticInfoLabels []LogisticInfoLabel `json:"logisticInfoLabels"` +} + +type LogisticInfoLabel struct { + Caption string `json:"caption"` + URI string `json:"uri"` }