Update May 24, 2024 (#93)

This commit is contained in:
Kirill
2024-05-24 15:59:51 +03:00
committed by GitHub
parent 5d62c8ec14
commit 9ea138003c
4 changed files with 8 additions and 4 deletions

View File

@@ -723,7 +723,7 @@ const (
TransactionItemAdForSupplierLogistic TransactionOperationService = "ItemAdvertisementForSupplierLogistic" TransactionItemAdForSupplierLogistic TransactionOperationService = "ItemAdvertisementForSupplierLogistic"
// product placement service // product placement service
TransactionServiceStorageItem TransactionOperationService = "MarketplaceServiceStorageItem" TransactionServiceStorageItem TransactionOperationService = "OperationMarketplaceServiceStorage"
// products promotion // products promotion
TransactionMarketingActionCost TransactionOperationService = "MarketplaceMarketingActionCostItem" TransactionMarketingActionCost TransactionOperationService = "MarketplaceMarketingActionCostItem"

View File

@@ -452,6 +452,8 @@ type FinancialDataProduct struct {
CommissionsCurrencyCode string `json:"commissions_currency_code"` CommissionsCurrencyCode string `json:"commissions_currency_code"`
// Services // Services
//
// Deprecated: The parameter is outdated. To get information on accruals, use the `ListTransactions` method
ItemServices MarketplaceServices `json:"item_services"` ItemServices MarketplaceServices `json:"item_services"`
// Currency of your prices. It matches the currency set in the personal account settings // Currency of your prices. It matches the currency set in the personal account settings

View File

@@ -151,7 +151,7 @@ type ProductDetails struct {
// SKU of the product that is sold from the seller's warehouse (FBS and rFBS) // SKU of the product that is sold from the seller's warehouse (FBS and rFBS)
FBSSKU int64 `json:"fbs_sku,omitempty"` FBSSKU int64 `json:"fbs_sku,omitempty"`
// Document generation task number // Product identifier
Id int64 `json:"id"` 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 // 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
@@ -2378,9 +2378,11 @@ type GetRelatedSKUsError struct {
Message string `json:"message"` 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 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. // In one request, you can pass up to 200 SKUs.
func (c Products) GetRelatedSKUs(ctx context.Context, params *GetRelatedSKUsParams) (*GetRelatedSKUsResponse, error) { func (c Products) GetRelatedSKUs(ctx context.Context, params *GetRelatedSKUsParams) (*GetRelatedSKUsResponse, error) {
url := "/v1/product/related-sku/get" url := "/v1/product/related-sku/get"

View File

@@ -187,7 +187,7 @@ type GetFBSReturnResultReturn struct {
// ID of the warehouse the product is being transported to // ID of the warehouse the product is being transported to
PlaceId int64 `json:"place_id"` 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"` MovingToPlaceName string `json:"moving_to_place_name"`
// Delivery cost // Delivery cost