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:
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
HTTP/1.1 200 OK
"body": "You have 30 days to get a refund",
"title": "Refund Policy",
Bài viết này có giúp ích cho bạn không?