Merge pull request 'update odn logistic info' (#10) from change-api-tnc-to-odn into master

Reviewed-on: #10
This commit is contained in:
sinhluu 2023-08-23 06:49:54 +00:00
commit 94d6e0c606
1 changed files with 10 additions and 4 deletions

View File

@ -46,7 +46,13 @@ type OutboundRequestPayload struct {
// UpdateORLogisticInfoPayload ... // UpdateORLogisticInfoPayload ...
type UpdateORLogisticInfoPayload struct { type UpdateORLogisticInfoPayload struct {
OrID int `json:"orId"` OrID int `json:"orId"`
TPLCode string `json:"tplCode"`
TrackingCode string `json:"trackingCode"` TrackingCode string `json:"trackingCode"`
ShippingLabel string `json:"shippingLabel"` ShippingLabels []LogisticInfoLabel `json:"shippingLabels"`
SlaShipDate string `json:"slaShipDate"` }
type LogisticInfoLabel struct {
Caption string `json:"caption"`
URI string `json:"uri"`
} }