Update your own vendor profile
const url = 'https://api-omni-vendors.linra.net/api/v1/profile';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api-omni-vendors.linra.net/api/v1/profile \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example" }'Updates your vendor’s display Name — the ONLY field this request body can carry. TaxRegistrationNumber/IsVatRegistered/VatVerifiedAt are excluded from the request shape entirely (not merely permission-gated closed) — vendor tax/VAT registration stays an internal-admin-only, manually-verified action with no self-service path on any plane. Requires the Account capability.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Deliberately carries ONLY name — TaxRegistrationNumber/IsVatRegistered/VatVerifiedAt cannot be written through this API on any plane, at any capability level.
object
Examplegenerated
{ "name": "example"}Responses
Section titled “Responses”Your updated vendor profile.
object
object
object
Your own tax registration number, or null if unset. Read-only on this API — see UpdateVendorProfileRequest.
Whether you have a verified VAT/tax registration on file. Read-only.
UTC timestamp of Linra’s last manual verification of your registration, or null if never verified. Read-only.
Example
{ "state": "SUCCESS"}Request validation failed.
object
object
Example
{ "state": "NOT_FOUND_VENDOR_OFFER"}Your token doesn’t carry the capability this endpoint requires.
object
object
Examples
{ "state": "FORBIDDEN_CAPABILITY_NOT_GRANTED", "payload": null, "details": { "requiredCapability": "Orders" }}Too many requests. Retry after the Retry-After header (seconds).
object
object
Example
{ "state": "NOT_FOUND_VENDOR_OFFER"}Headers
Section titled “Headers”Seconds to wait before retrying.

