This shows you the differences between two versions of the page.
api_docs [2012/11/21 23:39] cbeley created |
api_docs [2013/01/29 00:35] (current) cbeley |
||
---|---|---|---|
Line 94: | Line 94: | ||
| itemsWanted | Limit the amount of returned results. | <code>search=true&attributeValues[]=red&itemsWanted=5</code> | | | itemsWanted | Limit the amount of returned results. | <code>search=true&attributeValues[]=red&itemsWanted=5</code> | | ||
- | ==== Item Manipulation ==== | + | ==== Item Manipulation & Creation ==== |
- | Coming Soon! | + | ^ Operation^ Description^ Example^ |
+ | | editItem | Contains the id of the item you wish to edit | <code>editItem=42</code> | | ||
+ | | newItem | Use when you want to make a new item | <code>newItem=true</code> | | ||
+ | | attributeTitles[] | titles of attributes you wish to modify or add. Must combine with attributeValues! | <code>attributeTitles[]=Color&attributeValues[]=Red&attributeTitles[]=Shape&attributeValues[]=Square</code> | | ||
+ | | name | name for item | <code>name=Pancakes</code> | | ||
+ | | barcode | barcode for item | <code>barcode=abc123</code> | | ||
+ | | category | category id for item | <code>category=23</code> | | ||
+ | | links[] | array of item ids to link to this item | <code>links[]=23&links[]=53&links[]=42</code> | | ||
+ | | itemType | Item Type Id for item | <code>itemType=11</code> | | ||
+ | | deleteAttributes[] | Titles of attributes you wish to remove from the item | <code>deleteAttributes[]=Color&deleteAttributes[]=Shape</code> | | ||