Creates and publishes a quote (optionally in reply to a listing) to the counter-party’s relay.
curl --request POST \
--url https://api.seminode.com/v1/quotes \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"content": {
"company": "<string>",
"contact": "<string>",
"errors": {},
"lead_time": 123,
"message": "<string>",
"meta": {},
"qty": 123,
"unit_price": 123
},
"listing": {
"content": {
"batch_id": "<string>",
"company": "<string>",
"encrypted": {
"ciphertext": "<string>",
"payload": {}
},
"errors": {},
"ipn": "<string>",
"lead_time": 123,
"meta": {},
"mfr": "<string>",
"mpn": "<string>",
"qty": 123,
"type": "<string>",
"unit_price": 123
},
"created_at": "<string>",
"id": "<string>",
"kind": 123,
"public_key": "<string>",
"recipient_public_key": "<string>",
"reply_url": "<string>",
"root_id": "<string>",
"sig": "<string>",
"tags": [
[
"<string>"
]
],
"url": "<string>"
},
"reply_event": {
"id": "<string>",
"public_key": "<string>",
"recipient_public_key": "<string>",
"reply_id": "<string>",
"reply_url": "<string>",
"tags": [
[
"<string>"
]
]
},
"reply_event_id": "<string>",
"reply_event_url": "<string>"
}'
{
"detail": "<string>"
}
Format: "Bearer <access_token>"
Quote payload
The body is of type object
.
quote sent
The response is of type object
.
curl --request POST \
--url https://api.seminode.com/v1/quotes \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"content": {
"company": "<string>",
"contact": "<string>",
"errors": {},
"lead_time": 123,
"message": "<string>",
"meta": {},
"qty": 123,
"unit_price": 123
},
"listing": {
"content": {
"batch_id": "<string>",
"company": "<string>",
"encrypted": {
"ciphertext": "<string>",
"payload": {}
},
"errors": {},
"ipn": "<string>",
"lead_time": 123,
"meta": {},
"mfr": "<string>",
"mpn": "<string>",
"qty": 123,
"type": "<string>",
"unit_price": 123
},
"created_at": "<string>",
"id": "<string>",
"kind": 123,
"public_key": "<string>",
"recipient_public_key": "<string>",
"reply_url": "<string>",
"root_id": "<string>",
"sig": "<string>",
"tags": [
[
"<string>"
]
],
"url": "<string>"
},
"reply_event": {
"id": "<string>",
"public_key": "<string>",
"recipient_public_key": "<string>",
"reply_id": "<string>",
"reply_url": "<string>",
"tags": [
[
"<string>"
]
]
},
"reply_event_id": "<string>",
"reply_event_url": "<string>"
}'
{
"detail": "<string>"
}