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
534 stars 722 forks source link

YTD net PPM not available through API #3950

Closed tonghoo closed 4 weeks ago

tonghoo commented 1 month ago

I am currently utilizing the Vendor Central API and have a specific inquiry regarding the "Vendor Net Pure Product Margin Report."

I can find Year to Date (YTD) Net Pure Product Margin (Net PPM) in the Vendor central portal (see attached screen shot).

Screenshot 2024-06-07 at 9 15 03 AM

How can I get the same data via API? I have tried "reportOptions":{"reportPeriod": "YEAR"} with today or end of year day as 'dataEndTime'. I was able to create the report. But the status of the reports were always 'FATAL'.

Thank you in advance for your assistance.

rodrifed commented 4 weeks ago

Hi @tonghoo,

Thank you for your message.

Are you also specifying a dataStartTime in your request? This is a required attribute for GET_VENDOR_NET_PURE_PRODUCT_MARGIN_REPORT. If you are doing it and still getting errors, I will kindly ask you to please open a Developer Support case, and provide merchant/seller Id, report Id, and timestamp. Our support team will be able to assist you.

Thank you, Federico Selling Partner Developer Services