Shopify Policies API
The full text of a store's published policies, filtered by kind.
GET /v1/shopify/store/policies1 credit Failed requests are free
About this endpoint
GET /v1/shopify/store/policies?store=… returns data.policies, one row for each policy the store publishes. Each row has type, title, handle, id, url and body, where body is the full policy text. Types are privacy, refund, shipping, terms_of_service, terms_of_sale, subscription, contact and legal_notice.
Pass policy=refund to keep one kind. A store that publishes no policies returns found with an empty list.
Shopify Policies API FAQ
Which policy kinds can I request?
privacy, refund, shipping, terms_of_service, terms_of_sale, subscription, contact and legal_notice. Omit policy to return every kind the store publishes.
Is the policy text HTML?
Yes. body is the policy text as the storefront publishes it, and url points at the rendered policy page.
What if the store has no policy?
The answer is found with policies as an empty array. A missing policy is not an error.
How do I name the store?
The store is the domain, for example allbirds.com, www.allbirds.com or weareallbirds.myshopify.com. A full URL is reduced to its host.
How is it billed?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.
What does lookupStatus mean?
found means the lookup succeeded. not_found means the store or entity does not exist or is not a Shopify store. private means the storefront is password-protected. restricted means it is paused or frozen. HTTP 200 only means the request finished, so branch on lookupStatus.
Other Shopify endpoints
- StoreGET /v1/shopify/store
- LocationsGET /v1/shopify/store/locations
- MenuGET /v1/shopify/store/menus/{handle}
- RedirectsGET /v1/shopify/store/redirects
- SitemapGET /v1/shopify/store/sitemap
- ProductsGET /v1/shopify/products
- ProductGET /v1/shopify/products/{handle}
- RecommendationsGET /v1/shopify/products/{handle}/recommendations