{"_id":"58112e72ded0340f0085d044","parentDoc":null,"user":"55f2fd49b5b25021002b7dfd","__v":2,"category":{"_id":"58112e72ded0340f0085d031","__v":0,"project":"551e85be610f400d00837db7","version":"58112e71ded0340f0085d02a","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-24T22:11:45.789Z","from_sync":false,"order":5,"slug":"merchant-api","title":"Merchant API"},"githubsync":"","project":"551e85be610f400d00837db7","version":{"_id":"58112e71ded0340f0085d02a","project":"551e85be610f400d00837db7","__v":4,"createdAt":"2016-10-26T22:30:09.862Z","releaseDate":"2016-10-26T22:30:09.862Z","categories":["58112e72ded0340f0085d02b","58112e72ded0340f0085d02c","58112e72ded0340f0085d02d","58112e72ded0340f0085d02e","58112e72ded0340f0085d02f","58112e72ded0340f0085d030","58112e72ded0340f0085d031","58112e72ded0340f0085d032","58112e72ded0340f0085d033","58112e72ded0340f0085d034","581137cc604d3c230048b7e4","58dc367221742d0f00a73f98","590768e54669da0f00db5c0b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"new designer","version_clean":"2.0.0","version":"2.0"},"updates":["5aa934fb3faecd003d3fdd5c","5aa93a943faecd003d3fddf0"],"next":{"pages":[],"description":""},"createdAt":"2015-09-12T15:11:56.814Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"[block:api-header]\n{\n  \"title\": \"Intro to the Merchant API\"\n}\n[/block]\nThe API described in this document applies to the \"merchant\" side of Cratejoy and is useful to merchants and developers looking to write custom scripts or back-end extensions. The Cratejoy Merchant API provides an interface into most of the data and functionality of interest to merchants and developers.\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"Want access to the Merchant API?\",\n  \"body\": \"Admin users can generate API keys from within the merchant dashboard. \\n\\nNon-admin users, like Customer Support or Developers, cannot access this panel. If you need access then please contact your primary store admin to generate an API key for you.\\n\\nAPI generation is done on the \\\"API\\\" page which is found under \\\"Settings\\\" on the main navigation in the merchant dashboard (Warning: Only Admin users on the account can see & access the API page):\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [],\n      \"caption\": \"The API page is found under \\\"Settings\\\" in the main navigation of the merchant dashboard. Only Admin users on the account can see & access the API page\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Do not use your merchant login and password!\",\n  \"body\": \"The API Client ID and Client Secret Key the gets generated for your store will be different from your login and password to my.cratejoy.com.\"\n}\n[/block]","excerpt":"","slug":"introduction-1","type":"basic","title":"Introduction"}
[block:api-header] { "title": "Intro to the Merchant API" } [/block] The API described in this document applies to the "merchant" side of Cratejoy and is useful to merchants and developers looking to write custom scripts or back-end extensions. The Cratejoy Merchant API provides an interface into most of the data and functionality of interest to merchants and developers. [block:callout] { "type": "success", "title": "Want access to the Merchant API?", "body": "Admin users can generate API keys from within the merchant dashboard. \n\nNon-admin users, like Customer Support or Developers, cannot access this panel. If you need access then please contact your primary store admin to generate an API key for you.\n\nAPI generation is done on the \"API\" page which is found under \"Settings\" on the main navigation in the merchant dashboard (Warning: Only Admin users on the account can see & access the API page):" } [/block] [block:image] { "images": [ { "image": [], "caption": "The API page is found under \"Settings\" in the main navigation of the merchant dashboard. Only Admin users on the account can see & access the API page" } ] } [/block] [block:callout] { "type": "warning", "title": "Do not use your merchant login and password!", "body": "The API Client ID and Client Secret Key the gets generated for your store will be different from your login and password to my.cratejoy.com." } [/block]