/v1/quoteGet an order quote
Price a list of items (service plans, domains) as they would be ordered: subtotal, tax, discounts, renewal prices. Creates no order and no invoice. Same items shape as POST /v1/order.
Call it through the gateway https://api.tino.vn/v1 with a token that has the orders:write scope; see Calling the Tino API.
Authentication
Send the token in the header Authorization:
Authorization: Bearer <token>
Tokens that can call it: app tokens (tinoat_, Sign in with Tino) or personal API tokens (tinopat_).
Scopes
orders:write
Parameters
Body (JSON)
| Name | Type | Required | Description |
|---|---|---|---|
pay_method | integer | Optional | Payment method ID |
output | string | Optional | Type of output, default is short. Possible options short - Basic details about the item in cart</li> config- Basic details and form components</li> full - All details available in cart</li> </ul> |
items | array | Optional | list with order items |
Response
The route's JSON answer, in the same shape as UserAPI returns it (Personal data). Live sample from a test account with personal data masked; long arrays and strings are trimmed (… N more item(s), … N more line(s)).
Error codes
| Error code | Description |
|---|---|
401 · invalid_token | The token is wrong, expired or revoked. |
403 · insufficient_scope | The token lacks the orders:write scope. |
403 · ip_not_allowed | A personal API token called from an IP outside its allow-list. |
Business errors of a route usually come as HTTP 200 with {"error": ["<code>"]}; see common error codes.