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 "General" tab. The API doesn't let you do anything other than retrieve information about a shop.
What can you do with Policy?
The haravan API lets you do the following with the Policy resource. More detailed versions of these general actions may be available:
Endpoints
GET/com/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.jsonView Response
HTTP/1.1 200 OK { "policies": [ { "body": "You have 30 days to get a refund", "created_at": "2015-03-28T13:31:32-04:00", "title": "Refund Policy", "updated_at": "2015-03-28T13:31:32-04:00", "url": "https:\/\/apple.myharavan.com\/690933842\/policies\/878590288" } ] }