Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect products fee response caused by request order #272

Closed
bjoern-dirksen opened this issue Aug 30, 2022 · 2 comments
Closed

Incorrect products fee response caused by request order #272

bjoern-dirksen opened this issue Aug 30, 2022 · 2 comments

Comments

@bjoern-dirksen
Copy link

bjoern-dirksen commented Aug 30, 2022

Hi,

I receive incorrect responses depending on the order of my request entries.

Both request are equal only order is modified.

Expectation: Response with error response for asin B07V3CBGHT and normal fee response for asin B00BXMDI3U.

First Response: Nearly as expected just error entry for asin B00BXMDI3U seems wrong(belongs to B07V3CBGHT ?).

Second Response: Response for Asin B07V3CBGHT got error but contains FeeDetailList of asin B00BXMDI3U.

  1. Request:
    https://sellingpartnerapi-eu.amazon.com/products/fees/v0/feesEstimate
[ {
    "FeesEstimateRequest" : {
      "MarketplaceId" : "A1PA6795UKMFR9",
      "IsAmazonFulfilled" : false,
      "PriceToEstimateFees" : {
        "ListingPrice" : {
          "Amount" : 47.91,
          "CurrencyCode" : "EUR"
        },
        "ShippingPrice" : null,
        "Points" : null
      },
      "Identifier" : "-153633440",
      "OptionalFulfillmentProgram" : null
    },
    "IdType" : "ASIN",
    "IdValue" : "B07V3CBGHT"
  }, {
    "FeesEstimateRequest" : {
      "MarketplaceId" : "A1PA6795UKMFR9",
      "IsAmazonFulfilled" : false,
      "PriceToEstimateFees" : {
        "ListingPrice" : {
          "Amount" : 3600.28,
          "CurrencyCode" : "EUR"
        },
        "ShippingPrice" : null,
        "Points" : null
      },
      "Identifier" : "-657685205",
      "OptionalFulfillmentProgram" : null
    },
    "IdType" : "ASIN",
    "IdValue" : "B00BXMDI3U"
  } ]
  1. Response:
[
    {
        "Status": "ServerError",
        "FeesEstimateIdentifier": {
            "MarketplaceId": "A1PA6795UKMFR9",
            "IdType": "ASIN",
            "SellerId": "*****",
            "SellerInputIdentifier": "-153633440",
            "IsAmazonFulfilled": false,
            "IdValue": "B07V3CBGHT",
            "PriceToEstimateFees": {
                "ListingPrice": {
                    "CurrencyCode": "EUR",
                    "Amount": 47.91
                }
            }
        },
        "Error": {
            "Type": "Receiver",
            "Code": "DataNotAvailable",
            "Message": "Non-buyable item. Missing category.",
            "Detail": []
        }
    },
    {
        "Status": "Success",
        "FeesEstimateIdentifier": {
            "MarketplaceId": "A1PA6795UKMFR9",
            "IdType": "ASIN",
            "SellerId": "*****",
            "SellerInputIdentifier": "-657685205",
            "IsAmazonFulfilled": false,
            "IdValue": "B00BXMDI3U",
            "PriceToEstimateFees": {
                "ListingPrice": {
                    "CurrencyCode": "EUR",
                    "Amount": 3600.28
                }
            }
        },
        "FeesEstimate": {
            "TimeOfFeesEstimation": "2022-08-30T11:14:26.000Z",
            "TotalFeesEstimate": {
                "CurrencyCode": "EUR",
                "Amount": 295.02
            },
            "FeeDetailList": [
                {
                    "FeeType": "ReferralFee",
                    "FeeAmount": {
                        "CurrencyCode": "EUR",
                        "Amount": 295.02
                    },
                    "FinalFee": {
                        "CurrencyCode": "EUR",
                        "Amount": 295.02
                    },
                    "FeePromotion": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    }
                },
                {
                    "FeeType": "VariableClosingFee",
                    "FeeAmount": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FinalFee": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FeePromotion": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    }
                },
                {
                    "FeeType": "PerItemFee",
                    "FeeAmount": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FinalFee": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FeePromotion": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    }
                }
            ]
        },
        "Error": {
            "Type": "Receiver",
            "Code": "DataNotAvailable",
            "Message": "Non-buyable item. Missing category.",
            "Detail": []
        }
    }
]
  1. Request
    https://sellingpartnerapi-eu.amazon.com/products/fees/v0/feesEstimate
[
    {
        "FeesEstimateRequest": {
            "MarketplaceId": "A1PA6795UKMFR9",
            "IsAmazonFulfilled": false,
            "PriceToEstimateFees": {
                "ListingPrice": {
                    "Amount": 3600.28,
                    "CurrencyCode": "EUR"
                },
                "ShippingPrice": null,
                "Points": null
            },
            "Identifier": "-1224537704",
            "OptionalFulfillmentProgram": null
        },
        "IdType": "ASIN",
        "IdValue": "B00BXMDI3U"
    },
    {
        "FeesEstimateRequest": {
            "MarketplaceId": "A1PA6795UKMFR9",
            "IsAmazonFulfilled": false,
            "PriceToEstimateFees": {
                "ListingPrice": {
                    "Amount": 47.91,
                    "CurrencyCode": "EUR"
                },
                "ShippingPrice": null,
                "Points": null
            },
            "Identifier": "-720485939",
            "OptionalFulfillmentProgram": null
        },
        "IdType": "ASIN",
        "IdValue": "B07V3CBGHT"
    }
]
  1. Response
[
    {
        "Status": "Success",
        "FeesEstimateIdentifier": {
            "MarketplaceId": "A1PA6795UKMFR9",
            "IdType": "ASIN",
            "SellerId": "*****",
            "SellerInputIdentifier": "-1224537704",
            "IsAmazonFulfilled": false,
            "IdValue": "B00BXMDI3U",
            "PriceToEstimateFees": {
                "ListingPrice": {
                    "CurrencyCode": "EUR",
                    "Amount": 3600.28
                }
            }
        },
        "FeesEstimate": {
            "TimeOfFeesEstimation": "2022-08-30T11:24:47.000Z",
            "TotalFeesEstimate": {
                "CurrencyCode": "EUR",
                "Amount": 295.02
            },
            "FeeDetailList": [
                {
                    "FeeType": "ReferralFee",
                    "FeeAmount": {
                        "CurrencyCode": "EUR",
                        "Amount": 295.02
                    },
                    "FinalFee": {
                        "CurrencyCode": "EUR",
                        "Amount": 295.02
                    },
                    "FeePromotion": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    }
                },
                {
                    "FeeType": "VariableClosingFee",
                    "FeeAmount": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FinalFee": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FeePromotion": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    }
                },
                {
                    "FeeType": "PerItemFee",
                    "FeeAmount": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FinalFee": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FeePromotion": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    }
                }
            ]
        }
    },
    {
        "Status": "ServerError",
        "FeesEstimateIdentifier": {
            "MarketplaceId": "A1PA6795UKMFR9",
            "IdType": "ASIN",
            "SellerId": "*****",
            "SellerInputIdentifier": "-720485939",
            "IsAmazonFulfilled": false,
            "IdValue": "B07V3CBGHT",
            "PriceToEstimateFees": {
                "ListingPrice": {
                    "CurrencyCode": "EUR",
                    "Amount": 47.91
                }
            }
        },
        "FeesEstimate": {
            "TimeOfFeesEstimation": "2022-08-30T11:24:47.000Z",
            "TotalFeesEstimate": {
                "CurrencyCode": "EUR",
                "Amount": 295.02
            },
            "FeeDetailList": [
                {
                    "FeeType": "ReferralFee",
                    "FeeAmount": {
                        "CurrencyCode": "EUR",
                        "Amount": 295.02
                    },
                    "FinalFee": {
                        "CurrencyCode": "EUR",
                        "Amount": 295.02
                    },
                    "FeePromotion": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    }
                },
                {
                    "FeeType": "VariableClosingFee",
                    "FeeAmount": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FinalFee": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FeePromotion": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    }
                },
                {
                    "FeeType": "PerItemFee",
                    "FeeAmount": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FinalFee": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    },
                    "FeePromotion": {
                        "CurrencyCode": "EUR",
                        "Amount": 0.0
                    }
                }
            ]
        },
        "Error": {
            "Type": "Receiver",
            "Code": "DataNotAvailable",
            "Message": "Non-buyable item. Missing category.",
            "Detail": []
        }
    }
]

Thanks for investigating

Copy link

github-actions bot commented May 9, 2024

This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.

Copy link

closed for inactivity

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant