For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get store metadata

Get a store's readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.

Get store metadata

get

Get a store's readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
store_idstringRequired

The ID of the store to read metadata for.

Example: store_01J8Z5F8W9K8M4A7B3C2D1E0FG
Responses
200

Success response

application/json
get/api/ecommerce/v1/stores/{store_id}/metadata
GET /api/ecommerce/v1/stores/{store_id}/metadata HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "metadata": {
    "has_payment_methods": true,
    "has_shipping": true,
    "default_currency_code": "eur",
    "default_currency": {
      "code": "eur",
      "symbol": "€",
      "symbol_native": "€",
      "name": "Euro",
      "name_plural": "Euros",
      "decimal_digits": 2,
      "rounding": 0,
      "template": "€$1",
      "min_amount": 50
    }
  }
}

Last updated

Was this helpful?