Checkouts API write requests now require the modify scope
We fixed an issue where a token with only the Checkouts read-only scope could be used to modify checkout data. Over the coming weeks, requests that write checkout data with a read-only token will start returning 403 Forbidden.
- Write requests require the modify scope: requests that create, update, or delete checkout data need the Checkouts modify scope. A token with only the Checkouts read-only scope receives a
403 Forbiddenresponse for these requests. - Read requests are unchanged: tokens with the Checkouts read-only scope can continue to read checkout data.
- Action for integrations: if an integration writes checkout data, confirm that its API account has the Checkouts modify scope.
Storefront GraphQL orders return the total after gift certificates and store credit
The Storefront GraphQL API now returns an order’s total including tax after gift certificates and store credit are applied, so you can show the amount the shopper paid, matching the order total on the storefront’s account orders page.
- New field.
totalIncTaxAfterGiftCertificatesAndStoreCredit(Money!) on theBaseOrderinterface, available on bothOrderandOrderWithPayments. - Difference from
totalIncTax.totalIncTaxis unchanged and still includes the value paid with gift certificates and store credit. The new field deducts them. - No changes needed. Existing queries keep working. Add the field to your order queries to use it.
For schema details, see the Storefront GraphQL API reference:
Shopping Agent switch for users who are not the store owner
The Shopping Agent on/off switch on the dashboard is now disabled for users without store-owner permissions, with a note explaining why.
- Before: the switch looked clickable for everyone. Staff who were not the store owner saw an error alert only after clicking it.
- Now: the switch is greyed out, and “Only the store owner can change these settings.” appears under the description. No error alert is shown.
- Store owners: no change.
Klarna is turned on by default for newly connected Stripe accounts
We are beginning to roll out Klarna as a payment method that is turned on by default when you connect a new Stripe account, so Klarna will be available at checkout for newly connected Stripe accounts over the coming weeks.
- New Stripe connections: when you finish connecting a Stripe account, BigCommerce turns on Klarna in the payment method configuration of your Stripe account. This applies to test mode and, when you connect a live account, to live mode.
- Existing connections: Stripe accounts that are already connected do not change.
- Accounts where Klarna is unavailable: if Klarna is not offered for your Stripe account, or its setting cannot be changed, BigCommerce leaves the configuration as it is.
- Your control: you can turn Klarna off at any time in the payment method settings of your Stripe Dashboard.
V2 Currencies API clears country codes when a currency becomes the default
We are beginning to roll out a fix to the V2 Currencies API. When you update a currency with is_default: true, the response and later reads will show an empty default_for_country_codes for the new default currency, matching what the control panel does when you set a default currency. You may notice this change over the coming weeks.
- Before: the new default currency kept the country codes it had before it became the default.
- After:
default_for_country_codesis an empty array, because the default currency is not assigned to specific countries. - Unchanged: the new default still gets an exchange rate of
1,is_transactionalset totrueandauto_updateset tofalse. Other fields sent in the same request are still saved.