INZU API

JSON Feed details

This section provides full details of each JSON feed including the JSON structure and call parameters.

General

My Site

Store

WARNING!
Only the following HTML tags can be saved in My Site entries: <a> <p> <em> <strong> <blockquote> <ul> <ol> <li> <b> <i> <u> <br> <h1> <h2> <h3> <h4> <h5> <h6>

JSON Structure

Multiple 'Mysite' entries are objects in the "data" array. Single entries are the object "entry". This page shows examples of each zone as an "data" array item.

All 'Store' entries are objects in the "product" array.

Mulitple

}
"data":[
{
"entry_id":"148",
...etc
},
{
"entry_id":"149",
...etc
}
]
}

Single

}
"entry":{
"entry_id":"148",
...etc
}
}

Product

}
"product":[
{
"item_code":"19247984",
...etc
},
{
"item_code":"98129834",
...etc
}
]
}

Account live

A simple request to check the account is live and inzu.net is available for access. This should be verified on every page to ensure connectivity has been established.

JSON Call

http://api.inzu.net/json/account/live.js?api_key={$key}&api_pass={$pass}

JSON Structure

{ "live_stauts":"true" }

Home page

Add a single entry or multiple entries for your home page, with HTML text formatting and images.

Contents

Title - 200 characters
Entry- 6000 characters
Image - Max width 800 pixels, Max height 1000 pixels
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=home

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=home&latest=true

JSON Entry

{
"entry_id":"1",
"title":"Home Page",
"entry":"Welcome to my website!",
"image":"http://media.inzu.net/user/mysite/home/img_1.png",
"date":"1309878441",
"tags":"tag1, tag2, tag3"
}

News Feed

The news feed provides a short article format for regular news updates and includes an accompanying image, all entries are dated.

Contents

Title - 200 characters
Article - 1000 characters
Image - Max width 800 pixels, Max height 1000 pixels
File download - Max 8MB
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=news

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=news&latest=true

JSON Entry

{
"entry_id":"151",
"title":"Example title",
"article":"Article example, free text allowed here",
"image":"http://media.inzu.net/user/mysite/news/img_151.png",
"file":"http://media.inzu.net/user/mysite/news/file1.png",
"file_size":"0",
"date":"1291131751",
"tags":"Tag1, Tag2, Tag3"
}

About

The about feed is a one time entry to write a description about you or your company.

Contents

About - 2000 characters
Image - Max width 800 pixels, Max height 1000 pixels
Date - Unix time stamp

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=about

JSON Entry

{
"entry_id":"1",
"about":"About text",
"image":"http://media.inzu.net/user/mysite/about/img_1.png",
"date":"1287672742"
}

Articles

The articles feed allows you upload multiple articles that include text formatting, images and file attachments.

Contents

Title - 200 characters
Description - 500 characters
Category/Section - 100 characters
Article - 6000 characters
Image list - Max width 800 pixels, Max height 1000 pixels
File list - Max file size 8MB
Date - Unix time stamp

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=articles

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
category (string) - display entries with matching category
select (array) - retrieve only certain fields for speed (comma separated)
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

JSON Entry

{
"entry_id":"9",
"title":"Article title",
"description":"Description of article",
"category":"Blog",
"article":"The article text in full",
"image_list":[
{
"image":"http://media.inzu.net/user/mysite/articles/9/img_1295980913.png",
"image_thumb":"http://media.inzu.net/user/mysite/articles/9/thumbimg_1295980913.png",
"caption":"Image caption"
}
],
"file_list":[
{
"file":"http://media.inzu.net/user/mysite/articles/9/1_logo_80.jpg",
"description":"File 1"
},{
"file":"http://media.inzu.net/user/mysite/articles/9/2_thumbimg_1295979973.png",
"description":"File 2"
}
],
"date":"1295980972",
"tags":"Tag1, Tag2, Tag3"
}

Events Feed

The events feed is one of the most complex of all the My Site feeds with extensive details about the event as well as a supporting image gallery.

Contents

Title - 200 characters
Location - 80 characters
Venue - 100 characters
Venue HTML link - 200 characters
Starring - 400 characters
Booking link - 100 characters
Entry fee - 100 characters
Event time - 100 characters
Description - 500 characters
Image (e.g flyer/poster) - Max width 800 pixels, Max height 1000 pixels
Review - 800 characters
Gallery (image list) - Max width 800 pixels, Max height 1000 pixels (images include 100 character caption)
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=events

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
forthcoming (boolean) - display entries with a date set to the current day or in the future
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=events&tag=album

JSON Entry

{
"entry_id":"104",
"title":"Event title",
"location":"Event location",
"venue":"Information about the venue.",
"venue_link":"http://www.inzu.net",
"stars":"A list of people starring at the event.",
"book":"http://www.inzu.net/booknow",
"fee":"$10.00",
"time":"9.00pm - 11.00pm ",
"description":"A description of the event",
"image":"http://media.inzu.net/user/mysite/events/img_104.png",
"review":"A review of the event.",
"image_list":[
{
"image":"http://media.inzu.net/user/mysite/events/104/img_1286376927.png",
"image_thumb":"http://media.inzu.net/user/mysite/events/104/thumbimg_1286376927.png",
"caption":"Event image 1"
},{
"image":"http://media.inzu.net/user/mysite/events/104/img_1286376940.png",
"image_thumb":"http://media.inzu.net/user/mysite/events/104/thumbimg_1286376940.png",
"caption":"Event image 2"
},{
"image":"http://media.inzu.net/user/mysite/events/104/img_1286376951.png",
"image_thumb":"http://media.inzu.net/user/mysite/events/104/thumbimg_1286376951.png",
"caption":"Event image 3"
}
],
"date":"1338418800",
"tags":"Tag1, Tag2, Tag3"
}

Gallery Feed

The gallery feed uses a similar format to the events feed but with fewer descriptive entry types.

Contents

Title - 200 characters
Description - 500 characters
Image list - Max width 800 pixels, Max height 1000 pixels (images include 100 character caption)
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=gallery

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=gallery&entry_id=45

JSON Entry

{
"entry_id":"89",
"title":"Gallery Title",
"description":"Gallery description.",
"image_list":[
{
"image":"http://media.inzu.net/user/mysite/gallery/89/img_1286377132.png",
"image_thumb":"http://media.inzu.net/user/mysite/gallery/89/thumbimg_1286377132.png",
"caption":"Gallery image 1"
},{
"image":"http://media.inzu.net/user/mysite/gallery/89/img_1286377141.png",
"image_thumb":"http://media.inzu.net/user/mysite/gallery/89/thumbimg_1286377141.png",
"caption":"Gallery image 2"
},{
"image":"http://media.inzu.net/user/mysite/gallery/89/img_1286377148.png",
"image_thumb":"http://media.inzu.net/user/mysite/gallery/89/thumbimg_1286377148.png",
"caption":"Gallery image 3"
}
],
"date":"1286377115",
"tags":"Tag1, Tag2, Tag3"
}

Video Feed

The video feed provides a way to archive and access embedded videos on your site.

Contents

Title - 200 characters
Description - 500 characters
Image - Max width 800 pixels, Max height 1000 pixels
Embed code - 800 characters
Duration (any format) - 20 characters
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=video

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=video&tagHide=fails

JSON Entry

{
"entry_id":"45",
"title":"Video title",
"description":"Video description",
"video":"<object width=\"480\" height=\"385\"><param name=\"movie\" value=\"http://www.youtube.com/v/gv521YkDrwg?fs=1&amphl=en_US\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"http://www.youtube.com/v/gv521YkDrwg?fs=1&amphl=en_US\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"480\" height=\"385\"></embed></object>",
"duration":"2:53",
"image":"http://media.inzu.net/user/mysite/video/img_45.png",
"date":"1286377809",
"tags":"Tag1, Tag2, Tag3"
}

Sound Feed

The sound feed provides a way to archive and access sound clips and music on your site.

Contents

Title - 200 characters
Description - 500 characters
Image - Max width 800 pixels, Max height 1000 pixels
File - Formats; mp3,mp4,wav,aif (max 8MB)
Embed code - 1500 characters
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=sound

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=sound&tag=rock

JSON Entry

{
"entry_id":"45",
"title":"Clip title",
"description":"Clip description",
"file":"http://media.inzu.net/user/mysite/sound/rock.mp3",
"video":"<object height="81" width="100%"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F13593105"></param> <param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F13593105" type="application/x-shockwave-flash" width="100%"></embed> </object>,
"date":"1286377809",
"tags":"Tag1, Tag2, Tag3"
}

Downloads

The downloads feed allows you feature downloads of small files (up to 8MB).

Contents

Title - 200 characters
Description - 240 characters
File - Max file size 8MB
File link - 400 characters
File size - In bytes
Image - Max width 800 pixels, Max height 1000 pixels
Date - Unix time stamp

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=downloads

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

JSON Entry

{
"entry_id":"15",
"title":"Download title",
"description":"Download description",
"file":"http://media.inzu.net/user/mysite/downloads/inzuprofile.jpg",
"file_link":"n/a",
"file_size":"7031",
"image":"http://media.inzu.net/user/mysite/downloads/img_15.png",
"date":"1295981060",
"tags":"Tag1, Tag2, Tag3"
}

People Feed

The people feed allows you to create detailed personal profiles of everyone associated with your company.

Contents

Name - 100 characters
Sex - 10 characters
Image - Max width 800 pixels, Max height 1000 pixels
Department - 100 characters
Role - 50 characters
E-mail - 100 characters
Phone - 25 characters
Biography - 8000 characters
Birthday (any format) - 20 characters
Interests - 500 characters
Influences - 500 characters
Testimonials - 900 characters
HTML Link 1 - 250 characters
HTML Link 2 - 250 characters
HTML Link 3 - 250 characters
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=people

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=people&entry_id=78

JSON Entry

{
"entry_id":"118",
"name":"Persons name",
"sex":"male",
"image":"http://media.inzu.net/user/mysite/people/img_118.png",
"department":"Admin",
"role":"Accountant",
"email":"john@doe.com",
"phone":"+(44) 0 207 288 989",
"biography":"Biography text",
"birthday":"08/01/1975",
"interests":"Baseball,fishing,movies",
"influences":"Johnny Cash, Hank Marvin",
"testimonials":"A truly amazing individual",
"link_1":"http://www.inzu.net",
"link_2":"http://www.inzu.net",
"link_3":"http://www.inzu.net",
"date":"1286378076",
"tags":"Tag1, Tag2, Tag3"
}

Links Feed

A basic list of links to external site with an optional image and description.

Contents

Title - 100 characters
HTML Link 1 - 250 characters
Image - Max width 800 pixels, Max height 1000 pixels
Description - 500 characters
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=links

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=links&entry_id=982

JSON Entry

{
"entry_id":"42",
"links_key":"33",
"title":"INZU",
"HTML_link":"http://www.inzu.net",
"image":"http://media.inzu.net/user/mysite/links/img_42.png",
"description":"About the link",
"date":"1286378177",
"tags":"Tag1, Tag2, Tag3"
}

Presse Feed

An archive of press you or your company may of had.

Contents

Title - 100 characters
Description - 3000 characters
HTML Link - 250 characters
Image - Max width 800 pixels, Max height 1000 pixels
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=press

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=press&tag=tv

JSON Entry

{
"entry_id":"54",
"title":"Entry title",
"description":"Entry description.",
"HTML_link":"http://www.inzu.net",
"image":"http://media.inzu.net/user/mysite/press/img_54.png",
"date":"1287442800",
"tags":"Tag1, Tag2, Tag3"
}

Catalogue Feed

An archive/library of your products, ideal for a discography.

Contents

Product Code - 250 characters
Title - 100 characters
Description - 3000 characters
HTML Link - 250 characters
Image - Max width 800 pixels, Max height 1000 pixels
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=catalogue

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=catalogue&tag=mugs

JSON Entry

{
"entry_id":"54",
"code":"CODE01",
"title":"Entry title",
"description":"Entry description.",
"HTML_link":"http://www.inzu.net",
"image":"http://media.inzu.net/user/mysite/catalogue/img_54.png",
"date":"1287442800",
"tags":"Tag1, Tag2, Tag3"
}

Contact Feed

The contact feed provides data for a single or multiple contact information pages.

Contents

Title - 200 characters
Contact - 2000 characters
Date - Unix time stamp
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=contact

Call Parameters

entry_id (int) - display a specific entry by stating the entry id
page (int) - currently selected page
page_rows (int) - number of rows per page
latest (boolean) - display the most recently added entry only
select (array) - retrieve only certain fields for speed (comma separated)
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
order (date) (entry_id) - order results by date or entry id, defaults to entry id if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/my_site/my_site.js?api_key={$key}&api_pass={$pass}&zone=contact&latest=true

JSON Entry

{
"entry_id":"1",
"title":"Site support",
"contact":"<p><a href=\"mailto:support@inzu.net\">support@inzu.net</a></p>",
"date":"1309943996",
"tags":"Tag1, Tag2, Tag3"
}

Category Feed

A basic call to retrieve your stores category list. This is not passed in the "product" array.

Contents

Category Name - 100 characters

JSON CALL

http://api.inzu.net/json/account/categories.js?api_key={$key}&api_pass={$pass}

Call Parameters

order (alpha) - if set to "alpha" categories are order alphanumerically

Example:
http://api.inzu.net/json/account/categories.js?api_key={$key}&api_pass={$pass}&order=alpha

JSON Structure

{
"category":["Downloads","Mail Order","Music"]
}

Product Feed

This feed provides you with all the information related to your mail-order and digital products. Please note for products with item variations that the variations appear within the overall product array as part of the item array.

Contents

Category - 50 characters
Product Title - 40 characters
Author - 40 characters
Description - 100 characters
Long Description - 1000 characters
Image - Max width 200 pixels
Image Large - Max width 600 pixels, Max height 800 pixels
Preview - jpg,gif,png,mov,mpg,wmv,avi,mp3,wav,pdf,ppt,doc
Price GBP - Decimal 00.00
Price USD - Decimal 00.00
Shipping N.America GBP - Decimal 00.00
Shipping S.America GBP - Decimal 00.00
Shipping Europe GBP - Decimal 00.00
Shipping Europe GBP - Decimal 00.00
Shipping N.America USD - Decimal 00.00
Shipping S.America USD - Decimal 00.00
Shipping Europe USD - Decimal 00.00
Shipping Europe USD - Decimal 00.00
Stock - Integer
Active - Active=1 Deactivated=0
Pages - Integer (total pages for result)
Tags - 300 characters

JSON CALL

http://api.inzu.net/json/product/product.js?api_key={$key}&api_pass={$pass}

Call Parameters

category (varchar) - display a specific category, spaces replaced with "_"
display (ALL) - display active and deactiavted item if set to "ALL"
item_array (varchar) - display a slection of items based on a comma delimited array e.g 34,466,657
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
page (int) - currently selected page
page_rows (int) - number of rows per page
order (product_title) (sales) (price_uk) (price_us) - defaults to item code if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/product/product.js?api_key={$key}&api_pass={$pass}&category=China_Vases

JSON Entry

{
"product_code":"3554",
"product_img":"http://media.inzu.net/user/images/5296_thumb.png",
"product_img_large":"http://media.inzu.net/user/images/5296_img.png",
"item":[
{
"item_code":"5296",
"title":"Item title",
"variation_name":"Small",
"author":"INZU",
"description":"Short production description",
"long_description":"Long production description",
"image":"http://media.inzu.net/user/images/5296_thumb.png",
"image_large":"http://media.inzu.net/user/images/5296_img.png",
"preview":"http://media.inzu.net/user/previews/preview_3554.jpg",
"price_uk":"30.99",
"price_us":"45.99",
"shipping_namerica_uk":"1.99",
"shipping_samerica_uk":"1.99",
"shipping_europe_uk":"1.99",
"shipping_world_uk":"1.99",
"shipping_namerica_us":"2.99",
"shipping_samerica_us":"2.99",
"shipping_europe_us":"2.99",
"shipping_world_us":"2.99",
"stock":"100",
"pages":"3",
"active":"1",
"tags":"Tag1, Tag2, Tag3"
},
{
"item_code":"5297",
"title":"Item title",
"variation_name":"Medium",
"author":"INZU",
"description":"Short production description",
"long_description":"Long production description",
"image":"http://media.inzu.net/user/images/5296_thumb.png",
"image_large":"http://media.inzu.net/user/images/5296_img.png",
"preview":"http://media.inzu.net/user/previews/preview_3554.jpg",
"price_uk":"30.99",
"price_us":"45.99",
"shipping_namerica_uk":"1.99",
"shipping_samerica_uk":"1.99",
"shipping_europe_uk":"1.99",
"shipping_world_uk":"1.99",
"shipping_namerica_us":"2.99",
"shipping_samerica_us":"2.99",
"shipping_europe_us":"2.99",
"shipping_world_us":"2.99",
"stock":"100",
"pages":"3",
"active":"1",
"tags":"Tag1, Tag2, Tag3"
}
The example above shows an item with variations. Items without variations do not have an array for each item and data for each product is enclosed in a single product array.

Music Release Feed

This feed provides you with all the information related to music release products.

Contents

Track - Integer
Category - 100 characters
Catalogue Number - 100 characters
Release Date - UNIX time stamp
Short Description - 300 characters
Long Description - 850 characters
Image - Max width 600 pixels, Max height 800 pixels
Bundle Title - 250 characters
Bundle Artist - 250 characters
Title - 250 characters
Artists - 250 characters
Credits - 400 characters
Duration minutes - Integer
Duration seconds - Integer
Year - Integer
Preview - mp3
Price GBP - Decimal 00.00
Price USD - Decimal 00.00
Sale - Boolean
Format - CD,Digital,Vinyl
Available formats - CD,Digital,Vinyl

JSON CALL

http://api.inzu.net/json/release/release.js?api_key={$key}&api_pass={$pass}

Call Parameters

category (varchar) - display a spefic category, spaces replaced with "_"
bundlesOnly (boolean) - display only the bundle instead of all the tracks for a release
format (digital) (cd) (vinyl) - display only a particular format
cat_no (varchar) - display only a chosen rlease by a specified catalogue number
item_array (varchar) - display a selection of items based on a comma delimited array e.g 34,466,657
tags (string) - display only entries with matching tag(s) - multiple tags should be comma separated
tagHide (string) - don't retrieve entries with matching tag
search (varchar) - display items based on a search term matched in credits or artists, send spaces as "_"
page (int) - currently selected page
page_rows (int) - number of rows per page
order (date) (title) (sales) (price_uk) (price_us) - defaults to release date if left blank
order_type (ASC) (DESC) - sort entries descending or ascending, used in conjunction with "order" parameter

Example:
http://api.inzu.net/json/release/release.js?api_key={$key}&api_pass={$pass}&search=tina_turner

JSON Entry

{
"product_code":"3569",
"category":"Music",
"cat_no":"INZ001",
"release_date":"1287010800",
"short_description":"Short description",
"long_description":"Long description",
"image":"http://media.inzu.net/user/images/3569_thumb.png",
"image_large":"http://media.inzu.net/user/images/3569_img.png",
"bundle_title":"Bundle title",
"bundle_artist":"INZU",
"format":"Digital",
"format_array":"Digital",
"track":[
{
"number":"bundle",
"item_code":"5339",
"title":"Bundle title",
"artists":"INZU",
"credits":"",
"minutes":"",
"seconds":"",
"year":"2010",
"preview":"null",
"price_uk":"3.99",
"price_us":"4.99",
"sale":"true"
},{
"number":"1",
"item_code":"5337",
"title":"Track 1",
"artists":"INZU",
"credits":"Track credits",
"minutes":"2",
"seconds":"43",
"year":"2010",
"preview":"http://media.inzu.net/user/previews/5337_prv.mp3",
"price_uk":"1.00",
"price_us":"0.70",
"sale":"true"
},{
"number":"2",
"item_code":"5338",
"title":"Track 2",
"artists":"INZU",
"credits":"Track credits",
"minutes":"3",
"seconds":"04",
"year":"2010",
"preview":"http://media.inzu.net/user/previews/5338_prv.mp3",
"price_uk":"1.00",
"price_us":"0.70",
"sale":"true"
}

Cart Feed

This feed is used as quick reference for a users shopping cart to save you having to store all the item info.

Contents

Product Title - 40 characters
Author - 40 characters
Description - 300 characters
Image - Max width 200 pixels
Image Large - Max width 600 pixels, Max height 800 pixels
Preview - jpg,gif,png,mov,mpg,wmv,avi,mp3,wav,pdf,ppt,doc
Price GBP - Decimal 00.00
Price USD - Decimal 00.00
Shipping N.America GBP - Decimal 00.00
Shipping S.America GBP - Decimal 00.00
Shipping Europe GBP - Decimal 00.00
Shipping Europe GBP - Decimal 00.00
Shipping N.America USD - Decimal 00.00
Shipping S.America USD - Decimal 00.00
Shipping Europe USD - Decimal 00.00
Shipping Europe USD - Decimal 00.00
Quantity - Integer

JSON CALL

http://api.inzu.net/json/cart/cart.js?api_key={$key}&api_pass={$pass}

Call Parameters

item_array (varchar) - display a selection of items based on a comma delimited array e.g 34,466,657

Example:
http://api.inzu.net/json/cart/cart.js?api_key={$key}&api_pass={$pass}&item_array=54,54

JSON Entry

{
"product_code":"3569",
"item_code":"5338",
"title":"Track 1",
"author":"INZU",
"description":"Short description",
"image":"http://media.inzu.net/user/images/3569_thumb.png",
"image_large":"http://media.inzu.net/user/images/3569_img.png",
"preview":"null",
"price_uk":"1.00",
"price_us":"0.70",
"shipping_namerica_uk":"0.00",
"shipping_samerica_uk":"0.00",
"shipping_europe_uk":"0.00",
"shipping_world_uk":"0.00",
"shipping_namerica_us":"0.00",
"shipping_samerica_us":"0.00",
"shipping_europe_us":"0.00",
"shipping_world_us":"0.00",
"quantity":"1"
},{
"product_code":"3569",
"item_code":"5339",
"title":"Album",
"author":"INZU",
"description":"Short description",
"image":"http://media.inzu.net/user/images/3569_thumb.png",
"image_large":"http://media.inzu.net/user/images/3569_img.png",
"preview":"null",
"price_uk":"3.99",
"price_us":"4.99",
"shipping_namerica_uk":"0.00",
"shipping_samerica_uk":"0.00",
"shipping_europe_uk":"0.00",
"shipping_world_uk":"0.00",
"shipping_namerica_us":"0.00",
"shipping_samerica_us":"0.00",
"shipping_europe_us":"0.00",
"shipping_world_us":"0.00",
"quantity":"1"
}