Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 47fd473fa4
Fetching contributors…

Cannot retrieve contributors at this time

file 72 lines (65 sloc) 3.791 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
<?xml version="1.0" encoding="UTF-8"?>
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
    <meta>
        <author>Christian Taylor</author>
        <documentationURL>http://www.payvment.com/developer/</documentationURL>
<description>Shopping Cart can be used for selling your own products. "Select" returns shopping cart, "Insert" adds an item to the cart, "Update" modifies an item and "Delete" removes an item.</description>
<sampleQuery>select * from {table} where apiKey="{apiKey}" and cartID="{cartID}"</sampleQuery>
<sampleQuery>insert into {table} (apiKey,cartID,payvmentID,itemID,itemName,itemPrice) values ("{apiKey}", "{cartID}", "{payvmentID}", "shirt001","Polo Shirt","16.50")</sampleQuery>

<sampleQuery>update {table} set itemQty="{itemQty}" where apiKey="{apiKey}" and cartID="{cartID}" and itemID="{itemID}" and retailerID="{relatilerID}"</sampleQuery>
<sampleQuery>delete from {table} where apiKey="{apiKey}" and cartID="{cartID}" and itemID="{itemID}" and retailerID="{relatilerID}"</sampleQuery>
    </meta>
      <bindings>
        <select itemPath="cartfeed" produces="XML">
          <urls>
            <url env="all">http://api.payvment.com/rest/</url>

          </urls>
          <inputs>
                <key id="apiKey" type="xs:string" paramType="query" required="true"/>
<key id="cartID" type="xs:string" paramType="query" required="false"/>
          </inputs>
        </select>
<insert itemPath="cartfeed" produces="XML">
          <urls>
            <url env="all">http://api.payvment.com/rest/?command=addStoreItem</url>

          </urls>
          <inputs>
                <key id="apiKey" type="xs:string" paramType="query" required="true"/>
<key id="cartID" type="xs:string" paramType="query" required="true"/>
<value id="payvmentID" type="xs:string" paramType="query" required="true"/>
<value id="itemID" type="xs:string" paramType="query" required="true"/>
<value id="itemName" type="xs:string" paramType="query" required="true"/>
<value id="itemPrice" type="xs:string" paramType="query" required="true"/>
<value id="itemQty" type="xs:string" paramType="query" required="false"/>

<value id="itemShipping" type="xs:string" paramType="query" required="false"/>
<value id="itemNoShip" type="xs:string" paramType="query" required="false"/>
<value id="itemUrl" type="xs:string" paramType="query" required="false"/>
<value id="itemOption1" type="xs:string" paramType="query" required="false"/>
<value id="itemOption2" type="xs:string" paramType="query" required="false"/>
          </inputs>
        </insert>
<update itemPath="cartfeed" produces="XML">
          <urls>

            <url>http://api.payvment.com/rest/?command=updateStoreItem</url>
          </urls>
          <inputs>
                <key id="apiKey" type="xs:string" paramType="query" required="true"/>
<key id="cartID" type="xs:string" paramType="query" required="true"/>
<key id="itemID" type="xs:string" paramType="query" required="true"/>
<value id="itemQty" type="xs:string" paramType="query" required="true"/>
<key id="retailerID" type="xs:string" paramType="query" required="true"/>

          </inputs>
        </update>
<delete itemPath="cartfeed" produces="XML">
          <urls>
            <url env="all">http://api.payvment.com/rest/?command=deleteStoreItem</url>
          </urls>
          <inputs>
                <key id="apiKey" type="xs:string" paramType="query" required="true"/>

<key id="cartID" type="xs:string" paramType="query" required="true"/>
<key id="itemID" type="xs:string" paramType="query" required="true"/>
<key id="retailerID" type="xs:string" paramType="query" required="true"/>
          </inputs>
        </delete>
      </bindings>
</table>
Something went wrong with that request. Please try again.