Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
diPhantxm committed May 24, 2024
1 parent 5d62c8e commit 9d1acc1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ozon/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ const (
TransactionItemAdForSupplierLogistic TransactionOperationService = "ItemAdvertisementForSupplierLogistic"

// product placement service
TransactionServiceStorageItem TransactionOperationService = "MarketplaceServiceStorageItem"
TransactionServiceStorageItem TransactionOperationService = "OperationMarketplaceServiceStorage"

// products promotion
TransactionMarketingActionCost TransactionOperationService = "MarketplaceMarketingActionCostItem"
Expand Down
2 changes: 2 additions & 0 deletions ozon/fbs.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@ type FinancialDataProduct struct {
CommissionsCurrencyCode string `json:"commissions_currency_code"`

// Services
//
// Deprecated: The parameter is outdated. To get information on accruals, use the `ListTransactions` method
ItemServices MarketplaceServices `json:"item_services"`

// Currency of your prices. It matches the currency set in the personal account settings
Expand Down
6 changes: 4 additions & 2 deletions ozon/products.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ type ProductDetails struct {
// 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
// Product identifier
Id int64 `json:"id"`

// An array of links to images. The images in the array are arranged in the order of their arrangement on the site. If the `primary_image` parameter is not specified, the first image in the list is the main one for the product
Expand Down Expand Up @@ -2378,9 +2378,11 @@ type GetRelatedSKUsError struct {
Message string `json:"message"`
}

// You can pass any SKU in the request, even a deleted one.
// Method for getting a single SKU based on the old SKU FBS and SKU FBO identifiers.
// The response will contain all SKUs related to the passed ones.
//
// The method can handle any SKU, even hidden or deleted.
//
// In one request, you can pass up to 200 SKUs.
func (c Products) GetRelatedSKUs(ctx context.Context, params *GetRelatedSKUsParams) (*GetRelatedSKUsResponse, error) {
url := "/v1/product/related-sku/get"
Expand Down
2 changes: 1 addition & 1 deletion ozon/returns.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ type GetFBSReturnResultReturn struct {
// ID of the warehouse the product is being transported to
PlaceId int64 `json:"place_id"`

// Name of the warehouse the product is being transported to
// Intermediate return point
MovingToPlaceName string `json:"moving_to_place_name"`

// Delivery cost
Expand Down

0 comments on commit 9d1acc1

Please sign in to comment.