( ! ) Warning: get_browser(): browscap ini directive not set in /var/www/vendorama/cart/includes/browser.inc on line 127
Call Stack
#TimeMemoryFunctionLocation
10.0005365224{main}( ).../index.php:0
20.0009365728include_once( '/var/www/vendorama/cart/includes/global.inc' ).../index.php:544
30.0014368008include_once( '/var/www/vendorama/cart/includes/browser.inc' ).../global.inc:82
40.0038381808get_browser ( ).../browser.inc:127
API > API Methods on Vendo

API > API Methods

API Methods

  • /api/product

    DESCRIPTIONPARAMSREQUIRED PARAMSValid URLs
    Update or add a single product in the product table product_id (UNIQUE, primary key)
    price
    fid
    url
    name
    category_id
    created
    updated
    ship_apply_to
    ordering
    image_url
    image_title

    excluding 89 null fields
    api_key
    product_id or sku*

    * Omit product_id and sku to insert a new product. When sku is sent that doesn’t exist a new product is created.
    POST:
    https://.vendo.co.nz/api/product
    add a product
    https://.vendo.co.nz/api/product/1
    update product with product_id 1

    GET:
    https://.vendo.co.nz/api/product/?product_id=1...
    retrieve data for product with product_id 1
    https://.vendo.co.nz/api/product/?sku=ABC123...
    retrieve data for product with sku ABC123

    Remember to also include your API key!
  • /api/products

    The same as /api/product except more than one product may be returned in an array.

  • /api/category

    DESCRIPTIONPARAMSREQUIRED PARAMSValid URLs
    Update or add a single category in the category table category_id (UNIQUE, primary key)
    url
    name
    menu_title
    place
    products
    fid
    layout
    state
    status_id (1=Enabled,2=Enabled but hide menu link,3=Disabled,4=Enabled (Wholesale only),5=Enabled but hide menu link and exclude from search results)
    updated
    created

    excluding 15 null fields
    api_key
    category_id or sku*

    * Omit category_id and sku to insert a new category. When sku is sent that doesn’t exist a new category is created.
    POST:
    https://.vendo.co.nz/api/category
    add a category
    https://.vendo.co.nz/api/category/1
    update category with category_id 1

    GET:
    https://.vendo.co.nz/api/category/?category_id=1...
    retrieve data for category with category_id 1
    https://.vendo.co.nz/api/category/?sku=ABC123...
    retrieve data for category with sku ABC123

    Remember to also include your API key!
  • /api/categories

    The same as /api/category except more than one category may be returned in an array.

  • /api/content or /api/information

    DESCRIPTIONPARAMSREQUIRED PARAMSValid URLs
    Update or add a single information page in the content table content_id (UNIQUE, primary key)
    place
    data
    time
    url
    title
    heading
    menu_title
    section
    enabled (1=Enabled,2=Enabled but hide menu link,3=Disabled,4=Enabled (Wholesale only)

    excluding 8 null fields
    api_key
    content_id*

    * Omit content_id and include title to insert a new information page.
    POST:
    https://.vendo.co.nz/api/content
    add a content
    https://.vendo.co.nz/api/content/1
    update content with content_id 1

    GET:
    https://.vendo.co.nz/api/content/?content_id=1...
    retrieve data for content with content_id 1
    https://.vendo.co.nz/api/content/?sku=ABC123...
    retrieve data for content with sku ABC123

    Remember to also include your API key!