Co-authored-by: o.tyurin <o.tyurin@corp.mail.ru>
This commit is contained in:
		
							
								
								
									
										2
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								go.mod
									
									
									
									
									
								
							@@ -1,3 +1,3 @@
 | 
				
			|||||||
module github.com/diphantxm/ozon-api-client
 | 
					module github.com/diphantxm/ozon-api-client
 | 
				
			||||||
 | 
					
 | 
				
			||||||
go 1.18
 | 
					go 1.19
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -13,7 +13,7 @@ type Categories struct {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
type GetProductTreeParams struct {
 | 
					type GetProductTreeParams struct {
 | 
				
			||||||
	// Response language
 | 
						// Response language
 | 
				
			||||||
	Language Language `json:"language"`
 | 
						Language Language `json:"language,omitempty"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type GetProductTreeResponse struct {
 | 
					type GetProductTreeResponse struct {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,13 +27,13 @@ type GetStocksInfoParams struct {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
type GetStocksInfoFilter struct {
 | 
					type GetStocksInfoFilter struct {
 | 
				
			||||||
	// Filter by the offer_id parameter. It is possible to pass a list of values
 | 
						// Filter by the offer_id parameter. It is possible to pass a list of values
 | 
				
			||||||
	OfferId string `json:"offer_id"`
 | 
						OfferId string `json:"offer_id,omitempty"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Filter by the product_id parameter. It is possible to pass a list of values
 | 
						// Filter by the product_id parameter. It is possible to pass a list of values
 | 
				
			||||||
	ProductId int64 `json:"product_id"`
 | 
						ProductId int64 `json:"product_id,omitempty"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Filter by product visibility
 | 
						// Filter by product visibility
 | 
				
			||||||
	Visibility string `json:"visibility"`
 | 
						Visibility string `json:"visibility,omitempty"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type GetStocksInfoResponse struct {
 | 
					type GetStocksInfoResponse struct {
 | 
				
			||||||
@@ -145,6 +145,12 @@ type ProductDetails struct {
 | 
				
			|||||||
	// Product SKU
 | 
						// Product SKU
 | 
				
			||||||
	SKU int64 `json:"sku"`
 | 
						SKU int64 `json:"sku"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// SKU of the product that is sold from the Ozon warehouse (FBO)
 | 
				
			||||||
 | 
						FBOSKU int64 `json:"fbo_sku,omitempty"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// SKU of the product that is sold from the seller's warehouse (FBS and rFBS)
 | 
				
			||||||
 | 
						FBSSKU int64 `json:"fbs_sku,omitempty"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Document generation task number
 | 
						// Document generation task number
 | 
				
			||||||
	Id int64 `json:"id"`
 | 
						Id int64 `json:"id"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1940,7 +1946,7 @@ type GetPRoductPriceInfoResultItem struct {
 | 
				
			|||||||
	Commissions GetProductPriceInfoResultItemCommission `json:"commissions"`
 | 
						Commissions GetProductPriceInfoResultItemCommission `json:"commissions"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Promotions information
 | 
						// Promotions information
 | 
				
			||||||
	MarketingActions []GetProductPriceInfoResultItemMarketingActions `json:"marketing_actions"`
 | 
						MarketingActions *GetProductPriceInfoResultItemMarketingActions `json:"marketing_actions"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Seller product identifier
 | 
						// Seller product identifier
 | 
				
			||||||
	OfferId string `json:"offer_id"`
 | 
						OfferId string `json:"offer_id"`
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user