Policy
You can use the Policy resource to access the policies that a merchant has configured for their shop, such as their refund and privacy policies.
Only the shop owner can edit this information from the Shopify admin. The Policy resource lets you only retrieve information about a shop's policies.
What you can 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:
Policy properties
title |
The name of the policy. |
body |
A description of the policy. |
url |
The public URL of the policy. |
created_at |
The date and time (ISO 8601 format) when the policy was created. |
updated_at |
The date and time (ISO 8601 format) when the policy was last modified. |
handle |
A unique identifer for the policy used to build the policy's URL. |
Endpoints
Retrieve a list of the shop's policies
GET /admin/api/2020-01/policies.json
View Response
HTTP/1.1 200 OK
{
"policies": [
{
"body": "You have 30 days to get a refund",
"created_at": "2021-01-01T14:24:56-05:00",
"updated_at": "2021-01-01T14:24:56-05:00",
"handle": "refund-policy",
"title": "Refund policy",
"url": "https://apple.myshopify.com/690933842/policies/878590289"
}
]
}
You can use the Policy resource to access the policies that a merchant has configured for their shop, such as their refund and privacy policies.
Only the shop owner can edit this information from the Shopify admin. The Policy resource lets you only retrieve information about a shop's policies.
What you can 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:
Policy properties
title |
The name of the policy. |
body |
A description of the policy. |
url |
The public URL of the policy. |
created_at |
The date and time (ISO 8601 format) when the policy was created. |
updated_at |
The date and time (ISO 8601 format) when the policy was last modified. |
handle |
A unique identifer for the policy used to build the policy's URL. |
Endpoints
Retrieve a list of the shop's policies
GET /admin/api/2020-04/policies.json
View Response
HTTP/1.1 200 OK
{
"policies": [
{
"body": "You have 30 days to get a refund",
"created_at": "2021-01-01T14:24:56-05:00",
"updated_at": "2021-01-01T14:24:56-05:00",
"handle": "refund-policy",
"title": "Refund policy",
"url": "https://apple.myshopify.com/690933842/policies/878590289"
}
]
}
You can use the Policy resource to access the policies that a merchant has configured for their shop, such as their refund and privacy policies.
Only the shop owner can edit this information from the Shopify admin. The Policy resource lets you only retrieve information about a shop's policies.
What you can 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:
Policy properties
title |
The name of the policy. |
body |
A description of the policy. |
url |
The public URL of the policy. |
created_at |
The date and time (ISO 8601 format) when the policy was created. |
updated_at |
The date and time (ISO 8601 format) when the policy was last modified. |
handle |
A unique identifer for the policy used to build the policy's URL. |
Endpoints
Retrieve a list of the shop's policies
GET /admin/api/2020-07/policies.json
View Response
HTTP/1.1 200 OK
{
"policies": [
{
"body": "You have 30 days to get a refund",
"created_at": "2021-01-01T14:24:56-05:00",
"updated_at": "2021-01-01T14:24:56-05:00",
"handle": "refund-policy",
"title": "Refund policy",
"url": "https://apple.myshopify.com/690933842/policies/878590289"
}
]
}
You can use the Policy resource to access the policies that a merchant has configured for their shop, such as their refund and privacy policies.
Only the shop owner can edit this information from the Shopify admin. The Policy resource lets you only retrieve information about a shop's policies.
What you can 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:
Policy properties
title |
The name of the policy. |
body |
A description of the policy. |
url |
The public URL of the policy. |
created_at |
The date and time (ISO 8601 format) when the policy was created. |
updated_at |
The date and time (ISO 8601 format) when the policy was last modified. |
handle |
A unique identifer for the policy used to build the policy's URL. |
Endpoints
Retrieve a list of the shop's policies
GET /admin/api/2020-10/policies.json
View Response
HTTP/1.1 200 OK
{
"policies": [
{
"body": "You have 30 days to get a refund",
"created_at": "2021-01-01T14:24:56-05:00",
"updated_at": "2021-01-01T14:24:56-05:00",
"handle": "refund-policy",
"title": "Refund policy",
"url": "https://apple.myshopify.com/690933842/policies/878590289"
}
]
}
You can use the Policy resource to access the policies that a merchant has configured for their shop, such as their refund and privacy policies.
Only the shop owner can edit this information from the Shopify admin. The Policy resource lets you only retrieve information about a shop's policies.
What you can 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:
Policy properties
title |
The name of the policy. |
body |
A description of the policy. |
url |
The public URL of the policy. |
created_at |
The date and time (ISO 8601 format) when the policy was created. |
updated_at |
The date and time (ISO 8601 format) when the policy was last modified. |
handle |
A unique identifer for the policy used to build the policy's URL. |
Endpoints
Retrieve a list of the shop's policies
GET /admin/api/2021-01/policies.json
View Response
HTTP/1.1 200 OK
{
"policies": [
{
"body": "You have 30 days to get a refund",
"created_at": "2021-01-01T14:24:56-05:00",
"updated_at": "2021-01-01T14:24:56-05:00",
"handle": "refund-policy",
"title": "Refund policy",
"url": "https://apple.myshopify.com/690933842/policies/878590289"
}
]
}
You can use the Policy resource to access the policies that a merchant has configured for their shop, such as their refund and privacy policies.
Only the shop owner can edit this information from the Shopify admin. The Policy resource lets you only retrieve information about a shop's policies.
What you can 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:
Policy properties
title |
The name of the policy. |
body |
A description of the policy. |
url |
The public URL of the policy. |
created_at |
The date and time (ISO 8601 format) when the policy was created. |
updated_at |
The date and time (ISO 8601 format) when the policy was last modified. |
handle |
A unique identifer for the policy used to build the policy's URL. |
Endpoints
Retrieve a list of the shop's policies
GET /admin/api/2021-04/policies.json
View Response
HTTP/1.1 200 OK
{
"policies": [
{
"body": "You have 30 days to get a refund",
"created_at": "2021-01-01T14:24:56-05:00",
"updated_at": "2021-01-01T14:24:56-05:00",
"handle": "refund-policy",
"title": "Refund policy",
"url": "https://apple.myshopify.com/690933842/policies/878590289"
}
]
}
You can use the Policy resource to access the policies that a merchant has configured for their shop, such as their refund and privacy policies.
Only the shop owner can edit this information from the Shopify admin. The Policy resource lets you only retrieve information about a shop's policies.
What you can 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:
Policy properties
title |
The name of the policy. |
body |
A description of the policy. |
url |
The public URL of the policy. |
created_at |
The date and time (ISO 8601 format) when the policy was created. |
updated_at |
The date and time (ISO 8601 format) when the policy was last modified. |
handle |
A unique identifer for the policy used to build the policy's URL. |
Endpoints
Retrieve a list of the shop's policies
GET /admin/api/unstable/policies.json
View Response
HTTP/1.1 200 OK
{
"policies": [
{
"body": "You have 30 days to get a refund",
"created_at": "2021-01-01T14:24:56-05:00",
"updated_at": "2021-01-01T14:24:56-05:00",
"handle": "refund-policy",
"title": "Refund policy",
"url": "https://apple.myshopify.com/690933842/policies/878590289"
}
]
}