diff --git a/ozon/cancellations.go b/ozon/cancellations.go index 312de76..3cb573e 100644 --- a/ozon/cancellations.go +++ b/ozon/cancellations.go @@ -41,7 +41,7 @@ type CancellationInfo struct { CancellationReasonMessage string `json:"cancellation_reason_message"` // Delivery service integration type - TPLIntegrationType string `json:"tpl_integration_type"` + TPLIntegrationType TPLIntegrationType `json:"tpl_integration_type"` // Cancellation request status State CancellationInfoState `json:"state"` diff --git a/ozon/common.go b/ozon/common.go index c98bd20..e17eb6f 100644 --- a/ozon/common.go +++ b/ozon/common.go @@ -312,6 +312,9 @@ const ( // delivery by the seller NonIntegratedTPLType TPLIntegrationType = "non_integrated" + + // Russian Post delivery scheme + HybrydTPLType TPLIntegrationType = "hybryd" ) type DetailsDeliveryItemName string diff --git a/ozon/fbs.go b/ozon/fbs.go index d55146a..2b6b02f 100644 --- a/ozon/fbs.go +++ b/ozon/fbs.go @@ -174,7 +174,7 @@ type FBSPosting struct { Substatus string `json:"substatus"` // Type of integration with the delivery service - TPLIntegrationType string `json:"tpl_integration_type"` + TPLIntegrationType TPLIntegrationType `json:"tpl_integration_type"` // Shipment tracking number TrackingNumber string `json:"tracking_number"`