E-commerce API
POST /services/webshop/v1/settings/get Auth

Get Webshop Settings

Responses

500
200
422
401
403
429
Internal server error
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data mixed[]
Successful response
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data object
data.currency mixed
data.country string
data.language string
data.order_prefix string
data.order_starting_number string
data.max_order_number string
data.max_invoice_number string
data.invoice_prefix string
data.invoice_starting_number string
data.agreement_url string
data.pdf_header_legal_info mixed
data.pdf_invoice_footer_text mixed
data.invoice_enable mixed
data.package_slip_enable mixed
data.email_bcc mixed
data.email_cc mixed
data.webshop_email_to mixed
data.prices_inclusive_tax string
data.show_prices_inclusive_tax string
data.show_tax_label_in_categories string
data.mollie_test_mode string
data.mollie_live_api_key string
data.mollie_test_api_key string
data.mollie_profile_id string
data.stripe_test_mode string
data.stripe_live_publishable_key string|null
data.stripe_test_publishable_key string|null
data.stripe_live_secret_key string|null
data.stripe_test_secret_key string|null
data.enable_wire string
data.wire_title string
data.wire_description string
data.enable_pay_on_pickup string
data.pay_on_pickup_title string
data.pay_on_pickup_description string
data.default_products_template string
data.default_categories_template string
data.translation_code string
data.shipping_methods object|null
data.shipping_methods_group mixed
data.products_per_row integer Display settings
data.products_filters_per_row integer
data.redirect_to_cart_after_add mixed Cart behavior
data.customer_accounts_enabled boolean Customer accounts (off by default, admin opts in per webshop). When enabled, customers see the Login/Register link in the header and the "Create account" checkbox at checkout. When off, the entire account system is invisible and guest checkout is the only flow, matching the original behaviour. The 6 page-id assignments are no longer surfaced — they're managed end-to-end by CreateWebshopSystemPagesJob and the settings UI has no controls for them.
data.customer_register_collect_billing boolean The only merchant-configurable customer-accounts sub-toggle. Defaults to false so existing shops see no visible diff. Email verification is platform-enforced (always on) and the inline legal notice on register is driven entirely by the merchant's `agreement_url` field — no extra sub-toggle.
data.cart_reminder_enabled boolean Cart-reminder feature flag. When true, the storefront renders the GDPR-compliant cart-recovery consent checkbox at checkout and the backend reminder job becomes eligible to send for this project's abandoned carts. Off by default so existing shops see no UX change.
data.payment_reminder_enabled boolean Payment-reminder feature flag. When true, the scheduler sends a single transactional "complete your payment" email for orders that were created but never paid. Default true on first read because it's a service email under GDPR Art. 6(1)(b) — no consent gate, no surprise to merchants who'd expect it to fire by default. Setting is opt-OUT, not opt-in.
data.ga4_measurement_id string|null Advanced Ecommerce Tracking
data.ga4_api_secret string|null
data.pages object[]
data.product_layouts object[]
data.category_layouts object[]
Validation error
FieldTypeDescription
message string Errors overview.
errors object A detailed description of each field that failed validation.
Unauthenticated — missing or invalid Bearer token
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
Forbidden — insufficient permissions for this resource
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
Too Many Requests — rate limit exceeded
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
Retry-After integer Seconds until the rate limit resets 60
FieldTypeDescription
error boolean
message string
Base URL
https://api.wemasy.nl/api
Authentication

Request Sample
cURL
JS
PHP
Python
curl -X POST "https://api.wemasy.nl/api/services/webshop/v1/settings/get" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
fetch('https://api.wemasy.nl/api/services/webshop/v1/settings/get', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json'  }})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
    ->accept('application/json')
    ->post('https://api.wemasy.nl/api/services/webshop/v1/settings/get');
$data = $response->json();
import requests

headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
r = requests.post("https://api.wemasy.nl/api/services/webshop/v1/settings/get", headers=headers)
print(r.json())
Response Example
{
    "error": false,
    "message": "string",
    "data": {
        "currency": "string",
        "country": "string",
        "language": "string",
        "order_prefix": "string",
        "order_starting_number": "string",
        "max_order_number": "string",
        "max_invoice_number": "string",
        "invoice_prefix": "string",
        "invoice_starting_number": "string",
        "agreement_url": "string",
        "pdf_header_legal_info": "string",
        "pdf_invoice_footer_text": "string",
        "invoice_enable": "string",
        "package_slip_enable": "string",
        "email_bcc": "string",
        "email_cc": "string",
        "webshop_email_to": "string",
        "prices_inclusive_tax": "string",
        "show_prices_inclusive_tax": "string",
        "show_tax_label_in_categories": "string",
        "mollie_test_mode": "string",
        "mollie_live_api_key": "string",
        "mollie_test_api_key": "string",
        "mollie_profile_id": "string",
        "stripe_test_mode": "string",
        "stripe_live_publishable_key": "string",
        "stripe_test_publishable_key": "string",
        "stripe_live_secret_key": "string",
        "stripe_test_secret_key": "string",
        "enable_wire": "string",
        "wire_title": "string",
        "wire_description": "string",
        "enable_pay_on_pickup": "string",
        "pay_on_pickup_title": "string",
        "pay_on_pickup_description": "string",
        "default_products_template": "string",
        "default_categories_template": "string",
        "translation_code": "string",
        "shipping_methods": {},
        "shipping_methods_group": "string",
        "products_per_row": 0,
        "products_filters_per_row": 0,
        "redirect_to_cart_after_add": "string",
        "customer_accounts_enabled": true,
        "customer_register_collect_billing": true,
        "cart_reminder_enabled": true,
        "payment_reminder_enabled": true,
        "ga4_measurement_id": "string",
        "ga4_api_secret": "string",
        "pages": [],
        "product_layouts": [],
        "category_layouts": []
    }
}

Try It

Export