Ecommerce: Stores
Get store metadata
Changed onGet 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/api/ecommerce/v1/stores/{store_id}/metadata
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/ecommerce/v1/stores/{store_id}/metadata
- Auth: HTTP bearer
Path parameters
store_idstring required
Example:store_01J8Z5F8W9K8M4A7B3C2D1E0FG
The ID of the store to read metadata for.
Response
Success response
Example response
{
"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,
"template": "€$1",
"min_amount": 50
}
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking