Tax rates
Preview tax on a basket (writes nothing)
Needs the catalog:read scope, or a full-access key. About scopes
POST
/
api/v1/tax-rates/calculateAuthorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalcustomer_idRequiredstring
Format:
"uuid"currencyRequiredstring
Value in:
"USD" | "AUD" | "CAD" | "GBP" | "EUR" | "INR" | "NPR"linesRequiredarray<object>
Per-line tax, tax lines and totals.