B7RDevelopers
ReferenceAccount settings
Reference / Account settings

Account settings

View .md

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

GET/v1/settings

feature_intros lists the feature introductions shown now, and whether you saw each.

Headers

Authorizationstringrequired

Bearer b7r_live_.... A key with the settings:read area. X-B7R-Key works too; send one, never both.

Accept-Languagestring

ar for Arabic error titles; anything else gives English. Codes never change.

Answer

full_namestring or nullrequired

The person behind the account.

brand_namestring or nullrequired

The brand on your labels.

avatar_urlstring or nullrequired
logo_urlstring or nullrequired
default_carrier_idstring (uuid) or nullrequired

The carrier new orders ship with unless an order names another (GET /v1/carriers).

languagestringrequired

One of ar, en.

themestringrequired

One of light, dark, system.

email_subscriptionsobjectrequired

The email categories you receive.

Child fields
welcome_dripbooleanrequired
marketingbooleanrequired
order_activitybooleanrequired
setup_steps_hiddenbooleanrequired
first_order_celebratedbooleanrequired
feature_introsarray of objectrequired

The feature introductions shown now, and whether you saw each.

Child fields
keystringrequired
seenbooleanrequired

Errors

Request
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()
200 OK
{
  "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

PATCH/v1/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

Authorizationstringrequired

Bearer b7r_live_.... A key with the settings:write area. X-B7R-Key works too; send one, never both.

If-Matchstring

The ETag header of your last read. If the product changed since, the answer is 412 precondition_failed and nothing changes.

Idempotency-Keystring

Optional on a PATCH; when sent, a retry with the same key answers the first result.

Content-Typestringrequired

application/json, when the request has a body.

Accept-Languagestring

ar for Arabic error titles; anything else gives English. Codes never change.

Body

full_namestring

3 to 64.

brand_namestring

At most 100.

default_carrier_idstring (uuid)
languagestring

One of ar, en.

themestring

One of light, dark, system.

email_subscriptionsobject
Child fields
welcome_dripboolean
marketingboolean
order_activityboolean
setup_steps_hiddenconstant

Always true.

first_order_celebratedconstant

Always true.

feature_intros_seenarray of string

1 to 10 items.

avatar_upload_idstring (uuid)
logo_upload_idstring (uuid)

Answer

full_namestring or nullrequired

The person behind the account.

brand_namestring or nullrequired

The brand on your labels.

avatar_urlstring or nullrequired
logo_urlstring or nullrequired
default_carrier_idstring (uuid) or nullrequired

The carrier new orders ship with unless an order names another (GET /v1/carriers).

languagestringrequired

One of ar, en.

themestringrequired

One of light, dark, system.

email_subscriptionsobjectrequired

The email categories you receive.

Child fields
welcome_dripbooleanrequired
marketingbooleanrequired
order_activitybooleanrequired
setup_steps_hiddenbooleanrequired
first_order_celebratedbooleanrequired
feature_introsarray of objectrequired

The feature introductions shown now, and whether you saw each.

Child fields
keystringrequired
seenbooleanrequired

Errors

Request
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()
200 OK
{
  "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

GET/v1/verification

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

Authorizationstringrequired

Bearer b7r_live_.... A key with the settings:read area. X-B7R-Key works too; send one, never both.

Accept-Languagestring

ar for Arabic error titles; anything else gives English. Codes never change.

Answer

statusstringrequired

verified: nothing blocks you. unverified: something is missing. pending_review: a document waits for B7R. One of verified, unverified, pending_review.

needsobjectrequired
Child fields
emailstringrequired

One of ok, needed, in_review.

phonestringrequired

One of ok, needed, in_review.

documentsstringrequired

One of ok, needed, in_review.

requirementsarray of objectrequired

Each requirement shown to you, without any document data. Submitting one is done in the app.

Child fields
keystringrequired
requiredbooleanrequired
statusstringrequired

One of not_required, not_submitted, pending, approved, rejected.

submitted_atstring or nullrequired
reviewed_atstring or nullrequired
rejection_reason_codestring or nullrequired

Errors

Request
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()
200 OK
{
  "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
    }
  ]
}

Titles and headings of every page. llms-full.txt holds the full text.