World Class Customer Support

Missingink API

Overview

The Missingink Store Platform allows real time access your store products and settings via a modern RESTful API.

To Do

add authentication add error checking / human friendly status codes

Authentication

coming soon…

Requirements

You’ll need to include the missingink-shop.js class somewhere on your page to utilize the embedded cart functionality.

Endpoints

http://missinginkshop.com/moniker/api/v1/storeinfo

returns store setup options — reserved for later use

http://missinginkshop.com/moniker/api/v1/categories

Returns a list of active store categories Fields: CategoryID : CategoryName


{
"5": "Featured",
"4": "Music",
"3": "Apparel",
"7": "Hats",
"2": "Sale Items",
"1": "Accessories"
}

http://missinginkshop.com/moniker/api/v1/products/category-id

Returns a list of products for a specific category Fields: “nid”: ProductID, “type”: ProductType, “title”: ProductTitle, “body”: ProductDescription, “model”: ProductsUniqueIdentifier, “default_qty”: DefaultAddToCartQty, “unique_hash”: ProductChecksum, “path”: Path used in building links to store, “tags”: Reserved for later use, “publish_date”: Timestamp of product publish date, “realpath”: “Same as Path, “taxonomy”: { “CategoryID”: “CategoryName” }, “image_thumb_path”: Path to product image thumb, “image_path”: Path to product full size image, “sell_price”: ProductPrice, “sale_price”: SalePrice, is exists, otherwise NULL, “digital_sale_price”: Cost of Digital variant, if exists, “cart_form”: Link to add to cart, “status”: 1 = published. 0 = non-published },

http://missinginkshop.com/moniker/api/v1/products

Returns all products currently visible in your store Fields: see /api/v1/categories/id

 
    "64": {
        "post": "2",
        "nid": "64",
        "type": "product",
        "title": "Fan Club Membership",
        "body": "Join the Terri Clark Hat Brats Club and gain access to:\r\n\r\n- Meet & Greet Passes\r\n- Exclusive Fan Club Merchandise\r\n- Pre-sale Opportunities for Upcoming Shows\r\n- Behind-The-Scenes Video Content\r\n- Exclusive Looks at New Music\r\n...and Much, Much More!",
        "teaser": "Join the Terri Clark Hat Brats Club and gain access to:\r\n\r\n- Meet & Greet Passes\r\n- Exclusive Fan Club Merchandise\r\n- Pre-sale Opportunities for Upcoming Shows\r\n- Behind-The-Scenes Video Content\r\n- Exclusive Looks at New Music\r\n...and Much, Much More!",
        "data": "a:1:{s:13:\"form_build_id\";s:37:\"form-995fb90971b0d6a675292a77e4912350\";}",
        "model": "hat-brat-membership",
        "default_qty": "1",
        "unique_hash": "ac79e8afcd90256e6169f0e8296a8ed5",
        "path": "fan-club",
        "realpath": "fan-club",
        "taxonomy": [
            "Featured"
        ],
        "image_thumb_path": "\"\"",
        "image_path": "\"\"",
        "sell_price": "25.00000",
        "sale_price": null,
        "digital_sale_price": null,
        "cart_form": "View Detail<\/a>",
        "status": "1"
    },
    "68": {
        "post": "2",
        "nid": "68",
        "type": "album",
        "title": "Some Songs CD",
        "body": "Track List:\r\n01. Here Comes Crazy\r\n02. Some Songs\r\n03. Longer\r\n04. Don\u2019t Start\r\n05. I Cheated On You\r\n06. Feelin\u2019 Pretty Good Right Now\r\n07. Just Add Water\r\n08. Wheels Down\r\n09. Bad Car\r\n10. Better With My Boots On",
        "teaser": "Track List:\r\n01. Here Comes Crazy\r\n02. Some Songs\r\n03. Longer\r\n04. Don\u2019t Start\r\n05. I Cheated On You\r\n06. Feelin\u2019 Pretty Good Right Now\r\n07. Just Add Water\r\n08. Wheels Down\r\n09. Bad Car\r\n10. Better With My Boots On",
        "data": "a:1:{s:13:\"form_build_id\";s:37:\"form-995fb90971b0d6a675292a77e4912350\";}",
        "model": "SomeSongs_CD",
        "default_qty": "1",
        "unique_hash": "c5239c90465c8081270453973124cbe4",
        "path": "store\/some-songs-autographed",
        "realpath": "store\/some-songs-autographed",
        "taxonomy": [
            "Featured",
            "Music",
            "Featured",
            "Music"
        ],
        "image_thumb_path": "\"\"",
        "image_path": "<img class="\"imagecache" title="\"\"" src="\"https:\/\/missinginkshop.com\/terriclark\/sites\/com.terriclark\/files\/imagecache\/product_full\/Cover_final_72.png\"" alt="\"\"" width="\"550\"" height="\"550\"" />",
        "sell_price": "15.00000",
        "sale_price": null,
        "digital_sale_price": null,
        "cart_form": "View Detail<\/a>",
        "status": "1"
    },


http://missinginkshop.com/moniker/api/v1/product/id

returns a single product Fields: see /api/v1/categories/id

 { "post": "2", "nid": "68", "type": "album", "title": "Some Songs CD", "body": "Track List:\r\n01. Here Comes Crazy\r\n02. Some Songs\r\n03. Longer\r\n04. Don\u2019t Start\r\n05. I Cheated On You\r\n06. Feelin\u2019 Pretty Good Right Now\r\n07. Just Add Water\r\n08. Wheels Down\r\n09. Bad Car\r\n10. Better With My Boots On", "teaser": "Track List:\r\n01. Here Comes Crazy\r\n02. Some Songs\r\n03. Longer\r\n04. Don\u2019t Start\r\n05. I Cheated On You\r\n06. Feelin\u2019 Pretty Good Right Now\r\n07. Just Add Water\r\n08. Wheels Down\r\n09. Bad Car\r\n10. Better With My Boots On", "data": "a:1:{s:13:\"form_build_id\";s:37:\"form-995fb90971b0d6a675292a77e4912350\";}", "model": "SomeSongs_CD", "default_qty": "1", "unique_hash": "c5239c90465c8081270453973124cbe4", "path": "store\/some-songs-autographed", "realpath": "store\/some-songs-autographed", "taxonomy": [ "Featured", "Music", "Featured", "Music" ], "image_thumb_path": "<img class="\"imagecache" title="\"\"" src="\"https:\/\/missinginkshop.com\/terriclark\/sites\/com.terriclark\/files\/imagecache\/product_thumb\/Cover_final_72.png\"" alt="\"\"" width="\"270\"" height="\"270\"" />", "image_path": "<img class="\"imagecache" title="\"\"" src="\"https:\/\/missinginkshop.com\/terriclark\/sites\/com.terriclark\/files\/imagecache\/product_full\/Cover_final_72.png\"" alt="\"\"" width="\"550\"" height="\"550\"" />", "sell_price": "15.00000", "sale_price": null, "digital_sale_price": null, "cart_form": "View Detail<\/a>", "status": "1" }