Response
200 - application/vnd.api+json
200 Success - Returns an array of policy
objects.
The response is of type object
.
Returns a list of Store Policies. This endpoint is only available in Spree 5.2 or later.
curl --request GET \
--url https://demo.spreecommerce.org/api/v2/storefront/policies
{
"data": [
{
"id": "1",
"type": "policy",
"attributes": {
"name": "Terms and Conditions",
"slug": "terms-and-conditions",
"created_at": "2025-08-12T12:13:09.183Z",
"updated_at": "2025-08-12T13:27:59.470Z",
"body": "asdrdfas",
"body_html": "<div class=\"trix-content\">\n <div>asdrdfas</div>\n</div>\n"
}
},
{
"id": "2",
"type": "policy",
"attributes": {
"name": "Privacy Policy",
"slug": "privacy-policy",
"created_at": "2025-08-12T10:00:00.000Z",
"updated_at": "2025-08-12T10:00:00.000Z",
"body": "Privacy policy content",
"body_html": "<div class=\"trix-content\">\n <div>Privacy policy content</div>\n</div>\n"
}
}
]
}
200 Success - Returns an array of policy
objects.
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://demo.spreecommerce.org/api/v2/storefront/policies
{
"data": [
{
"id": "1",
"type": "policy",
"attributes": {
"name": "Terms and Conditions",
"slug": "terms-and-conditions",
"created_at": "2025-08-12T12:13:09.183Z",
"updated_at": "2025-08-12T13:27:59.470Z",
"body": "asdrdfas",
"body_html": "<div class=\"trix-content\">\n <div>asdrdfas</div>\n</div>\n"
}
},
{
"id": "2",
"type": "policy",
"attributes": {
"name": "Privacy Policy",
"slug": "privacy-policy",
"created_at": "2025-08-12T10:00:00.000Z",
"updated_at": "2025-08-12T10:00:00.000Z",
"body": "Privacy policy content",
"body_html": "<div class=\"trix-content\">\n <div>Privacy policy content</div>\n</div>\n"
}
}
]
}