Get a payment update link for the customer
POST /api/subscriptions/{id}/payment-method/update-url
POST
/api/subscriptions/{id}/payment-method/update-url
Returns a secure Shopify-hosted URL the team can send to the customer to update the payment method on this subscription. Uses Shopify’s customerPaymentMethodGetUpdateUrl mutation.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Payment update link generated
object
url
required
string
Subscription has no Shopify contract, or Shopify rejected the request
Example
{ "error": "Subscription has no Shopify contract"}