This shows you the differences between two versions of the page.
api_docs [2013/01/28 23:20] cbeley |
api_docs [2013/01/29 00:35] (current) cbeley |
||
---|---|---|---|
Line 98: | Line 98: | ||
| editItem | Contains the id of the item you wish to edit | <code>editItem=42</code> | | | 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> | | | 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> | | + | | 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> | | | name | name for item | <code>name=Pancakes</code> | | ||
| barcode | barcode for item | <code>barcode=abc123</code> | | | barcode | barcode for item | <code>barcode=abc123</code> | | ||
| category | category id for item | <code>category=23</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> | | + | | 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> | | | 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> | | ||