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 metafield.
+
A unique numeric identifier for the page.
 
|-
 
|-
!namespace
+
!title
|<pre>{ "namespace" : "accessories" }</pre>
+
|<pre>{ "title" : "How to save Money" }</pre>
This is the name assigned to a set of unique metadata keys. Namespaces allow you to group and manage the metadata associated with the objects. A Namespace name has a maximum of 20 lower-case alphabetic characters, numbers and '_'.
+
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

}