3

Is there any way I can request App Store in-app purchase data for my iOS Application? The reason behind this is that content is added through a backend server and we'd like to avoid having to fill duplicate content rather than pulling it directly from the AppStore.

I.e: when we create a new in-app purchase content in iTunes Connect, we have to assign a product ID, Reference Name and a Price tier. We have to add the same data to our backend server, but we'd like to add only the product ID and pull the rest from the App Store through an API.

Is this possible?

2
  • Did you find it? I am also looking for a server-side Price API, which can be called from our server. Mar 28, 2019 at 6:12
  • Have you implemented this?
    – Milad ABC
    Jul 28, 2020 at 8:29

2 Answers 2

0

If I understand you correctly:

1) At a minimum you have to have the productId.

2) Then you can create a:

SKProductsRequest *productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers]; //a set of id's
productsRequest.delegate = self;  //use SKProductsRequestDelegate
[productsRequest start];

3) This will return to you a SKProductsResponse of which contains a products property, which is an array of SKProducts

4) From an SKProduct you can then have access to:

localizedDescription
localizedTitle
price
priceLocale
productIdentifier

SKProduct Reference

Additionally, it looks like someone has been able to tap into the iTunes Connect API. But I don't see anything about IAP's in this example response. Check out Fastlane on Github.

6
  • Hmm, I think I didn't explain myself right. I need exactly this, but for server-side code, like maybe a JSON API or a PHP/JS SDK May 5, 2015 at 4:25
  • Any luck finding that? Mar 28, 2019 at 6:13
  • @YogeshKaushik Did you find any solution for this?
    – Milad ABC
    Jul 28, 2020 at 8:27
  • No, there is no server side API for Price. Sep 11, 2020 at 20:22
  • @YogeshKaushik are you implement alternative method or find solution for this ? Sep 21, 2020 at 12:33
0

There is no available API from Apple to fetch this info from Server. There is a way though - you can use Transporter which is Apples' java based command-line tool.

https://help.apple.com/itc/transporteruserguide/en.lproj/static.html

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.