APIs for managing Shopify delivery profiles, shipping rates, zones, and free shipping configuration for subscription memberships
👤 Customer Portal APIs
/- getSubscriptionContractRawExternal
addLineItem
Update membership contract status
updateShippingAddress
updatePaymentMethod
updateOrderNote
updateLineItemAttributes
updateExistingPaymentMethod
updateBillingInterval
updateNextBillingDate
removeLineItem
removeDiscount
addCancellationDiscount
applyDiscountCode
Add a product to an existing membership contract
updateVariant
updateSubscriptionContractDetails
getSubscriptionCustomerForCP
getValidSubscriptionCustomerForCP
getValidSubscriptionCustomerDetails
getSubscriptionContractRaw
emailMagicLink
getPendingDowngrade
cancelPendingDowngrade
getSubscriptionFulfillments
getShopifyCustomerPaymentDetails
getSubscriptionOrderNote
getCurrentCycleOfSubscriptionContract
Cancel a membership contract
getSubscriptionContractRa...
Customer Portal APIs (0.0.1)
Important Note:
The APIs in this document are for reference only and will not work directly in Swagger. To use these APIs, you need to call them from your shop.
The base URL for these APIs is your shop's domain. For example, if your shop domain is https://www.myshop.com/apps, then the full API endpoint will be based on this domain (e.g., https://www.myshop.com/apps/memberships/cp/api/**).
Please ensure the customer is logged in when calling the Customer Portal Proxy API. If the customer is not logged in, the API will return a 401 Unauthorized error.
Download OpenAPI description
Languages
Servers
https://www.myshop.com/apps
- https://www.myshop.com/apps/memberships/cp/api/subscription-contracts-email-magic-link
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://www.myshop.com/apps/memberships/cp/api/subscription-contracts-email-magic-link?shop=string&email=string'