Read a published customer quote
curl --request GET \
--url https://app.marro.si/api/public/customer-quotes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.marro.si/api/public/customer-quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.marro.si/api/public/customer-quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://app.marro.si/api/public/customer-quotes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": 0,
"revision": 0,
"fingerprint": "<string>",
"status": "sent",
"validUntil": "<string>",
"snapshot": {
"title": "<string>",
"currency": "<string>",
"currencyExponent": 2,
"supplier": {
"name": "<string>",
"address": "<string>",
"taxIdentity": "<string>"
},
"customerLabel": "<string>",
"terms": "<string>",
"taxConfiguration": "explicit",
"lines": [
{
"kind": "product",
"description": "<string>",
"quantity": "<string>",
"unitMinor": "<string>",
"discountMinor": "<string>",
"taxes": [
{
"label": "<string>",
"amountMinor": "<string>"
}
],
"extendedMinor": "<string>",
"totalMinor": "<string>"
}
],
"validUntil": "2023-11-07T05:31:56Z",
"subtotalMinor": "<string>",
"discountMinor": "<string>",
"taxMinor": "<string>",
"totalMinor": "<string>",
"acceptanceNotice": "<string>"
}
}Customer quote access
Read a published customer quote
Requires the private 43-character quote bearer token, not an organization API key. Send it only in the Authorization header over HTTPS; never in a query or path. Returns only the current published snapshot. GET is read-only, including no viewed tracking. Responses are private and never cached. This does not deliver a quote or prove customer identity. Screens and release validation are pending.
GET
/
api
/
public
/
customer-quotes
Read a published customer quote
curl --request GET \
--url https://app.marro.si/api/public/customer-quotes \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.marro.si/api/public/customer-quotes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.marro.si/api/public/customer-quotes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://app.marro.si/api/public/customer-quotes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": 0,
"revision": 0,
"fingerprint": "<string>",
"status": "sent",
"validUntil": "<string>",
"snapshot": {
"title": "<string>",
"currency": "<string>",
"currencyExponent": 2,
"supplier": {
"name": "<string>",
"address": "<string>",
"taxIdentity": "<string>"
},
"customerLabel": "<string>",
"terms": "<string>",
"taxConfiguration": "explicit",
"lines": [
{
"kind": "product",
"description": "<string>",
"quantity": "<string>",
"unitMinor": "<string>",
"discountMinor": "<string>",
"taxes": [
{
"label": "<string>",
"amountMinor": "<string>"
}
],
"extendedMinor": "<string>",
"totalMinor": "<string>"
}
],
"validUntil": "2023-11-07T05:31:56Z",
"subtotalMinor": "<string>",
"discountMinor": "<string>",
"taxMinor": "<string>",
"totalMinor": "<string>",
"acceptanceNotice": "<string>"
}
}Authorizations
Response
Current published revision, including effective expired status
⌘I