GraphQL Schema Updates

Authenticated customers can now update a stored payment instrument through the Storefront GraphQL API.

Storefront GraphQL

  • Update stored payment instruments: a new updateStoredPaymentInstrument mutation on the CustomerMutations type updates a stored payment instrument for the authenticated customer. This mutation is an alpha preview and is not intended for production use.
    • Input: UpdateStoredPaymentInstrumentInput takes the instrument token, an optional setAsDefault flag (promote-only: it cannot un-set an existing default), and an optional billingAddress using the new StoredPaymentInstrumentBillingAddressInput type.
    • Result: UpdateStoredPaymentInstrumentResult returns the updated storedPaymentInstrument, the defaultStoredPaymentInstrumentToken after the update, and any errors reported through the new UpdateStoredPaymentInstrumentError type.

For schema details, browse the Storefront GraphQL API reference.


Tax Provider API document requests include delivery type

Quote requests sent to tax providers now identify how each consignment is delivered, so providers can apply delivery-specific tax rules.

  • delivery_type — a required field on each DocumentRequest, with the values digital, pickup, courier, and postal. It applies to the estimate, commit, and adjust operations.

For details, see Estimate taxes.