Post

Replies

Boosts

Views

Activity

Store API Request returns invalid version or invalid vendor number
As the title states, I am having an issue requesting sales reports. Here are my parameters: 		'filter[frequency]'=>'DAILY', 		'filter[reportDate]'=>'2020-11-01', 		'filter[reportSubType]'=>'SUMMARY', 		'filter[reportType]'=>'SALES', 		'filter[vendorNumber]'=>XXXXXXXX, //		'filter[version]'=>'1_0' This request seems to meet the requirements set at the bottom of doc (https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports) But it still doesnt work for me. As it is above, it returns: "status" : "400", "code" : "PARAMETERERROR.INVALID", "title" : "A parameter has an invalid value", "detail" : "Invalid vendor number specified. Try again.", "source" : {"parameter" : "filter[vendorNumber]" If I uncomment the version, I get: "status" : "400", "code" : "PARAMETERERROR.INVALID", "title" : "A parameter has an invalid value", "detail" : "The version parameter you have specified is invalid. The latest version for this report is 1_0.", "source" : {"parameter" : "filter[version]" Obviously that is the same version I have in my parameters so I think something is wrong with this error or something has changed in the API and it isnt in the document linked above. I quadruple checked the vendor number and it is right. I can use some ideas or some advice if someone has seen this issue and was able to resolve it. Thanks in advance.
0
0
815
Dec ’20