Account settings
Ids, names and times in the examples are samples. Read the real values from the API.
The email, the phone, the password, identity documents, your API keys and their spending cap, the bank account and the updates address are changed in the app only. No body here takes them.
Read the settings
feature_intros lists the feature introductions shown now, and whether you saw each.
Headers
Bearer b7r_live_.... A key with the settings:read area. X-B7R-Key works too; send one, never both.
ar for Arabic error titles; anything else gives English. Codes never change.
Answer
The person behind the account.
The brand on your labels.
The carrier new orders ship with unless an order names another (GET /v1/carriers).
One of ar, en.
One of light, dark, system.
The email categories you receive.
Child fields
The feature introductions shown now, and whether you saw each.
Child fields
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl https://api.b7r.app/v1/settings \
-H "Authorization: Bearer $B7R_API_KEY"const res = await fetch("https://api.b7r.app/v1/settings", {
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.b7r.app/v1/settings",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
},
timeout=30,
)
data = res.json(){
"full_name": "Sara Ahmed",
"brand_name": "My brand",
"avatar_url": null,
"logo_url": null,
"default_carrier_id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a",
"language": "ar",
"theme": "light",
"email_subscriptions": {
"welcome_drip": true,
"marketing": false,
"order_activity": true
},
"setup_steps_hidden": true,
"first_order_celebrated": true,
"feature_intros": [
{
"key": "creator_stores_launch",
"seen": true
}
]
}Change the settings
Send only the settings you change, at least one. Every field is checked before any is saved: a name the app would refuse, a carrier that is not offered (unknown_carrier; see Carriers) or an introduction no longer shown refuses the whole change. The answer is the settings after the change.
A new default_carrier_id changes the shipping fee of the orders that follow; an order already placed keeps its fee. setup_steps_hidden, first_order_celebrated and feature_intros_seen only take true.
A new profile picture or logo: upload it first (POST /v1/uploads, purpose avatar or brand_logo, JPEG, PNG or WebP up to 2 MB and 8192 pixels a side) and name it in avatar_upload_id or logo_upload_id. It is stored in the format and at the size you sent, re-encoded with its metadata removed (EXIF, including any GPS position). An upload that cannot be used refuses the change at its field with upload_not_found, upload_not_received, upload_type_mismatch or upload_size_mismatch. If a retry answers upload_not_found for an image you sent, read GET /v1/settings first: it may already be applied.
Each changed setting is recorded in your activity log, naming the key. Your keys share settings_writes_per_minute (GET /v1/me?include=limits).
A 503 may have applied some fields. Send the same body again; each field is set, not toggled.
Headers
Bearer b7r_live_.... A key with the settings:write area. X-B7R-Key works too; send one, never both.
The ETag header of your last read. If the product changed since, the answer is 412 precondition_failed and nothing changes.
Optional on a PATCH; when sent, a retry with the same key answers the first result.
application/json, when the request has a body.
ar for Arabic error titles; anything else gives English. Codes never change.
Body
3 to 64.
At most 100.
One of ar, en.
One of light, dark, system.
Child fields
Always true.
Always true.
1 to 10 items.
Answer
The person behind the account.
The brand on your labels.
The carrier new orders ship with unless an order names another (GET /v1/carriers).
One of ar, en.
One of light, dark, system.
The email categories you receive.
Child fields
The feature introductions shown now, and whether you saw each.
Child fields
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 400 | idempotency_key_required | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 409 | idempotency_mismatch | No |
| 409 | idempotency_in_flight | Yes |
| 413 | request_too_large | No |
| 415 | unsupported_media_type | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl -X PATCH https://api.b7r.app/v1/settings \
-H "Authorization: Bearer $B7R_API_KEY" \
-H "If-Match: $ETAG" \
-H "Content-Type: application/json" \
-d '{
"brand_name": "My brand",
"default_carrier_id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a",
"email_subscriptions": {
"marketing": false
}
}'const res = await fetch("https://api.b7r.app/v1/settings", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
"If-Match": etag, // the ETag header of your last read
"Content-Type": "application/json",
},
body: JSON.stringify({
"brand_name": "My brand",
"default_carrier_id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a",
"email_subscriptions": {
"marketing": false
}
}),
});
const data = await res.json();import os, requests
res = requests.patch(
"https://api.b7r.app/v1/settings",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
"If-Match": etag, # the ETag header of your last read
},
json={
"brand_name": "My brand",
"default_carrier_id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a",
"email_subscriptions": {
"marketing": False
}
},
timeout=30,
)
data = res.json(){
"full_name": "Sara Ahmed",
"brand_name": "My brand",
"avatar_url": null,
"logo_url": null,
"default_carrier_id": "7d8e9f0a-1b2c-4d3e-8f4a-5b6c7d8e9f0a",
"language": "ar",
"theme": "light",
"email_subscriptions": {
"welcome_drip": true,
"marketing": false,
"order_activity": true
},
"setup_steps_hidden": true,
"first_order_celebrated": true,
"feature_intros": [
{
"key": "creator_stores_launch",
"seen": true
}
]
}Read the verification state
What blocks you, if anything: needs says whether the email, the phone and the documents are done, waiting for review or missing. verified means nothing blocks your orders or store connections; a requirement under review still shows status: pending on its own row.
Each requirement shown to you comes with its state and, when rejected, the reason’s code: a rejection without a code reads rejection_reason_code: null, and its reason is read in the app. No document number, file or note is in the answer, and documents are sent in the app.
Headers
Bearer b7r_live_.... A key with the settings:read area. X-B7R-Key works too; send one, never both.
ar for Arabic error titles; anything else gives English. Codes never change.
Answer
verified: nothing blocks you. unverified: something is missing. pending_review: a document waits for B7R. One of verified, unverified, pending_review.
Child fields
One of ok, needed, in_review.
One of ok, needed, in_review.
One of ok, needed, in_review.
Each requirement shown to you, without any document data. Submitting one is done in the app.
Child fields
One of not_required, not_submitted, pending, approved, rejected.
Errors
| HTTP | Code | Retry |
|---|---|---|
| 400 | invalid_request | No |
| 401 | unauthorized | No |
| 403 | area_forbidden | No |
| 403 | account_inactive | No |
| 403 | connection_disabled | No |
| 403 | https_required | No |
| 429 | rate_limited | Yes |
| 500 | internal_error | Yes |
| 502 | upstream_unavailable | Yes |
| 503 | api_unavailable | Yes |
| 503 | request_expired | Yes |
| 503 | service_unavailable | Yes |
| 504 | upstream_timeout | Yes |
curl https://api.b7r.app/v1/verification \
-H "Authorization: Bearer $B7R_API_KEY"const res = await fetch("https://api.b7r.app/v1/verification", {
headers: {
Authorization: `Bearer ${process.env.B7R_API_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.b7r.app/v1/verification",
headers={
"Authorization": f"Bearer {os.environ['B7R_API_KEY']}",
},
timeout=30,
)
data = res.json(){
"status": "pending_review",
"needs": {
"email": "ok",
"phone": "ok",
"documents": "in_review"
},
"requirements": [
{
"key": "national_id",
"required": true,
"status": "pending",
"submitted_at": "2026-11-25T10:00:00.000Z",
"reviewed_at": null,
"rejection_reason_code": null
}
]
}