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/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": [
    {
      "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"
    }
  ]
}

Haravan - Công ty công nghệ cung cấp giải pháp kinh doanh thương mại điện tử, duy nhất tại Việt Nam được Google lựa chọn vào chương trình bệ phóng tiềm năng với hỗ trợ và đào tạo công nghệ để vươn ra thị trường quốc tế vững chắc.