curl --request GET \
--url https://demo.spreecommerce.org/api/v2/storefront/policies/{policy_slug}{
"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"
}
}
}Returns the details of a specified Policy. This endpoint is only available in Spree 5.2 or later.
curl --request GET \
--url https://demo.spreecommerce.org/api/v2/storefront/policies/{policy_slug}{
"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"
}
}
}Show child attributes
Was this page helpful?