amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
547 stars 722 forks source link

[BUG] Wrong documentation of required value in VendorInventoryReport #647

Closed gaelayo closed 2 months ago

gaelayo commented 2 months ago

The field openPurchaseOrderUnits is marked as required in vendorInventoryReport.json, but when requesting real data for the report api, we do sometimes encounter null for it.

e.g.

   "startDate" : "2023-05-13",
    "endDate" : "2023-05-13",
    "asin" : "REDACTED",
    "sourceableProductOutOfStockRate" : null,
    "procurableProductOutOfStockRate" : null,
    "openPurchaseOrderUnits" : null,

I think it could be good to update the documentation accordingly, especially since the purpose of swagger/openapi is to automatically generate code representing accurately the report.

shreeharsh-a commented 2 months ago

Thank you. We have noted this & will action in due course of time.

gaelayo commented 1 month ago

For future reference, same goes for: