8/23/2025, 12:01:09 AM
The mutation marketCurrencySettingsUpdate
has been deprecated and will be removed in a future release; developers should now use marketCreate
for creating a market and marketUpdate
for updating its currency settings. A new error type CollectionReorderProductsUserError
replaces the generic UserError
in the CollectionReorderProductsPayload
, providing a more specific error code TOO_MANY_ATTEMPTS_TO_REORDER_PRODUCTS
. The CustomerPaymentMethod
type now includes a resourceId
and a resourceType
(MandateResourceType
enum) to represent the specific resource the payment method was created for (e.g., Order, Subscriptions). The MandateResourceType
enum lists supported resource types: CARD_ON_FILE, CHECKOUT, DRAFT_ORDER, ORDER, and SUBSCRIPTIONS. The MarketUserErrorCode
enum gains three new values – PROVINCE_DOES_NOT_EXIST
, MISSING_PROVINCE_CODE
, and INVALID_PROVINCE_FORMAT
– to signal province‑related validation issues. The SubscriptionBillingAttemptErrorCode
enum is extended with PAYMENT_METHOD_NOT_SPECIFIED
to indicate missing payment methods during billing attempts. Existing queries remain unchanged, but developers should adjust mutations and error handling to align with these new types and deprecations.
Updates currency settings of a market.
Errors related to order customer removal.
Possible error codes that can be returned by CollectionReorderProductsUserError
.
The type of resource a payment mandate can be used for.
userErrors
resourceId
The ID of the resource that this payment method was created for.
resourceType
The resource type that this payment method was created for (e.g., Order, Subscriptions).
PROVINCE_DOES_NOT_EXIST
MISSING_PROVINCE_CODE
INVALID_PROVINCE_FORMAT
PAYMENT_METHOD_NOT_SPECIFIED