Updates the payment method for an existing subscription contract to use a different existing payment method. The new payment method must already be associated with the customer in Shopify.
Important Notes:
Process Flow:
Authentication: Requires valid X-API-Key header
curl --request PUT \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-contracts-update-existing-payment-method \
--header 'X-API-Key: <x-api-key>'{
"message": "Payment method updated successfully"
}Documentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
API Key for authentication
Subscription contract ID to update payment method for. Must be a valid contract ID that belongs to the authenticated shop.
x >= 1ID of the existing customer payment method to use. Must be a valid Shopify GraphQL payment method ID in the format 'gid://shopify/CustomerPaymentMethod/{id}'. The payment method must:
You can retrieve available payment methods using the customer payment methods endpoint.
^gid://shopify/CustomerPaymentMethod/[a-zA-Z0-9]+$Payment method updated successfully
curl --request PUT \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-contracts-update-existing-payment-method \
--header 'X-API-Key: <x-api-key>'{
"message": "Payment method updated successfully"
}