Calculate a localized or optimized price for your service or product based on the customer’s location and other characteristics.
["monthly", "annual"]
, Corrily returns price data for your monthly
and annual
products. Product IDs are created by Corrily when you set up your Corrily
account. Email support@corrily.com if you don’t know yours.get_ip_from_request
is false. Examples: 187.106.3.73
(IPv4),
2804:14d:ac91:8286:efcb:851f:b59f:fffc
(IPv6).true
, Corrily sources the user’s IP from this request.
get_ip_from_request
therefore only works correctly when the Corrily API
request is made from a client device.US
{"platform": "ios"}
stripe
, paypal
, chargebee
true
, a currency
param must
be passed. Unlike override
the price amount will not be recomputed.{"product_id_1": "coupon_id_1"}
. Multiple coupons can be applied by a comma-delimited string, for example: {"product_id_1": "coupon_id_1,coupon_id2"}
country
value provided here in the
response is inferred from the user’s IP address.products. {id}.display.price
meets your needs before manually constructing a display price
with this field.products.{id}.display.price
meets your needs before manually constructing a
display price with this field.{id}
below represents your product ID(s). See Setup to learn how to create product IDs.