Hi All,
I am connecting the apple store api for fetching report data fine with "SALES"
api.appstoreconnect.apple.com/v1/salesReports?filter[frequency]=DAILY&filter[reportSubType]=DETAILED&filter[reportType]=SALES&filter[vendorNumber]=xxxxxxxx&filter[reportDate]=2020-07-01&filter[version]=10
but getting issue with "PREORDER"
api.appstoreconnect.apple.com/v1/salesReports?filter[frequency]=DAILY&filter[reportSubType]=DETAILED&filter[reportType]=PREORDER&filter[vendorNumber]=xxxxxxxx&filter[reportDate]=2020-07-01&filter[version]=10
error message like,
{
"errors" : [ {
"id" : "xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"status" : "400",
"code" : "PARAMETER_ERROR.INVALID",
"title" : "A parameter has an invalid value",
"detail" : "Invalid vendor number specified. Try again.",
"source" : {
"parameter" : "filter[vendorNumber]"
}
} ]
}
Please advice