Accept or decline a published customer quote
curl --request POST \
--url https://app.marro.si/api/public/customer-quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"organizationId": 123,
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 123,
"fingerprint": "<string>",
"idempotencyKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"confirmed": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
organizationId: 123,
quoteId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
revision: 123,
fingerprint: '<string>',
idempotencyKey: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
confirmed: true
})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'organizationId' => 123,
'quoteId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'revision' => 123,
'fingerprint' => '<string>',
'idempotencyKey' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'confirmed' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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"
payload = {
"organizationId": 123,
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 123,
"fingerprint": "<string>",
"idempotencyKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"confirmed": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"decision": "accepted",
"revision": 0,
"fingerprint": "<string>",
"decidedAt": "<string>",
"replayed": true
}Customer quote access
Accept or decline a published customer quote
Bearer-authenticated digital acceptance, not certified e-signing. Explicit confirmation, current revision/fingerprint and one persistent UUID idempotency key are required. Exact retries return saved evidence; another key or decision cannot overwrite it. Expired, archived, cancelled or stale new decisions fail. JSON stream is limited to 4096 bytes. No payment or provider request is made.
POST
/
api
/
public
/
customer-quotes
Accept or decline a published customer quote
curl --request POST \
--url https://app.marro.si/api/public/customer-quotes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"organizationId": 123,
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 123,
"fingerprint": "<string>",
"idempotencyKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"confirmed": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
organizationId: 123,
quoteId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
revision: 123,
fingerprint: '<string>',
idempotencyKey: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
confirmed: true
})
};
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 => "POST",
CURLOPT_POSTFIELDS => json_encode([
'organizationId' => 123,
'quoteId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'revision' => 123,
'fingerprint' => '<string>',
'idempotencyKey' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'confirmed' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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"
payload = {
"organizationId": 123,
"quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 123,
"fingerprint": "<string>",
"idempotencyKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"confirmed": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"decision": "accepted",
"revision": 0,
"fingerprint": "<string>",
"decidedAt": "<string>",
"replayed": true
}Authorizations
Body
application/json
⌘I