Docs menu: Merchants
Merchants
The businesses that issue documents under your account.
On this page
List merchants #
/api/v1/merchantsReturns your merchants, newest first, seen alike by your test and live keys. Filter by external_id to find the merchant a create answered 409 already_exists for. Archived merchants are listed too (their external_id stays taken); filter with archived.
- Bearer API key
Query parameters
limitintegerHow many items to return, 1 to 100; 10 by default.
From 1 to 100 · Default:
10starting_afterstringAn id (mer_…) from this list: return the items after it, older ones (pass the last id of the current page). Not with ending_before.
Up to 64 characters
ending_beforestringAn id (mer_…) from this list: return the items before it, newer ones (pass the first id of the current page). Not with starting_after.
Up to 64 characters
external_idstringOnly the merchant with this external_id, compared ignoring case and surrounding spaces (as on create): how you find a merchant after a 409 already_exists.
Up to 200 characters
Show patternHide pattern
\Sarchivedstringtrue for archived merchants only, false for active ones only; both when omitted.
One of:
true,false
Request
curlcurl -X GET 'https://tallio.dev/api/v1/merchants' \
-H "Authorization: Bearer $TALLIO_API_KEY"| Status | Description |
|---|---|
200 | A page of merchants. |
| 4XX, 5XX | An error: see Errors below. |
Response body · 200
objectstringrequiredAlways "list".
Always
listdataobject[]requiredThis page's items, newest first.
Each item: A business that issues documents under your account.
Show nested fields (11)Hide nested fields (11)
idstringrequiredId of the merchant (mer_…).
Show patternHide pattern
^mer_[0-9A-Za-z]{22}$objectstringrequiredAlways "merchant".
Always
merchantexternal_idstringrequiredYour own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.
Up to 200 characters
Show patternHide pattern
\SnamestringrequiredThe merchant's name, as you show it: 1 to 200 characters, trimmed.
Up to 200 characters
Show patternHide pattern
\SregimestringrequiredThe tax regime the merchant issues under: GR or FR.
One of:
GR,FR· Default:GRtax_idobject | nullrequiredThe merchant's tax registration (GR afm, FR vat), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
legal_idobject | nullrequiredThe merchant's company registration (FR siren), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
establishmentobject | nullrequiredThe establishment the merchant issues from (GR branch, FR siret), or null for the head office.
Show nested fields (2)Hide nested fields (2)
schemestringrequiredEstablishment scheme: branch (AADE) or siret.
One of:
branch,siretcodestringrequiredThe branch number or the SIRET.
metadataobjectrequiredUp to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.
Show nested fields (1)Hide nested fields (1)
{key}stringA value, up to 500 characters.
1 to 40 characters
archivedbooleanrequiredTrue once the merchant is archived; it then issues nothing new.
createdstringrequiredWhen the merchant was created.
Format:
date-time
has_morebooleanrequiredWhether more items exist past this page in the direction you paged (starting_after or ending_before).
Example response · 200{
"object": "list",
"data": [],
"has_more": false
}Response headers
x-request-idstringThe request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.
With every response
Show patternHide pattern
^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$ratelimit-limitintegerRequests allowed in the current window for the bucket this request counted against.
With 200, 400, 429 · At least 1
ratelimit-remainingintegerRequests left in the current window; 0 means the next one is refused until the window resets.
With 200, 400, 429 · At least 0
ratelimit-resetintegerSeconds until the current window resets.
With 200, 400, 429 · At least 0
www-authenticatestringThe bearer challenge: send a vendor secret key as
Authorization: Bearer <key>.With 401 · Always
Bearer realm="tallio"retry-afterintegerSeconds to wait before retrying a request refused with 429
rate_limited.With 429 · At least 1
| Code | Status | Retryable | Meaning |
|---|---|---|---|
validation_failed | 400 | No | Request validation failed. |
unauthorized | 401 | No | Authentication is required. |
vendor_suspended | 403 | No | This vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it. |
restricted_key | 403 | No | A restricted (store) key may not call this operation; it needs the vendor's secret key. |
rate_limited | 429 | Yes | A rate limit was reached. Retry later. |
internal_error | 500 | No | An unexpected server error occurred. |
Create a merchant #
/api/v1/merchantsCreates a merchant: a business that issues documents under your account, seen by your test and live keys alike. Its external_id is unique ignoring case; creating a taken one is 409 already_exists, so look it up instead (a Shopify reinstall).
- Bearer API key
- Idempotency-Key required
Header parameters
idempotency-keystringrequiredA key you choose (1-255 printable ASCII characters, e.g. a UUID) that makes a create request safe to retry: the same key with the same body returns the first result instead of creating a second document. Keys starting with
store_order:,store_refund:,correction:,correction_credit:,credit_note:are reserved for Tallio's own documents and refused.1 to 255 characters
Show patternHide pattern
^[\x21-\x7E]*$
Request body
external_idstringrequiredYour own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.
Up to 200 characters
Show patternHide pattern
\SnamestringrequiredThe merchant's name, as you show it: 1 to 200 characters, trimmed.
Up to 200 characters
Show patternHide pattern
\SregimestringThe tax regime the merchant issues under, by the country it is established in: GR (the default) or FR. Every document of the merchant has this regime, and it decides which identifiers the merchant takes.
One of:
GR,FRtax_idoneOfThe merchant's tax registration.
Greece
The ΑΦΜ (scheme afm, country GR), required: every document names it as the supplier.
France
The VAT number (scheme vat, country FR): FR, a 2-character key, then the SIREN; omit it for a merchant under the VAT franchise, which has none.
tax_idobjectGreek tax registration: the ΑΦΜ.
Option 1 of 2
Show nested fields (3)Hide nested fields (3)
countrystringrequiredCountry of the registration: GR.
Option 1 of 2 · Always
GRschemestringrequiredIdentifier scheme: afm.
Option 1 of 2 · Always
afmcodestringrequiredGreek tax number (ΑΦΜ): 9 digits with a matching check digit.
Option 1 of 2
Show patternHide pattern
^\d{9}$
tax_idobjectVAT registration in an EU member state.
Option 2 of 2
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the VAT registration: GR for Greece (not the VAT prefix EL).
Option 2 of 2 · One of:
AT,BE,BG,CY,CZ,DE,DK,EE,ES,FI,FR,GR,HR,HU,IE,IT,LT,LU,LV,MT,NL,PL,PT,RO,SE,SI,SK,XIschemestringrequiredIdentifier scheme: vat.
Option 2 of 2 · Always
vatcodestringrequiredThe whole VAT number, prefix included (EL for Greece). A request is refused unless the part after the prefix has its country's format: AT: U, then 8 digits; BE: 10 digits, the first 0 or 1; BG: 9 or 10 digits; CY: 8 digits, then a letter; CZ: 8 to 10 digits; DE: 9 digits; DK: 8 digits; EE: 9 digits; ES: a letter or digit, 7 digits, then a letter or digit; FI: 8 digits; FR: a 2-character key (digits, or letters other than I and O), then the 9-digit SIREN; EL: the 9-digit ΑΦΜ; HR: 11 digits; HU: 8 digits; IE: a digit, then a letter, digit, + or *, then 5 digits, then 1 or 2 letters; IT: 11 digits; LT: 9 or 12 digits; LU: 8 digits; LV: 11 digits; MT: 8 digits; NL: 9 digits, B, then 2 digits; PL: 10 digits; PT: 9 digits; RO: 2 to 10 digits; SE: 12 digits; SI: 8 digits; SK: 10 digits; XI: 9 or 12 digits, or GD or HA then 3 digits.
Option 2 of 2
Show patternHide pattern
^[A-Z]{2}[0-9A-Z+*]{2,12}$
legal_idobjectThe merchant's company registration.
Greece
none.
France
The SIREN (scheme siren, country FR), required.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredCountry of the registration: FR.
Always
FRschemestringrequiredIdentifier scheme: siren.
Always
sirencodestringrequiredSIREN, the 9-digit company number, Luhn-checked. Test keys also take the SIRENs of the Chorus Pro qualification structure and the SUPER PDP sandbox companies, which fail it.
Show patternHide pattern
^\d{9}$
establishmentoneOfThe establishment the merchant issues from.
Greece
Its AADE branch (scheme branch, code 1 to 9999); omit it for the head office.
France
Its SIRET (scheme siret), which starts with the merchant's SIREN.
establishmentobjectA branch registered with AADE (Greece).
Option 1 of 2
Show nested fields (2)Hide nested fields (2)
schemestringrequiredIdentifier scheme: branch.
Option 1 of 2 · Always
branchcodestringrequiredAADE branch number, "1" to "9999"; the head office has no establishment.
Option 1 of 2
Show patternHide pattern
^[1-9]\d{0,3}$
establishmentobjectAn establishment in France, by its SIRET.
Option 2 of 2
Show nested fields (2)Hide nested fields (2)
schemestringrequiredIdentifier scheme: siret.
Option 2 of 2 · Always
siretcodestringrequiredSIRET, the 14-digit establishment number: the SIREN, then 5 digits; Luhn-checked.
Option 2 of 2
Show patternHide pattern
^\d{14}$
metadataobjectUp to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.
Show nested fields (1)Hide nested fields (1)
{key}stringA value, up to 500 characters.
1 to 40 characters
Request
JSON{
"external_id": "olive-oil.myshopify.com",
"name": "Olive Oil Co"
}| Status | Description |
|---|---|
201 | The merchant. A replay returns the first answer. |
| 4XX, 5XX | An error: see Errors below. |
Response body · 201
dataobjectrequiredA business that issues documents under your account.
Show nested fields (11)Hide nested fields (11)
idstringrequiredId of the merchant (mer_…).
Show patternHide pattern
^mer_[0-9A-Za-z]{22}$objectstringrequiredAlways "merchant".
Always
merchantexternal_idstringrequiredYour own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.
Up to 200 characters
Show patternHide pattern
\SnamestringrequiredThe merchant's name, as you show it: 1 to 200 characters, trimmed.
Up to 200 characters
Show patternHide pattern
\SregimestringrequiredThe tax regime the merchant issues under: GR or FR.
One of:
GR,FR· Default:GRtax_idobject | nullrequiredThe merchant's tax registration (GR afm, FR vat), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
legal_idobject | nullrequiredThe merchant's company registration (FR siren), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
establishmentobject | nullrequiredThe establishment the merchant issues from (GR branch, FR siret), or null for the head office.
Show nested fields (2)Hide nested fields (2)
schemestringrequiredEstablishment scheme: branch (AADE) or siret.
One of:
branch,siretcodestringrequiredThe branch number or the SIRET.
metadataobjectrequiredUp to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.
Show nested fields (1)Hide nested fields (1)
{key}stringA value, up to 500 characters.
1 to 40 characters
archivedbooleanrequiredTrue once the merchant is archived; it then issues nothing new.
createdstringrequiredWhen the merchant was created.
Format:
date-time
Example response · 201{
"data": {
"id": "mer_02y9O8rh7F50tGi0QcWRrx",
"object": "merchant",
"external_id": "olive-oil.myshopify.com",
"name": "Olive Oil Co",
"regime": "GR",
"tax_id": {
"country": "string",
"scheme": "afm",
"code": "string"
},
"legal_id": {
"country": "string",
"scheme": "afm",
"code": "string"
},
"establishment": {
"scheme": "branch",
"code": "string"
},
"metadata": {
"shop_domain": "olive-oil.myshopify.com"
},
"archived": false,
"created": "2026-10-11T09:30:00.000Z"
}
}Response headers
x-request-idstringThe request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.
With every response
Show patternHide pattern
^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$ratelimit-limitintegerRequests allowed in the current window for the bucket this request counted against.
With 201, 400, 409, 413, 415, 429 · At least 1
ratelimit-remainingintegerRequests left in the current window; 0 means the next one is refused until the window resets.
With 201, 400, 409, 413, 415, 429 · At least 0
ratelimit-resetintegerSeconds until the current window resets.
With 201, 400, 409, 413, 415, 429 · At least 0
idempotent-replayedstringtrue when this answer replays an earlier request with the same Idempotency-Key (nothing new was created); absent on the request that created it.
With 201 · Always
truewww-authenticatestringThe bearer challenge: send a vendor secret key as
Authorization: Bearer <key>.With 401 · Always
Bearer realm="tallio"retry-afterintegerSeconds to wait before retrying a request refused with 429
rate_limited.With 429 · At least 1
| Code | Status | Retryable | Meaning |
|---|---|---|---|
validation_failed | 400 | No | Request validation failed. |
unauthorized | 401 | No | Authentication is required. |
vendor_suspended | 403 | No | This vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it. |
restricted_key | 403 | No | A restricted (store) key may not call this operation; it needs the vendor's secret key. |
idempotency_conflict | 409 | No | This idempotency key was already used with a different request. |
idempotency_in_progress | 409 | Yes | A request with this idempotency key is still in progress; retry it after Retry-After to get its answer. |
already_exists | 409 | No | An object with this identifier already exists; look it up instead of creating it again. |
payload_too_large | 413 | No | The request body is too large. |
unsupported_media_type | 415 | No | The request body must be JSON (Content-Type: application/json). |
rate_limited | 429 | Yes | A rate limit was reached. Retry later. |
internal_error | 500 | No | An unexpected server error occurred. |
Retrieve a merchant #
/api/v1/merchants/{id}Returns one of your merchants.
- Bearer API key
Path parameters
idstringrequiredThe merchant's id (mer_…).
Request
curlcurl -X GET 'https://tallio.dev/api/v1/merchants/mer_02y9O8rh7F50tGi0QcWRrx' \
-H "Authorization: Bearer $TALLIO_API_KEY"| Status | Description |
|---|---|
200 | The merchant. |
| 4XX, 5XX | An error: see Errors below. |
Response body · 200
dataobjectrequiredA business that issues documents under your account.
Show nested fields (11)Hide nested fields (11)
idstringrequiredId of the merchant (mer_…).
Show patternHide pattern
^mer_[0-9A-Za-z]{22}$objectstringrequiredAlways "merchant".
Always
merchantexternal_idstringrequiredYour own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.
Up to 200 characters
Show patternHide pattern
\SnamestringrequiredThe merchant's name, as you show it: 1 to 200 characters, trimmed.
Up to 200 characters
Show patternHide pattern
\SregimestringrequiredThe tax regime the merchant issues under: GR or FR.
One of:
GR,FR· Default:GRtax_idobject | nullrequiredThe merchant's tax registration (GR afm, FR vat), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
legal_idobject | nullrequiredThe merchant's company registration (FR siren), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
establishmentobject | nullrequiredThe establishment the merchant issues from (GR branch, FR siret), or null for the head office.
Show nested fields (2)Hide nested fields (2)
schemestringrequiredEstablishment scheme: branch (AADE) or siret.
One of:
branch,siretcodestringrequiredThe branch number or the SIRET.
metadataobjectrequiredUp to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.
Show nested fields (1)Hide nested fields (1)
{key}stringA value, up to 500 characters.
1 to 40 characters
archivedbooleanrequiredTrue once the merchant is archived; it then issues nothing new.
createdstringrequiredWhen the merchant was created.
Format:
date-time
Example response · 200{
"data": {
"id": "mer_02y9O8rh7F50tGi0QcWRrx",
"object": "merchant",
"external_id": "olive-oil.myshopify.com",
"name": "Olive Oil Co",
"regime": "GR",
"tax_id": {
"country": "string",
"scheme": "afm",
"code": "string"
},
"legal_id": {
"country": "string",
"scheme": "afm",
"code": "string"
},
"establishment": {
"scheme": "branch",
"code": "string"
},
"metadata": {
"shop_domain": "olive-oil.myshopify.com"
},
"archived": false,
"created": "2026-10-11T09:30:00.000Z"
}
}Response headers
x-request-idstringThe request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.
With every response
Show patternHide pattern
^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$ratelimit-limitintegerRequests allowed in the current window for the bucket this request counted against.
With 200, 404, 409, 429 · At least 1
ratelimit-remainingintegerRequests left in the current window; 0 means the next one is refused until the window resets.
With 200, 404, 409, 429 · At least 0
ratelimit-resetintegerSeconds until the current window resets.
With 200, 404, 409, 429 · At least 0
www-authenticatestringThe bearer challenge: send a vendor secret key as
Authorization: Bearer <key>.With 401 · Always
Bearer realm="tallio"retry-afterintegerSeconds to wait before retrying a request refused with 429
rate_limited.With 429 · At least 1
| Code | Status | Retryable | Meaning |
|---|---|---|---|
unauthorized | 401 | No | Authentication is required. |
vendor_suspended | 403 | No | This vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it. |
not_found | 404 | No | The requested resource was not found. |
store_url_mismatch | 409 | No | This store key was granted to another store URL than the one this request names (Tallio-Store-Url). Connect this store again, or confirm that the store moved. |
rate_limited | 429 | Yes | A rate limit was reached. Retry later. |
internal_error | 500 | No | An unexpected server error occurred. |
Archive a merchant #
/api/v1/merchants/{id}/archiveRetires a merchant: it issues nothing new (documents, credit notes, corrections and retries answer 409 merchant_archived), and connects nothing new. Every open connection of the merchant, in both modes, is disconnected (connection.disconnected): documents still queued on one fail with connection_unavailable, and the credentials are deleted 30 days later. Its hosted connect links expire. Its documents, connections and events stay readable, and its external_id stays taken. Writes merchant.archived, once per mode. A test key cannot archive a merchant with an open live connection or connect link (403 forbidden): use a live key. Safe to repeat: an archived merchant is answered as is.
- Bearer API key
Path parameters
idstringrequiredThe merchant's id (mer_…).
Request
curlcurl -X POST 'https://tallio.dev/api/v1/merchants/mer_02y9O8rh7F50tGi0QcWRrx/archive' \
-H "Authorization: Bearer $TALLIO_API_KEY"| Status | Description |
|---|---|
200 | The archived merchant. |
| 4XX, 5XX | An error: see Errors below. |
Response body · 200
dataobjectrequiredA business that issues documents under your account.
Show nested fields (11)Hide nested fields (11)
idstringrequiredId of the merchant (mer_…).
Show patternHide pattern
^mer_[0-9A-Za-z]{22}$objectstringrequiredAlways "merchant".
Always
merchantexternal_idstringrequiredYour own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.
Up to 200 characters
Show patternHide pattern
\SnamestringrequiredThe merchant's name, as you show it: 1 to 200 characters, trimmed.
Up to 200 characters
Show patternHide pattern
\SregimestringrequiredThe tax regime the merchant issues under: GR or FR.
One of:
GR,FR· Default:GRtax_idobject | nullrequiredThe merchant's tax registration (GR afm, FR vat), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
legal_idobject | nullrequiredThe merchant's company registration (FR siren), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
establishmentobject | nullrequiredThe establishment the merchant issues from (GR branch, FR siret), or null for the head office.
Show nested fields (2)Hide nested fields (2)
schemestringrequiredEstablishment scheme: branch (AADE) or siret.
One of:
branch,siretcodestringrequiredThe branch number or the SIRET.
metadataobjectrequiredUp to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.
Show nested fields (1)Hide nested fields (1)
{key}stringA value, up to 500 characters.
1 to 40 characters
archivedbooleanrequiredTrue once the merchant is archived; it then issues nothing new.
createdstringrequiredWhen the merchant was created.
Format:
date-time
Example response · 200{
"data": {
"id": "mer_02y9O8rh7F50tGi0QcWRrx",
"object": "merchant",
"external_id": "olive-oil.myshopify.com",
"name": "Olive Oil Co",
"regime": "GR",
"tax_id": {
"country": "string",
"scheme": "afm",
"code": "string"
},
"legal_id": {
"country": "string",
"scheme": "afm",
"code": "string"
},
"establishment": {
"scheme": "branch",
"code": "string"
},
"metadata": {
"shop_domain": "olive-oil.myshopify.com"
},
"archived": false,
"created": "2026-10-11T09:30:00.000Z"
}
}Response headers
x-request-idstringThe request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.
With every response
Show patternHide pattern
^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$ratelimit-limitintegerRequests allowed in the current window for the bucket this request counted against.
With 200, 404, 429 · At least 1
ratelimit-remainingintegerRequests left in the current window; 0 means the next one is refused until the window resets.
With 200, 404, 429 · At least 0
ratelimit-resetintegerSeconds until the current window resets.
With 200, 404, 429 · At least 0
www-authenticatestringThe bearer challenge: send a vendor secret key as
Authorization: Bearer <key>.With 401 · Always
Bearer realm="tallio"retry-afterintegerSeconds to wait before retrying a request refused with 429
rate_limited.With 429 · At least 1
| Code | Status | Retryable | Meaning |
|---|---|---|---|
unauthorized | 401 | No | Authentication is required. |
vendor_suspended | 403 | No | This vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it. |
restricted_key | 403 | No | A restricted (store) key may not call this operation; it needs the vendor's secret key. |
forbidden | 403 | No | This request is not allowed. |
not_found | 404 | No | The requested resource was not found. |
rate_limited | 429 | Yes | A rate limit was reached. Retry later. |
internal_error | 500 | No | An unexpected server error occurred. |
Unarchive a merchant #
/api/v1/merchants/{id}/unarchiveRestores an archived merchant, so it may issue again (merchant.unarchived, once per mode). Its connections stay disconnected: connect it again before issuing. A merchant archived by a data erasure has lost its identity and cannot be restored (409 invalid_state): create a new one. A test key cannot unarchive a merchant that ever had a live connection or connect link, or holds an active live store key (403 forbidden): use a live key. Safe to repeat: an active merchant is answered as is.
- Bearer API key
Path parameters
idstringrequiredThe merchant's id (mer_…).
Request
curlcurl -X POST 'https://tallio.dev/api/v1/merchants/mer_02y9O8rh7F50tGi0QcWRrx/unarchive' \
-H "Authorization: Bearer $TALLIO_API_KEY"| Status | Description |
|---|---|
200 | The restored merchant. |
| 4XX, 5XX | An error: see Errors below. |
Response body · 200
dataobjectrequiredA business that issues documents under your account.
Show nested fields (11)Hide nested fields (11)
idstringrequiredId of the merchant (mer_…).
Show patternHide pattern
^mer_[0-9A-Za-z]{22}$objectstringrequiredAlways "merchant".
Always
merchantexternal_idstringrequiredYour own id for the merchant, e.g. a shop domain: 1 to 200 characters, trimmed, unique in your account ignoring case (Shop-A and shop-a are the same merchant). Find a merchant by it.
Up to 200 characters
Show patternHide pattern
\SnamestringrequiredThe merchant's name, as you show it: 1 to 200 characters, trimmed.
Up to 200 characters
Show patternHide pattern
\SregimestringrequiredThe tax regime the merchant issues under: GR or FR.
One of:
GR,FR· Default:GRtax_idobject | nullrequiredThe merchant's tax registration (GR afm, FR vat), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
legal_idobject | nullrequiredThe merchant's company registration (FR siren), or null when it has none.
Show nested fields (3)Hide nested fields (3)
countrystringrequiredISO 3166-1 alpha-2 country of the registration.
schemestringrequiredIdentifier scheme: afm, vat, tin, siren or siret.
One of:
afm,vat,tin,siren,siretcodestringrequiredThe identifier itself, as given.
establishmentobject | nullrequiredThe establishment the merchant issues from (GR branch, FR siret), or null for the head office.
Show nested fields (2)Hide nested fields (2)
schemestringrequiredEstablishment scheme: branch (AADE) or siret.
One of:
branch,siretcodestringrequiredThe branch number or the SIRET.
metadataobjectrequiredUp to 50 key-value pairs of your own (keys up to 40 characters, values up to 500). Do not put personal data in it.
Show nested fields (1)Hide nested fields (1)
{key}stringA value, up to 500 characters.
1 to 40 characters
archivedbooleanrequiredTrue once the merchant is archived; it then issues nothing new.
createdstringrequiredWhen the merchant was created.
Format:
date-time
Example response · 200{
"data": {
"id": "mer_02y9O8rh7F50tGi0QcWRrx",
"object": "merchant",
"external_id": "olive-oil.myshopify.com",
"name": "Olive Oil Co",
"regime": "GR",
"tax_id": {
"country": "string",
"scheme": "afm",
"code": "string"
},
"legal_id": {
"country": "string",
"scheme": "afm",
"code": "string"
},
"establishment": {
"scheme": "branch",
"code": "string"
},
"metadata": {
"shop_domain": "olive-oil.myshopify.com"
},
"archived": false,
"created": "2026-10-11T09:30:00.000Z"
}
}Response headers
x-request-idstringThe request's correlation id; quote it when reporting a problem. One of: req_ plus a uuid (Tallio made it), client: plus the x-request-id you sent (8-128 of A-Z a-z 0-9 . _ : -), or the hosting platform's id.
With every response
Show patternHide pattern
^(?:req_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|client:[A-Za-z0-9._:-]{8,128}|[A-Za-z0-9._-]{1,16}::[A-Za-z0-9._:-]{6,110})$ratelimit-limitintegerRequests allowed in the current window for the bucket this request counted against.
With 200, 404, 409, 429 · At least 1
ratelimit-remainingintegerRequests left in the current window; 0 means the next one is refused until the window resets.
With 200, 404, 409, 429 · At least 0
ratelimit-resetintegerSeconds until the current window resets.
With 200, 404, 409, 429 · At least 0
www-authenticatestringThe bearer challenge: send a vendor secret key as
Authorization: Bearer <key>.With 401 · Always
Bearer realm="tallio"retry-afterintegerSeconds to wait before retrying a request refused with 429
rate_limited.With 429 · At least 1
| Code | Status | Retryable | Meaning |
|---|---|---|---|
unauthorized | 401 | No | Authentication is required. |
vendor_suspended | 403 | No | This vendor's access to Tallio is suspended. Its owner can contact Tallio to restore it. |
restricted_key | 403 | No | A restricted (store) key may not call this operation; it needs the vendor's secret key. |
forbidden | 403 | No | This request is not allowed. |
not_found | 404 | No | The requested resource was not found. |
invalid_state | 409 | No | The object's current state does not allow this request. |
rate_limited | 429 | Yes | A rate limit was reached. Retry later. |
internal_error | 500 | No | An unexpected server error occurred. |