Subscription Data
Get variant contextual pricing
Retrieves contextual pricing information for a product variant based on currency and country. This endpoint provides localized pricing data for international subscriptions and multi-currency support.
Full behavior, validation rules, and side effects
Pricing Information Returned:
- Base price in specified currency
- Compare-at price (if applicable)
- Country-specific pricing adjustments
- Tax information for the region
- Currency conversion data
Parameters:
variantId- Shopify variant ID (required)currencyCode- ISO 4217 currency code (e.g., USD, EUR, GBP) (required)countryCode- ISO 3166-1 country code (e.g., US, GB, CA) (optional)
Use Cases:
- Display localized pricing in customer portal
- Calculate subscription totals for international customers
- Support multi-currency subscriptions
- Show accurate pricing based on customer location
- Validate pricing before subscription creation
Important Notes:
- Requires Shopify Markets or multi-currency setup
- Prices are returned in the requested currency
- Country-specific pricing takes precedence over currency-only pricing
- Returns 404 if variant doesn’t exist or isn’t available in specified market
Authentication: Requires valid api_key parameter
GET
Get variant contextual pricing
Documentation Index
Fetch the complete documentation index at: https://developers.appstle.com/llms.txt
Use this file to discover all available pages before exploring further.