Difference between revisions of "API Page"
From Spiffy Stores Knowledge Base
(Created page with "<html> <style type="text/css"> table.reference { width: 100%; border: 1px solid #c9c9c9; } table.reference th, table.reference td { border: 1px...") |
|||
| Line 34: | Line 34: | ||
!id | !id | ||
|<pre>{ "id" : 123456789 }</pre> | |<pre>{ "id" : 123456789 }</pre> | ||
| − | A unique numeric identifier for the | + | A unique numeric identifier for the page. |
|- | |- | ||
| − | ! | + | !title |
| − | |<pre>{ " | + | |<pre>{ "title" : "How to save Money" }</pre> |
| − | This is the | + | This is the page title. |
| + | |- | ||
| + | !handle | ||
| + | |<pre></pre> | ||
| + | |- | ||
| + | !body | ||
| + | |<pre></pre> | ||
| + | |- | ||
| + | !body_html | ||
| + | |<pre></pre> | ||
| + | |- | ||
| + | !created_at | ||
| + | |<pre></pre> | ||
| + | |- | ||
| + | !updated_at | ||
| + | |<pre></pre> | ||
| + | |- | ||
| + | !published | ||
| + | |<pre></pre> | ||
} | } | ||
Revision as of 15:59, 22 May 2018
Your Spiffy Store comes with a tool for creating basic HTML web pages. Store owners can create any number of pages to hold static content, such as an 'About us' page, a 'Contact us' page, or a page with customer testimonials.
These web pages are represented by the Page resource, and their HTML content is contained in the value of the body_html property. The Page resource lets you retrieve, create, update, and delete web pages for a store.
Pages are used for long-term, static content that rarely changes. Frequently updated content is best created with the Blog resource instead.
Page Properties
| id | { "id" : 123456789 }
A unique numeric identifier for the page. |
|---|---|
| title | { "title" : "How to save Money" }
This is the page title. |
| handle | |
| body | |
| body_html | |
| created_at | |
| updated_at | |
| published |
} |