Time format fixes and optional fields (#91)

This commit is contained in:
Kirill
2024-05-24 15:42:48 +03:00
committed by GitHub
parent 7ffcf3f235
commit 2e284d9667
11 changed files with 29 additions and 29 deletions

View File

@@ -99,13 +99,13 @@ func (c Products) GetStocksInfo(ctx context.Context, params *GetStocksInfoParams
type GetProductDetailsParams struct {
// Product identifier in the seller's system
OfferId string `json:"offer_id"`
OfferId string `json:"offer_id,omitempty"`
// Product identifier
ProductId int64 `json:"product_id"`
ProductId int64 `json:"product_id,omitempty"`
// Product identifier in the Ozon system, SKU
SKU int64 `json:"sku"`
SKU int64 `json:"sku,omitempty"`
}
type GetProductDetailsResponse struct {