Skip to content

Support "List All In-App Purchases for an App" #57

@WesleyBatista

Description

@WesleyBatista

Available here:

  1. https://developer.apple.com/documentation/appstoreconnectapi/list_all_in-app_purchases_for_an_app_v1 ("deprecated")
  2. https://developer.apple.com/documentation/appstoreconnectapi/list_all_in-app_purchases_for_an_app (v2)
v1 Example from their page:
{
    "data": [
        {
            "type": "inAppPurchases",
            "id": "ca38ea26-b7d5-4989-9615-c678cb05aabd",
            "attributes": {
                "referenceName": "YNC1",
                "productId": "YNCNC1",
                "inAppPurchaseType": "NON_CONSUMABLE",
                "state": "WAITING_FOR_SCREENSHOT"
            },
            "links": {
                "self": "https://api.appstoreconnect.apple.com/v1/inAppPurchases/ca38ea26-b7d5-4989-9615-c678cb05aabd"
            }
        }
    ],
    "links": {
        "self": "https://api.appstoreconnect.apple.com/v1/apps/6446998023/inAppPurchases"
    },
    "meta": {
        "paging": {
            "total": 1,
            "limit": 50
        }
    }
}

Challenge here seems to be:

  1. the data field being a list instead of dict
  2. the url requires the App ID in the middle of the path
    e.g.: GET https://api.appstoreconnect.apple.com/v1/apps/{id}/inAppPurchases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions