Hello folks. Hope you have a great day.
I have a question on your Get Notification History API. Reference : https://developer.apple.com/documentation/appstoreserverapi/get_notification_history
According to NotificationHistoryRequest document( https://developer.apple.com/documentation/appstoreserverapi/notificationhistoryrequest ) startDate parameter allows past 180 days from current date.
However my test result is little bit different. Could you help me this case?
I'll give detailed request/response during testing.
- Request body
{"startDate":1714364482159,"endDate":1729048882326,"notificationType":"REFUND","notificationSubtype":null,"transactionId":null,"onlyFailures":null}
- Response
- Header
server: daiquiri/5
date: Wed, 16 Oct 2024 03:21:38 GMT
content-type: application/json
content-length: 110
x-apple-jingle-correlation-key: SBDV5UOM7YGOJCYS2M4S2X67IE
x-apple-request-uuid: 90475ed1-ccfe-0ce4-8b12-d3392d5fdf41
b3: 90475ed1ccfe0ce48b12d3392d5fdf41-06ee3a4acafcff41
x-b3-traceid: 90475ed1ccfe0ce48b12d3392d5fdf41
x-b3-spanid: 06ee3a4acafcff41
apple-seq: 0.0
apple-tk: false
apple-originating-system: CommerceGateway
x-responding-instance: CommerceGateway:20104:::
apple-timing-app: 8 ms
strict-transport-security: max-age=31536000; includeSubDomains
x-daiquiri-instance: daiquiri:47578001:st44p00it-hyhk15014801:7987:24RELEASE221:daiquiri-amp-commerce-clients-ext-002-st
- body
{"errorCode":4000012,"errorMessage":"Invalid request. The start date is earlier than the allowed start date."}
As you see, request sent at Wed, 16 Oct 2024 03:21:38 GMT
,
and start date is 1714364482159
which is Mon, 29 April 2024 04:21:22
(milli second).
The difference between the two dates is 170 days.
Could you help me this this case? If I misunderstood on your API, please let me know. Thank you.