Query the active shipping rate for a specific province and currency combination to display accurate delivery costs to customers before they complete checkout. This endpoint is public — no authentication is required. The lookup returns the first active rate that matches both the destination province and the requested currency.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ItsJhonAlex/Ecommerce/llms.txt
Use this file to discover all available pages before exploring further.
Look up a shipping rate
Returns the active shipping rate for the givenprovince and currency pair. If no active rate is configured for that combination, the endpoint returns 404 with a localized error message.
Query parameters
The destination province to look up (e.g.,
"La Habana", "Santiago de Cuba", "Matanzas"). Must be a non-empty string. The value must exactly match the province as stored in the shipping rates table — use the same province values accepted by the checkout endpoint’s recipient.province field.ISO 4217 currency code, exactly 3 characters (e.g.,
"USD", "CUP"). The shipping rate table supports different prices per currency for the same province, so a province may have a USD rate and a CUP rate independently.Response
The active shipping rate record for the requested province and currency.
amountMinor is in cents (the smallest currency unit). To display a human-readable price, divide by 100. For example, amountMinor: 500 = $5.00 USD, and amountMinor: 15000 = 150.00 CUP. This matches how monetary values are stored and calculated throughout the entire Avanzar In Time Shop API — order subtotals, line totals, and payment amounts all use the same minor-unit convention.200 OK
404 Not Found
Returned when no active shipping rate exists for the requested province and currency combination. This means the store does not currently deliver to that province in that currency.
Province and currency uniqueness
Each(province, currency) pair has at most one shipping rate in the database. The table enforces a unique constraint on this combination. Calling this endpoint with a valid pair will always return exactly one result or 404 — never multiple rates.