New updates to Partner API
API
Effective August 01, 2021
Starting today, the following changes are effective on the unstable
version of Partner API to help developers with the calculation of their app store revenue.
- The transaction objects
AppOneTimeSale
,AppSaleAdjustment
,AppSaleCredit
,AppSubscriptionSale
, andAppUsageSale
have a new field titledprocessingFee
. TheprocessingFee
field indicates the amount that was deducted for processing your application’s charge to a merchant. - The previously mentioned transaction objects have a new calculation for the
netAmount
field. The new calculation accounts for the deduction ofprocessingFee
amount from your app charge and adjustment to a merchant. SALE_SHOPIFY_FEE
in the TaxTransactionType enum is deprecated and replaced by theSALE_FEES
value. When taxes are charged on all fees for an app, theme, or service transaction, theSALE_FEES
value is returned in theTaxTransaction
object.- The
type
field inTaxTransaction
object is deprecated. A new field titledtaxType
is now present on the object, which will return eitherTaxTransactionType.REFERRAL_COMMISSION
for taxes paid out on your commission fee for a referral orTaxTransactionType.SALE_FEES
for taxes charged on fees for an app, theme, or service transaction.
These changes are available in the unstable version today and will be made official in the 2022-01 version of Partner API. Learn more about partner API reference documentation at Shopify.dev.