fbs_sku and fbo_sku are now just sku (#32)

This commit is contained in:
Kirill
2023-08-02 01:19:21 +03:00
committed by GitHub
parent 588f4748a9
commit cb24f19e83

View File

@@ -138,11 +138,8 @@ type ProductDetails struct {
// Date and time when the product was created // Date and time when the product was created
CreatedAt time.Time `json:"created_at"` CreatedAt time.Time `json:"created_at"`
// SKU of the product that is sold from the Ozon warehouse (FBO) // Product SKU
FBOSKU int64 `json:"fbo_sku"` SKU int64 `json:"sku"`
// SKU of the product that is sold from the seller's warehouse (FBS and rFBS)
FBSSKU int64 `json:"fbs_sku"`
// Document generation task number // Document generation task number
Id int64 `json:"id"` Id int64 `json:"id"`
@@ -576,12 +573,8 @@ func (c Products) UpdateQuantityStockProducts(params *UpdateQuantityStockProduct
} }
type StocksInSellersWarehouseParams struct { type StocksInSellersWarehouseParams struct {
// SKU of the product that is sold from the seller's warehouse (FBS and RFBS schemes). // Product SKU
// SKU []string `json:"sku"`
// Get fbs_sku in the /v2/product/info and /v2/product/info/list methods response.
//
// The maximum number of SKUs per request is 500.
FBSSKU []string `json:"fbs_sku"`
} }
type StocksInSellersWarehouseResponse struct { type StocksInSellersWarehouseResponse struct {
@@ -593,7 +586,7 @@ type StocksInSellersWarehouseResponse struct {
type StocksInSellersWarehouseResult struct { type StocksInSellersWarehouseResult struct {
// SKU of the product that is sold from the seller's warehouse (FBS and RFBS schemes) // SKU of the product that is sold from the seller's warehouse (FBS and RFBS schemes)
FBSSKU int64 `json:"fbs_sku"` SKU int64 `json:"sku"`
// Total number of items in the warehouse // Total number of items in the warehouse
Present int64 `json:"present"` Present int64 `json:"present"`