API reference

Quotes

Request a quote from a distributor with the vendor's deal ID attached, so the special price is applied first time.

Request a quote from a distributor

POST/quotesRuns as a job

Sends a quote request to the distributor behind connection_id, with the vendor's deal ID attached so the special price is applied.

Pass deal_registration_id for a registration made through this API, and Airstride attaches its vendor_deal_id. Pass vendor_deal_id directly for a registration made elsewhere. A quote request whose registration is not approved is rejected with 422, so a standard price is never returned by mistake.

Returns 202 with the quote in pending. quote.priced arrives when the distributor has priced every line.

Headers

Airstride-Versionstring
The API version, as a date. Defaults to the version pinned on the key. The first version of Open Partnerships is 2026-12-01.
Idempotency-KeystringRequired
A unique value per logical write, such as a UUID. Required on every write. Retry with the same key and the same body after a timeout or network error; you get the original response, never a second registration or a second claim.

Request body

connection_idstringRequired
The distributor's connection.
external_idstring
Your ID for the quote.
deal_registration_idstring
A registration made through this API. Must be approved.
vendor_deal_idstring
A vendor deal ID for a registration made elsewhere.
vendor_portal_idstring
The vendor the deal ID belongs to. Required with vendor_deal_id.
currencystringRequired
customerCustomer
The end customer the deal is for.
customer.namestringRequired
customer.domainstring or null
customer.countrystring or null
ISO 3166-1 alpha-2 code.
customer.addressobject or null
customer.address.line1string
customer.address.line2string
customer.address.citystring
customer.address.regionstring
customer.address.postal_codestring
customer.contactobject or null
customer.contact.namestring
customer.contact.emailstring (email)
customer.contact.phonestring
linesarray of QuoteLineCreateRequired
lines[].skustring
The vendor's part number.
lines[].distributor_skustring
The distributor's own part number, if you have it.
lines[].descriptionstring
lines[].quantityintegerRequired
notesstring
vendor_fieldsVendorFields
Portal-specific fields outside the common model. On write, the keys a connection accepts and requires are described by vendor_fields in its capabilities. On read, the portal-specific values Airstride captured, already parsed.

Responses

202
Accepted. The quote is pending and a job is running.
400
Invalid parameters, or a version we do not recognise.
401
Missing or invalid API key.
403
The key is valid but cannot do this. Includes a key without the Open Partnerships permission (FORBIDDEN) and a connection whose admin did not grant the scope this call needs (SCOPE_NOT_GRANTED).
404
The resource does not exist, or belongs to another organisation.
409
The request conflicts with the current state. Codes include IDEMPOTENCY_KEY_REUSED, CONNECTION_NEEDS_REAUTH, CONNECTION_DISCONNECTED, CONNECTION_EXISTS and JOB_ALREADY_RUNNING.
422
The request parsed but failed validation. Codes include VALIDATION_FAILED, CAPABILITY_NOT_SUPPORTED, REGISTRATION_NOT_APPROVED and CLAIM_WINDOW_CLOSED.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X POST "https://app.airstride.ai/api/open-partnerships/quotes" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "connection_id": "conn_2Dk7Rb",
  "external_id": "Q-2291",
  "deal_registration_id": "dr_9Wc2Fj",
  "currency": "GBP",
  "customer": {
    "name": "Orbit Freight",
    "country": "GB"
  },
  "lines": [
    {
      "sku": "C9300-48P-E",
      "quantity": 4
    }
  ]
}'

List quotes

GET/quotes

Query parameters

connection_idstring
Only objects from this connection.
statusstring
pending: accepted by Airstride, not yet with the distributor. submitted: with the distributor, waiting to be priced. priced: every line has a price; check special_price_applied per line. rejected: the distributor declined the request. expired: past valid_until. failed: Airstride could not submit it; see the job's error.One of pending, submitted, priced, rejected, expired, failed
deal_registration_idstring
external_idstring
updated_afterstring (date-time)
Only objects changed after this time. Use it for incremental sync.
include_remote_databoolean
Include remote_data, the raw values captured from the portal.
limitinteger
Page size.
cursorstring
The next_cursor from the previous page.

Headers

Airstride-Versionstring
The API version, as a date. Defaults to the version pinned on the key. The first version of Open Partnerships is 2026-12-01.

Responses

200
A page of quotes.
400
Invalid parameters, or a version we do not recognise.
401
Missing or invalid API key.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X GET "https://app.airstride.ai/api/open-partnerships/quotes" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"

Get a quote

GET/quotes/{quote_id}

Path parameters

quote_idstringRequired

Query parameters

include_remote_databoolean
Include remote_data, the raw values captured from the portal.

Headers

Airstride-Versionstring
The API version, as a date. Defaults to the version pinned on the key. The first version of Open Partnerships is 2026-12-01.

Responses

200
The quote.
401
Missing or invalid API key.
404
The resource does not exist, or belongs to another organisation.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X GET "https://app.airstride.ai/api/open-partnerships/quotes/{quote_id}" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"
Response 200
{
  "id": "qt_5Hn2pw",
  "connection_id": "conn_2Dk7Rb",
  "portal": {
    "id": "portal_distributor_example",
    "name": "Example Distributor",
    "kind": "distributor"
  },
  "status": "priced",
  "origin": "api",
  "external_id": "Q-2291",
  "distributor_quote_id": "QT-771045",
  "deal_registration_id": "dr_9Wc2Fj",
  "vendor_deal_id": "DR-48213",
  "customer": {
    "name": "Orbit Freight",
    "country": "GB"
  },
  "lines": [
    {
      "line_id": "1",
      "sku": "C9300-48P-E",
      "quantity": 4,
      "list_price": {
        "amount": 9000,
        "currency": "GBP"
      },
      "unit_price": {
        "amount": 7650,
        "currency": "GBP"
      },
      "price_type": "special",
      "special_price_applied": true
    }
  ],
  "total": {
    "amount": 30600,
    "currency": "GBP"
  },
  "valid_until": "2026-12-24",
  "rejection_reason": null,
  "vendor_fields": {},
  "job": {
    "id": "job_6Bq0Zs",
    "status": "succeeded"
  },
  "remote_id": "QT-771045",
  "remote_status": "Priced",
  "last_synced_at": "2026-11-26T11:05:00Z",
  "created_at": "2026-11-26T10:45:00Z",
  "updated_at": "2026-11-26T11:05:00Z"
}