Posts

Post not yet marked as solved
0 Replies
107 Views
Hi, When calling the endpoint to list all the pricePoints per app: https://api.appstoreconnect.apple.com/v1/apps/xxxxxxxx/pricePoints The response does not seem correct because there is no next element returned. Not only that but when setting different values in the limit parameter, the value of limit and total of the meta object is always the same. For example: Example #1 https://api.appstoreconnect.apple.com/v1/apps/xxxxxxxx/pricePoints?limit=1 response: 'meta': {'paging': {'total': 1, 'limit': 1}} Example #2 https://api.appstoreconnect.apple.com/v1/apps/xxxxxxxx/pricePoints?limit=5 response: 'meta': {'paging': {'total': 5, 'limit': 5}} Example #3 https://api.appstoreconnect.apple.com/v1/apps/xxxxxxxx/pricePoints?limit=200 response: 'meta': {'paging': {'total': 200, 'limit': 200}} Am I doing something wrong or is there a bug in the API?
Posted
by JoseT.
Last updated
.
Post not yet marked as solved
0 Replies
121 Views
Hi, After calling the following endpoint: params = {'limit': 1, 'fields[appPricePoints]': ['customerPrice,territory,priceTier,proceeds'], 'include': ['territory,priceTier']} GET - https://api.appstoreconnect.apple.com/v1/appPriceTiers/1/pricePoints the 200 response returns the element next: https://api.appstoreconnect.apple.com/v1/appPriceTiers/1/pricePoints?cursor=AQ.AMXRC_I&include=priceTier%2Cterritory&fields%5BappPricePoints%5D=priceTier%2Cproceeds%2CcustomerPrice%2Cterritory&limit=1 for which after calling it the response is a 400 HTTP status code an error message: "The parameter 'include' can only be included once". Am I doing something wrong or is the server responding with an invalid next link?
Posted
by JoseT.
Last updated
.