Policy

The list of policies that a merchant has configured for their store, such as their refund or privacy policies.

Only the shop owner can edit this information from inside their shop admin dashboard by navigating to the "Settings" tab and selecting the "Checkout" tab. The API doesn't let you do anything other than retrieve information about a shop.

What can you do with Policy?

The Shopify API lets you do the following with the Policy resource. More detailed versions of these general actions may be available:

Endpoints

GET/admin/policies.json

Get the policies and their contents for a shop

title

Name of the policy

body

Contents of the policy

url

Public URL to policy

getting the shops policies

GET /admin/policies.json
View Response
HTTP/1.1 200 OK
{
  "policies": [
    {
      "title": "Refund Policy",
      "body": "You have 30 days to get a refund",
      "created_at": "2016-06-20T13:37:48-04:00",
      "updated_at": "2016-06-20T13:37:48-04:00",
      "url": "https:\/\/apple.myshopify.com\/690933842\/policies\/878590288"
    }
  ]
}