curl --request PATCH \
--url https://api.nextlevelmca.com/v1/offers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 2,
"term": 2,
"factor_rate": 2,
"buy_rate": 2,
"max_upsell_points": 50,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>",
"status": "<string>",
"decline_reason": "<string>",
"decline_reason_details": "<string>",
"failure_reason": "<string>",
"failure_reason_details": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 2,
term: 2,
factor_rate: 2,
buy_rate: 2,
max_upsell_points: 50,
payment_amount: 1,
payback_amount: 1,
position: 2,
points: 50,
notes: '<string>',
expires_at: '<string>',
status: '<string>',
decline_reason: '<string>',
decline_reason_details: '<string>',
failure_reason: '<string>',
failure_reason_details: '<string>'
})
};
fetch('https://api.nextlevelmca.com/v1/offers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/offers/{id}"
payload = {
"amount": 2,
"term": 2,
"factor_rate": 2,
"buy_rate": 2,
"max_upsell_points": 50,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>",
"status": "<string>",
"decline_reason": "<string>",
"decline_reason_details": "<string>",
"failure_reason": "<string>",
"failure_reason_details": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"submission_id": "<string>",
"amount": 123,
"factor_rate": 123,
"buy_rate": 123,
"max_upsell_points": 123,
"term": 123,
"term_unit": "days",
"payment_frequency": "daily",
"payment_amount": 123,
"payback_amount": 123,
"points": 123,
"commission_estimate": 123,
"position": 123,
"status": "<string>",
"status_name": "<string>",
"status_type": "open",
"revision": 123,
"supersedes_offer_id": "<string>",
"superseded_by_offer_id": "<string>",
"superseded_at": "2023-11-07T05:31:56Z",
"is_primary": true,
"is_selected": true,
"notes": "<string>",
"decline_reason": "<string>",
"merchant_response": "<string>",
"expires_at": "<string>",
"received_at": "<string>",
"accepted_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"meta": {}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}Update an offer
Partial update of terms and/or status. Status changes run the same workflow as the app: on the primary offer the deal status follows, and contracts_requested / contracts_out / contracts_signed move the deal stage per the location’s event bindings. When a primary offer is declined or fails, meta.requires_primary_reassign is true and meta.available_offers lists candidates. Use POST /deals/{id}/stage with mark_funded to fund.
curl --request PATCH \
--url https://api.nextlevelmca.com/v1/offers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 2,
"term": 2,
"factor_rate": 2,
"buy_rate": 2,
"max_upsell_points": 50,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>",
"status": "<string>",
"decline_reason": "<string>",
"decline_reason_details": "<string>",
"failure_reason": "<string>",
"failure_reason_details": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: 2,
term: 2,
factor_rate: 2,
buy_rate: 2,
max_upsell_points: 50,
payment_amount: 1,
payback_amount: 1,
position: 2,
points: 50,
notes: '<string>',
expires_at: '<string>',
status: '<string>',
decline_reason: '<string>',
decline_reason_details: '<string>',
failure_reason: '<string>',
failure_reason_details: '<string>'
})
};
fetch('https://api.nextlevelmca.com/v1/offers/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nextlevelmca.com/v1/offers/{id}"
payload = {
"amount": 2,
"term": 2,
"factor_rate": 2,
"buy_rate": 2,
"max_upsell_points": 50,
"payment_amount": 1,
"payback_amount": 1,
"position": 2,
"points": 50,
"notes": "<string>",
"expires_at": "<string>",
"status": "<string>",
"decline_reason": "<string>",
"decline_reason_details": "<string>",
"failure_reason": "<string>",
"failure_reason_details": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"deal_id": "<string>",
"lender_id": "<string>",
"lender_name": "<string>",
"submission_id": "<string>",
"amount": 123,
"factor_rate": 123,
"buy_rate": 123,
"max_upsell_points": 123,
"term": 123,
"term_unit": "days",
"payment_frequency": "daily",
"payment_amount": 123,
"payback_amount": 123,
"points": 123,
"commission_estimate": 123,
"position": 123,
"status": "<string>",
"status_name": "<string>",
"status_type": "open",
"revision": 123,
"supersedes_offer_id": "<string>",
"superseded_by_offer_id": "<string>",
"superseded_at": "2023-11-07T05:31:56Z",
"is_primary": true,
"is_selected": true,
"notes": "<string>",
"decline_reason": "<string>",
"merchant_response": "<string>",
"expires_at": "<string>",
"received_at": "<string>",
"accepted_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
},
"meta": {}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}{
"error": {
"type": "validation_error",
"message": "<string>",
"request_id": "<string>",
"code": "<string>",
"param": "<string>"
}
}Authorizations
API key (nlmca_live_…) or OAuth access token
Path Parameters
Offer id
Body
Funded amount offered, USD.
x >= 1Term length in term_unit.
x >= 1Unit of term.
days, weeks, months Factor rate, e.g. 1.35.
1 <= x <= 3Buy rate, only when the lender quoted one.
1 <= x <= 3Buy-rate offers only: the most the broker may add, in factor points (12 = 0.12).
0 <= x <= 100Amount per payment.
x >= 0Payment cadence.
daily, weekly, bi-weekly, monthly Total payback.
x >= 0Position the advance would take.
x >= 1Commission points (percentage of the funded amount).
0 <= x <= 100Free-text notes.
5000When the offer expires (ISO 8601).
New status slug (e.g. waiting_on_stips, sold, contracts_requested, contracts_out, contracts_signed, merchant_declined). Deal-only statuses (new, submitted, declined, approved) are rejected. On the primary offer, contracts_requested/contracts_out/contracts_signed move the deal stage per the location’s event bindings. Use POST /deals/{id}/stage with mark_funded to fund; funded is not accepted here.
100Decline reason slug, for statuses that prompt for one.
100Extra decline details.
2000Failure reason slug, for statuses that prompt for one (e.g. funding_failed).
100Extra failure details.
2000Was this page helpful?