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 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_idstringRequiredExample:
The ID of the store to read metadata for.
store_01J8Z5F8W9K8M4A7B3C2D1E0FGResponses
200
Success response
application/json
401
Unauthenticated response
application/json
500
Error 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?