Register a deal
POST/deal-registrationsRuns as a job
Registers a deal with the vendor behind connection_id.
Name the programme with program_id, or leave it out and Airstride evaluates the deal against every programme on the connection and registers it in the one that pays most. Either way, program_selection on the result shows which programmes were considered and why the chosen one won.
Returns 202 with the registration in pending. It moves to submitted once it is in the portal, then to approved or rejected when the vendor decides. Approval brings the vendor's deal ID and expiry date.
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_idstringRequiredexternal_idstring- Your ID for the deal, such as the CRM opportunity ID. Returned on every read and webhook.
program_idstring- Register in this programme. Leave it out to let Airstride choose the most profitable programme the deal qualifies for.
customerCustomerRequired- The end customer the deal is for.
customer.namestringRequiredcustomer.domainstring or nullcustomer.countrystring or null- ISO 3166-1 alpha-2 code.
customer.addressobject or nullcustomer.address.line1stringcustomer.address.line2stringcustomer.address.citystringcustomer.address.regionstringcustomer.address.postal_codestringcustomer.contactobject or nullcustomer.contact.namestringcustomer.contact.emailstring (email)customer.contact.phonestringopportunityOpportunityRequiredopportunity.namestring or nullopportunity.amountMoneyRequiredopportunity.amount.amountnumberRequired- In major units, so 36000 means 36,000.00.
opportunity.amount.currencystringRequired- ISO 4217 code.
opportunity.expected_close_datestring (date) or nullopportunity.customer_typestring or null- One of
new,existing opportunity.descriptionstring or nullproductsarray of ProductLineproducts[].skustring or null- The vendor's part number.
products[].descriptionstring or nullproducts[].quantityintegerRequiredproducts[].unit_priceMoney or nullproducts[].unit_price.amountnumberRequired- In major units, so 36000 means 36,000.00.
products[].unit_price.currencystringRequired- ISO 4217 code.
on_behalf_ofOnBehalfOf- For distributors registering for a reseller they serve. Identifies the reseller in the vendor's portal. Requires a connection whose portal allows registration on behalf of another partner.
on_behalf_of.partner_namestringRequiredon_behalf_of.partner_remote_idstring or null- The reseller's partner ID in the vendor's portal, if known.
on_behalf_of.contact_emailstring (email) or nullnotesstringvendor_fieldsVendorFields- Portal-specific fields outside the common model. On write, the keys a connection accepts and requires are described by
vendor_fieldsin its capabilities. On read, the portal-specific values Airstride captured, already parsed.
Responses
- 202
- Accepted. The registration is
pendingand 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_EXISTSandJOB_ALREADY_RUNNING. - 422
- The request parsed but failed validation. Codes include
VALIDATION_FAILED,CAPABILITY_NOT_SUPPORTED,REGISTRATION_NOT_APPROVEDandCLAIM_WINDOW_CLOSED. - 429
- Rate limited. Wait until
X-RateLimit-Resetbefore retrying. - 500
- Something broke on our side.
curl -X POST "https://app.airstride.ai/api/open-partnerships/deal-registrations" \
-H "X-API-Key: $AIRSTRIDE_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"connection_id": "conn_8f2kq1",
"external_id": "006Hs00001Orbit",
"customer": {
"name": "Orbit Freight",
"domain": "orbitfreight.example",
"country": "GB",
"contact": {
"name": "Sam Patel",
"email": "sam.patel@orbitfreight.example"
}
},
"opportunity": {
"name": "Orbit Freight network refresh",
"amount": {
"amount": 36000,
"currency": "GBP"
},
"expected_close_date": "2027-01-29",
"customer_type": "new"
},
"products": [
{
"sku": "C9300-48P-E",
"description": "48-port switch",
"quantity": 4
}
],
"vendor_fields": {
"industry_vertical": "Transportation"
}
}'{
"id": "dr_9Wc2Fj",
"connection_id": "conn_8f2kq1",
"portal": {
"id": "portal_cisco",
"name": "Cisco",
"kind": "vendor"
},
"status": "pending",
"origin": "api",
"external_id": "006Hs00001Orbit",
"vendor_deal_id": null,
"program": null,
"program_selection": null,
"customer": {
"name": "Orbit Freight",
"domain": "orbitfreight.example",
"country": "GB"
},
"opportunity": {
"name": "Orbit Freight network refresh",
"amount": {
"amount": 36000,
"currency": "GBP"
},
"expected_close_date": "2027-01-29",
"customer_type": "new"
},
"products": [
{
"sku": "C9300-48P-E",
"description": "48-port switch",
"quantity": 4
}
],
"submitted_at": null,
"decided_at": null,
"expires_at": null,
"rejection_reason": null,
"extension": null,
"vendor_fields": {
"industry_vertical": "Transportation"
},
"job": {
"id": "job_1Mx8Tq",
"status": "queued"
},
"remote_id": null,
"remote_status": null,
"last_synced_at": null,
"created_at": "2026-11-24T10:30:00Z",
"updated_at": "2026-11-24T10:30:00Z"
}