Download OpenAPI specification:Download
Merchant-facing API. Endpoints for listing accessible merchants, reading/updating the merchant profile, and managing communication endpoints — the shared inboxes that receive merchant-level notifications.
Returns the full profile of the active merchant identified by the x-logitrail-merchant-id header.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "merchant_profile": {
- "id": "string",
- "status": "active",
- "official_name": "string",
- "name": "string",
- "address": {
- "street": "string",
- "postal_code": "string",
- "city": "string",
- "country": "st"
}, - "vat_id": "string",
- "business_id": "string",
- "eori": "string",
- "voec": "string",
- "hmrc": "string",
- "ioss": "string",
- "ioss_issuer_country": "st",
- "gs1_company_id": "string",
- "customer_service": {
- "email": "user@example.com",
- "phone": "string"
}, - "invoicing": {
- "mode": "email",
- "email_recipient": "string",
- "finvoice_address": "string",
- "finvoice_operator_id": "string",
- "payment_term_days": -9007199254740991
}, - "tracking": {
- "requires_batch_number": true,
- "requires_best_before_date": true
}
}
}Updates editable fields of the active merchant profile. PATCH semantics — only supplied fields are updated. Read-only fields (id, status, invoicing.payment_term_days, logo_url) are not accepted.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "merchant_profile": {
- "id": "string",
- "status": "active",
- "official_name": "string",
- "name": "string",
- "address": {
- "street": "string",
- "postal_code": "string",
- "city": "string",
- "country": "st"
}, - "vat_id": "string",
- "business_id": "string",
- "eori": "string",
- "voec": "string",
- "hmrc": "string",
- "ioss": "string",
- "ioss_issuer_country": "st",
- "gs1_company_id": "string",
- "customer_service": {
- "email": "user@example.com",
- "phone": "string"
}, - "invoicing": {
- "mode": "email",
- "email_recipient": "string",
- "finvoice_address": "string",
- "finvoice_operator_id": "string",
- "payment_term_days": -9007199254740991
}, - "tracking": {
- "requires_batch_number": true,
- "requires_best_before_date": true
}
}
}Returns the shared-inbox contact records (email/SMS) configured for the active merchant.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "endpoints": [
- {
- "id": "stringstringstringstring",
- "channel": "email",
- "address": "string",
- "label": "string",
- "locale": "string"
}
]
}Adds a shared-inbox contact record to the active merchant. Admin attestation only — no address verification.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
| channel required | string Enum: "email" "sms" |
| address required | string non-empty Delivery address for this channel. |
| label | string non-empty Human-readable label. |
| locale | string Optional per-endpoint locale override. |
{- "channel": "email",
- "address": "string",
- "label": "string",
- "locale": "string"
}{- "endpoint": {
- "id": "stringstringstringstring",
- "channel": "email",
- "address": "string",
- "label": "string",
- "locale": "string"
}
}Partially updates address, label, or locale override for one endpoint. Channel is immutable after creation.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
| address | string non-empty Updated delivery address. |
| label | string non-empty Updated label. |
string or null Updated locale override, or null to clear it. |
{- "address": "string",
- "label": "string",
- "locale": "string"
}{- "endpoint": {
- "id": "stringstringstringstring",
- "channel": "email",
- "address": "string",
- "label": "string",
- "locale": "string"
}
}Removes the contact record. Existing per-type subscription rows for this endpoint are not cleaned up.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
{- "message": "string",
- "error_code": "VALIDATION_ERROR",
- "validation_errors": [
- null
]
}Sets enabled/channels/cadence for one communication type on one shared-inbox endpoint. Rejects channels or cadence outside the permitted set and opting out of a type where optOutAllowed is false.
| x-logitrail-merchant-id required | string non-empty Logitrail's Merchant ID. |
| enabled required | boolean |
| channels required | Array of strings Items Enum: "email" "sms" |
| cadence required | string Enum: "instant" "daily" "weekly" |
{- "enabled": true,
- "channels": [
- "email"
], - "cadence": "instant"
}{- "typeKey": "string",
- "enabled": true,
- "channels": [
- "string"
], - "cadence": "string",
- "updatedAt": "string"
}