curl -X PATCH "https://ecommerce.jelou.ai/api/v1/apps/{app_id}/settings" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"currency": "COP",
"tax_value": 0.19
}'
{
"currency": "COP",
"tax_value": 0.19
}
Configure your store’s currency and tax rate.
curl -X PATCH "https://ecommerce.jelou.ai/api/v1/apps/{app_id}/settings" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"currency": "COP",
"tax_value": 0.19
}'
{
"currency": "COP",
"tax_value": 0.19
}
USD, EUR, COP, MXN.0 and 1. Example: 0.15 for 15%, 0.19 for 19%.curl -X PATCH "https://ecommerce.jelou.ai/api/v1/apps/{app_id}/settings" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"currency": "COP",
"tax_value": 0.19
}'
{
"currency": "COP",
"tax_value": 0.19
}
USD. If you haven’t configured a currency, prices will be displayed in US dollars.
| Code | Currency |
|---|---|
USD | US Dollar |
EUR | Euro |
COP | Colombian Peso |
MXN | Mexican Peso |
PEN | Peruvian Sol |
CLP | Chilean Peso |
BRL | Brazilian Real |
ARS | Argentine Peso |
net_price = price / (1 + tax_value)
tax = price - net_price
$11.50 with rate 0.15 (15%):
$11.50 / 1.15 = $10.00$11.50 - $10.00 = $1.50tax_value, a default value is assigned based on the store’s currency:
| Currency | Default rate |
|---|---|
COP | 19% (0.19) |
PEN | 18% (0.18) |
MXN | 16% (0.16) |
| Others | 15% (0.15) |
{app_id} with your store ID and <API_KEY> with the token provided by Jelou.Was this page helpful?