Update March 29, 2024 (#74)
This commit is contained in:
@@ -226,9 +226,6 @@ type ProductDetails struct {
|
|||||||
// Use PriceIndexes instead
|
// Use PriceIndexes instead
|
||||||
PriceIndex string `json:"price_index"`
|
PriceIndex string `json:"price_index"`
|
||||||
|
|
||||||
// Product price suggested by the system based on similar offers
|
|
||||||
RecommendedPrice string `json:"recommended_price"`
|
|
||||||
|
|
||||||
// Product state description
|
// Product state description
|
||||||
Status ProductDetailStatus `json:"status"`
|
Status ProductDetailStatus `json:"status"`
|
||||||
|
|
||||||
@@ -258,9 +255,6 @@ type ProductDetailCommission struct {
|
|||||||
// Delivery cost
|
// Delivery cost
|
||||||
DeliveryAmount float64 `json:"deliveryAmount"`
|
DeliveryAmount float64 `json:"deliveryAmount"`
|
||||||
|
|
||||||
// Minimum commission fee
|
|
||||||
MinValue float64 `json:"minValue"`
|
|
||||||
|
|
||||||
// Commission percentage
|
// Commission percentage
|
||||||
Percent float64 `json:"percent"`
|
Percent float64 `json:"percent"`
|
||||||
|
|
||||||
@@ -1927,7 +1921,7 @@ type GetProductPriceInfoResponse struct {
|
|||||||
|
|
||||||
type GetProductPriceInfoResult struct {
|
type GetProductPriceInfoResult struct {
|
||||||
// Products list
|
// Products list
|
||||||
Items []GetPRoductPriceInfoResultItem `json:"items"`
|
Items []GetProductPriceInfoResultItem `json:"items"`
|
||||||
|
|
||||||
// Identifier of the last value on page. Leave this field blank in the first request.
|
// Identifier of the last value on page. Leave this field blank in the first request.
|
||||||
//
|
//
|
||||||
@@ -1938,7 +1932,7 @@ type GetProductPriceInfoResult struct {
|
|||||||
Total int32 `json:"total"`
|
Total int32 `json:"total"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetPRoductPriceInfoResultItem struct {
|
type GetProductPriceInfoResultItem struct {
|
||||||
// Maximum acquiring fee
|
// Maximum acquiring fee
|
||||||
Acquiring int32 `json:"acquiring"`
|
Acquiring int32 `json:"acquiring"`
|
||||||
|
|
||||||
@@ -2081,9 +2075,6 @@ type GetProductPriceInfoResultItemPrice struct {
|
|||||||
// Product price including discounts. This value is shown on the product description page
|
// Product price including discounts. This value is shown on the product description page
|
||||||
Price string `json:"price"`
|
Price string `json:"price"`
|
||||||
|
|
||||||
// Product price suggested by the system based on similar offers
|
|
||||||
RecommendedPrice string `json:"recommended_price"`
|
|
||||||
|
|
||||||
// Retailer price
|
// Retailer price
|
||||||
RetailPrice string `json:"retail_price"`
|
RetailPrice string `json:"retail_price"`
|
||||||
|
|
||||||
|
|||||||
@@ -147,7 +147,6 @@ func TestGetProductDetails(t *testing.T) {
|
|||||||
"old_price": "",
|
"old_price": "",
|
||||||
"premium_price": "",
|
"premium_price": "",
|
||||||
"price": "590.0000",
|
"price": "590.0000",
|
||||||
"recommended_price": "",
|
|
||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
"is_enabled": true,
|
"is_enabled": true,
|
||||||
@@ -1395,7 +1394,6 @@ func TestListProductsByIDs(t *testing.T) {
|
|||||||
"old_price": "1000.0000",
|
"old_price": "1000.0000",
|
||||||
"premium_price": "590.0000",
|
"premium_price": "590.0000",
|
||||||
"price": "690.0000",
|
"price": "690.0000",
|
||||||
"recommended_price": "",
|
|
||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
"is_enabled": true,
|
"is_enabled": true,
|
||||||
@@ -1472,7 +1470,6 @@ func TestListProductsByIDs(t *testing.T) {
|
|||||||
"old_price": "12200.0000",
|
"old_price": "12200.0000",
|
||||||
"premium_price": "5490.0000",
|
"premium_price": "5490.0000",
|
||||||
"price": "6100.0000",
|
"price": "6100.0000",
|
||||||
"recommended_price": "",
|
|
||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
"is_enabled": true,
|
"is_enabled": true,
|
||||||
@@ -2357,7 +2354,6 @@ func TestGetProductPriceInfo(t *testing.T) {
|
|||||||
"price": "499.0000",
|
"price": "499.0000",
|
||||||
"old_price": "579.0000",
|
"old_price": "579.0000",
|
||||||
"premium_price": "",
|
"premium_price": "",
|
||||||
"recommended_price": "",
|
|
||||||
"retail_price": "",
|
"retail_price": "",
|
||||||
"vat": "0.200000",
|
"vat": "0.200000",
|
||||||
"min_ozon_price": "",
|
"min_ozon_price": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user