diff --git a/ozon/fbo.go b/ozon/fbo.go index cd72065..9c425c6 100644 --- a/ozon/fbo.go +++ b/ozon/fbo.go @@ -101,9 +101,6 @@ type GetFBOShipmentsListResultAdditionalData struct { } type GetFBOShipmentsListResultAnalyticsData struct { - // Delivery city - City string `json:"city"` - // Delivery method DeliveryType string `json:"delivery_type"` @@ -118,9 +115,6 @@ type GetFBOShipmentsListResultAnalyticsData struct { // Payment method PaymentTypeGroupName PaymentTypeGroupName `json:"payment_type_group_name"` - // Delivery region - Region string `json:"region"` - // Warehouse identifier WarehouseId int64 `json:"warehouse_id"` @@ -247,9 +241,6 @@ type GetShipmentDetailsResultAdditionalData struct { } type GetShipmentDetailsResultAnalyticsData struct { - // Delivery city - City string `json:"city"` - // Delivery method DeliveryType string `json:"delivery_type"` @@ -264,9 +255,6 @@ type GetShipmentDetailsResultAnalyticsData struct { // Payment method PaymentTypeGroupName string `json:"payment_type_group_name"` - // Delivery region - Region string `json:"region"` - // Warehouse identifier WarehouseId int64 `json:"warehouse_id"` diff --git a/ozon/fbo_test.go b/ozon/fbo_test.go index 7436b53..2b5b9b1 100644 --- a/ozon/fbo_test.go +++ b/ozon/fbo_test.go @@ -58,8 +58,6 @@ func TestGetFBOShipmentsList(t *testing.T) { } ], "analytics_data": { - "region": "РОСТОВСКАЯ ОБЛАСТЬ", - "city": "Ростов-на-Дону", "delivery_type": "PVZ", "is_premium": false, "payment_type_group_name": "Карты оплаты", @@ -191,8 +189,6 @@ func TestGetShipmentDetails(t *testing.T) { } ], "analytics_data": { - "region": "МОСКВА", - "city": "Москва", "delivery_type": "Courier", "is_premium": false, "payment_type_group_name": "Карты оплаты", diff --git a/ozon/fbs.go b/ozon/fbs.go index 19d5dfe..5561894 100644 --- a/ozon/fbs.go +++ b/ozon/fbs.go @@ -237,7 +237,7 @@ type FBSPostingAddressee struct { } type FBSPostingAnalyticsData struct { - // Delivery city + // Delivery city. Only for rFBS shipments City string `json:"city"` // Delivery start date and time @@ -261,7 +261,7 @@ type FBSPostingAnalyticsData struct { // Payment method PaymentTypeGroupName PaymentTypeGroupName `json:"payment_type_group_name"` - // Delivery region + // Delivery region. Only for rFBS shipments Region string `json:"region"` // Delivery service @@ -1077,7 +1077,7 @@ type GetShipmentDataByIdentifierResultAddressee struct { } type GetShipmentDataByIdentifierResultAnalyticsData struct { - // Delivery city + // Delivery city. Only for rFBS shipments City string `json:"city"` // Delivery start date and time @@ -1100,7 +1100,7 @@ type GetShipmentDataByIdentifierResultAnalyticsData struct { // Payment method PaymentTypeGroupName string `json:"payment_type_group_name"` - // Delivery region + // Delivery region. Only for rFBS shipments Region string `json:"region"` // Delivery service