From 58074bebd2cea585970b9e2360f614de69404181 Mon Sep 17 00:00:00 2001 From: ruslankesheshyan Date: Tue, 4 Apr 2023 13:04:29 -0700 Subject: [PATCH] Minor updates --- api.json | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/api.json b/api.json index f10f2fa..b0c3802 100644 --- a/api.json +++ b/api.json @@ -127,16 +127,18 @@ }, "apns_key_id": { "type": "string", - "description": "iOS: Required if using p8. Unique identifier for the p8 authentication key." + "description": "iOS: Required if using p8. Unique identifier for the p8 authentication key.", + "nullable": true }, "apns_team_id": { "type": "string", - "description": "iOS: Required if using p8. Team ID generated by Apple for your developer account." - + "description": "iOS: Required if using p8. Team ID generated by Apple for your developer account.", + "nullable": true }, "apns_bundle_id": { "type": "string", - "description": "iOS: Required if using p8. Bundle ID for your app in the Apple ecosystem." + "description": "iOS: Required if using p8. Bundle ID for your app in the Apple ecosystem.", + "nullable": true }, "apns_p8": { "type": "string", @@ -180,7 +182,8 @@ }, "basic_auth_key": { "type": "string", - "readOnly": true + "readOnly": true, + "nullable": true }, "organization_id": { "type": "string", @@ -1343,6 +1346,9 @@ "iso": { "type": "string", "description": "The 3-letter ISO 4217 currency code. Required for correct storage and conversion of amount." + }, + "count": { + "type": "number" } }, "required": [ @@ -1772,9 +1778,6 @@ "session_count": { "type": "number" }, - "amount_spent": { - "type": "number" - }, "purchases": { "type": "array", "items": { @@ -2110,10 +2113,6 @@ "properties": { "identity": { "$ref": "#/components/schemas/IdentityObject" - }, - "retain_previous_owner": { - "type": "boolean", - "description": "The request must specify whether the subscription’s previous user should be retained. If so and the subscription is the last subscription for the previous user, then an orphan user will be created. This only applies if the subscription is the previous user’s only subscription. If the previous user had other subscriptions, nothing happens to the user." } } }, @@ -3187,13 +3186,6 @@ "type": "string" } }, - { - "in": "header", - "name": "subscription_id", - "schema": { - "type": "string" - } - }, { "in": "path", "name": "alias_label",