Authorizations
An API key that grants access to the Connect API. You can create and manage API keys in the portal.
Headers
A unique key to ensure idempotency of requests. If a request with the same key has already been processed, the same result will be returned. The key must be unique for each distinct operation. Keys are expired after 24 hours, but we recommend using a new key for each request.
Modified requests with the same idempotency keys are rejected with a 409 Conflict status code.
256Body
Tax calculation request.
Request to calculate taxes for line items at a specific address.
Line items to calculate taxes for.
1Optional customer ID for customer-specific tax calculations.
"123e4567-e89b-12d3-a456-426614174000"
The address where taxes should be calculated for.
If the customer ID is not provided, this address is required. If both customer ID and address are provided, the address will override the customer's default address for tax calculation.
Promotional code to apply for discount calculation before computing taxes.
"STUDENT2024"