Skip to main content

Function: updatePaymentMethod()

updatePaymentMethod(session, id, updateRequest): Promise<PaymentMethod>

Modify an existing Payment Method

Currently, shopify_payments is in read-only mode and can only be managed by Shopify.

Parameters

ParameterType
sessionSession
idstring | number
updateRequestUpdatePaymentMethodRequest

Returns

Promise<PaymentMethod>