Download OpenAPI specification:Download
Merchant-facing API. Endpoints for listing accessible merchants and reading/updating the merchant profile.
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
},
}
}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
},
}
}