{"basePath":"/","info":{"title":"Fishry Public APIs Documentation","version":"0.1","description":"Fishry Admin APIs are used in the Admin Panel to perform all sorts of operations on the data of a particular store."},"host":"0.0.0.0:8015","schemes":["http"],"swagger":"2.0","tags":[],"paths":{"/tables/collection":{"get":{"operationId":"getTablesCollection","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"array","description":"Table column names to be sent as an array e.g. <br/>\n<pre>[ 'id', 'name', 'age' ]</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, either leave the field set to the default value \nor write a column name per line e.g. <br/></span>\n<pre>\nid\nname\nage\n</pre>","x-meta":{"disableDropdown":true},"default":"*","items":{"type":"string"},"collectionFormat":"multi","name":"columns","in":"query"},{"type":"array","description":"Where clause to be sent as array of objects. <br/>\nEach separate object will translate to OR clause inbetween. <br/>\nFor AND clause, columns (object properties) should be sent in the same object. e.g. \n<pre style=\"font-weight:normal\">\n[\n\t{\n\t\tstoreID: '123', \n\t\tabc: [234, 123] \n\t}, \n\t{\n\t\tid: 123\n\t} \n]\n</pre>\nwill become \n<pre style=\"font-weight:normal\">\n(storeID = '123' AND (abc = 234 AND abc = 123)) \nOR \n(id = 123)\n</pre>\n<span style=\"color: red\">Note: </span>Use the <a href=\"https://www.npmjs.com/package/qs\" target=\"_blank\">Qs (query string)</a> \nlibrary available at npm to stringify these parameters. <br/><br/>\n<span style=\"font-weight:bold\">FOR SWAGGER USAGE</span><br/>\nSince swagger uses a different way of sending these paramters, if you wish to test the API you will have to provide the \nparameters in a different way. <br/> \nEach line is a separate object in the array. <br/>\nFor multiple properties in the same object use <span style=\"color:green\">/@$/</span> as the splitter/delimiter \nbetween properties. e.g. <br/>\n<span style=\"font-style:italic; font-weight:normal\">(Due to restrictions of swagger, we can't send an \narray within the object as we did in the example above)<br/></span>\n<pre style=\"font-weight:normal\">\n[storeID]=123/@$/[abc]=234\n[id]=123\n</pre>","items":{"type":"string"},"collectionFormat":"multi","name":"where","in":"query","required":true},{"type":"array","description":"orderBy is to be sent as an array of two elements. The first element will be an array of strings. <br/>\nThese strings specify the column names to sort the results by, whereas the second element of the original array \nwill specify the order sequence. e.g. <br/>\n<pre>\n[\n\t['__createdAt', 'id'],\n\t'DESC'\n]\n</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, leave the field set to the default value(s).</span>\n","default":[["__createdAt"],"DESC"],"items":{"type":"string"},"collectionFormat":"multi","name":"orderBy","in":"query"},{"type":"number","description":"take specifies the number of records to extract from the table.","default":0,"minimum":0,"name":"take","in":"query"},{"type":"number","description":"skip specifies the number of records to skip before taking the required records from the table.","default":0,"minimum":0,"name":"skip","in":"query"}],"tags":["tables/collection"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"post":{"operationId":"postTablesCollection","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model33"}}],"tags":["tables/collection"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/customer":{"get":{"operationId":"getTablesCustomer","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"array","description":"Table column names to be sent as an array e.g. <br/>\n<pre>[ 'id', 'name', 'age' ]</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, either leave the field set to the default value \nor write a column name per line e.g. <br/></span>\n<pre>\nid\nname\nage\n</pre>","x-meta":{"disableDropdown":true},"default":"*","items":{"type":"string"},"collectionFormat":"multi","name":"columns","in":"query"},{"type":"array","description":"Where clause to be sent as array of objects. <br/>\nEach separate object will translate to OR clause inbetween. <br/>\nFor AND clause, columns (object properties) should be sent in the same object. e.g. \n<pre style=\"font-weight:normal\">\n[\n\t{\n\t\tstoreID: '123', \n\t\tabc: [234, 123] \n\t}, \n\t{\n\t\tid: 123\n\t} \n]\n</pre>\nwill become \n<pre style=\"font-weight:normal\">\n(storeID = '123' AND (abc = 234 AND abc = 123)) \nOR \n(id = 123)\n</pre>\n<span style=\"color: red\">Note: </span>Use the <a href=\"https://www.npmjs.com/package/qs\" target=\"_blank\">Qs (query string)</a> \nlibrary available at npm to stringify these parameters. <br/><br/>\n<span style=\"font-weight:bold\">FOR SWAGGER USAGE</span><br/>\nSince swagger uses a different way of sending these paramters, if you wish to test the API you will have to provide the \nparameters in a different way. <br/> \nEach line is a separate object in the array. <br/>\nFor multiple properties in the same object use <span style=\"color:green\">/@$/</span> as the splitter/delimiter \nbetween properties. e.g. <br/>\n<span style=\"font-style:italic; font-weight:normal\">(Due to restrictions of swagger, we can't send an \narray within the object as we did in the example above)<br/></span>\n<pre style=\"font-weight:normal\">\n[storeID]=123/@$/[abc]=234\n[id]=123\n</pre>","items":{"type":"string"},"collectionFormat":"multi","name":"where","in":"query","required":true},{"type":"array","description":"orderBy is to be sent as an array of two elements. The first element will be an array of strings. <br/>\nThese strings specify the column names to sort the results by, whereas the second element of the original array \nwill specify the order sequence. e.g. <br/>\n<pre>\n[\n\t['__createdAt', 'id'],\n\t'DESC'\n]\n</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, leave the field set to the default value(s).</span>\n","default":[["__createdAt"],"DESC"],"items":{"type":"string"},"collectionFormat":"multi","name":"orderBy","in":"query"},{"type":"number","description":"take specifies the number of records to extract from the table.","default":0,"minimum":0,"name":"take","in":"query"},{"type":"number","description":"skip specifies the number of records to skip before taking the required records from the table.","default":0,"minimum":0,"name":"skip","in":"query"}],"tags":["tables/customer"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"post":{"operationId":"postTablesCustomer","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model35"}}],"tags":["tables/customer"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/order":{"get":{"operationId":"getTablesOrder","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"array","description":"Table column names to be sent as an array e.g. <br/>\n<pre>[ 'id', 'name', 'age' ]</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, either leave the field set to the default value \nor write a column name per line e.g. <br/></span>\n<pre>\nid\nname\nage\n</pre>","x-meta":{"disableDropdown":true},"default":"*","items":{"type":"string"},"collectionFormat":"multi","name":"columns","in":"query"},{"type":"array","description":"Where clause to be sent as array of objects. <br/>\nEach separate object will translate to OR clause inbetween. <br/>\nFor AND clause, columns (object properties) should be sent in the same object. e.g. \n<pre style=\"font-weight:normal\">\n[\n\t{\n\t\tstoreID: '123', \n\t\tabc: [234, 123] \n\t}, \n\t{\n\t\tid: 123\n\t} \n]\n</pre>\nwill become \n<pre style=\"font-weight:normal\">\n(storeID = '123' AND (abc = 234 AND abc = 123)) \nOR \n(id = 123)\n</pre>\n<span style=\"color: red\">Note: </span>Use the <a href=\"https://www.npmjs.com/package/qs\" target=\"_blank\">Qs (query string)</a> \nlibrary available at npm to stringify these parameters. <br/><br/>\n<span style=\"font-weight:bold\">FOR SWAGGER USAGE</span><br/>\nSince swagger uses a different way of sending these paramters, if you wish to test the API you will have to provide the \nparameters in a different way. <br/> \nEach line is a separate object in the array. <br/>\nFor multiple properties in the same object use <span style=\"color:green\">/@$/</span> as the splitter/delimiter \nbetween properties. e.g. <br/>\n<span style=\"font-style:italic; font-weight:normal\">(Due to restrictions of swagger, we can't send an \narray within the object as we did in the example above)<br/></span>\n<pre style=\"font-weight:normal\">\n[storeID]=123/@$/[abc]=234\n[id]=123\n</pre>","items":{"type":"string"},"collectionFormat":"multi","name":"where","in":"query","required":true},{"type":"array","description":"orderBy is to be sent as an array of two elements. The first element will be an array of strings. <br/>\nThese strings specify the column names to sort the results by, whereas the second element of the original array \nwill specify the order sequence. e.g. <br/>\n<pre>\n[\n\t['__createdAt', 'id'],\n\t'DESC'\n]\n</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, leave the field set to the default value(s).</span>\n","default":[["__createdAt"],"DESC"],"items":{"type":"string"},"collectionFormat":"multi","name":"orderBy","in":"query"},{"type":"number","description":"take specifies the number of records to extract from the table.","default":0,"minimum":0,"name":"take","in":"query"},{"type":"number","description":"skip specifies the number of records to skip before taking the required records from the table.","default":0,"minimum":0,"name":"skip","in":"query"}],"tags":["tables/order"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/product":{"get":{"operationId":"getTablesProduct","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"array","description":"Table column names to be sent as an array e.g. <br/>\n<pre>[ 'id', 'name', 'age' ]</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, either leave the field set to the default value \nor write a column name per line e.g. <br/></span>\n<pre>\nid\nname\nage\n</pre>","x-meta":{"disableDropdown":true},"default":"*","items":{"type":"string"},"collectionFormat":"multi","name":"columns","in":"query"},{"type":"array","description":"Where clause to be sent as array of objects. <br/>\nEach separate object will translate to OR clause inbetween. <br/>\nFor AND clause, columns (object properties) should be sent in the same object. e.g. \n<pre style=\"font-weight:normal\">\n[\n\t{\n\t\tstoreID: '123', \n\t\tabc: [234, 123] \n\t}, \n\t{\n\t\tid: 123\n\t} \n]\n</pre>\nwill become \n<pre style=\"font-weight:normal\">\n(storeID = '123' AND (abc = 234 AND abc = 123)) \nOR \n(id = 123)\n</pre>\n<span style=\"color: red\">Note: </span>Use the <a href=\"https://www.npmjs.com/package/qs\" target=\"_blank\">Qs (query string)</a> \nlibrary available at npm to stringify these parameters. <br/><br/>\n<span style=\"font-weight:bold\">FOR SWAGGER USAGE</span><br/>\nSince swagger uses a different way of sending these paramters, if you wish to test the API you will have to provide the \nparameters in a different way. <br/> \nEach line is a separate object in the array. <br/>\nFor multiple properties in the same object use <span style=\"color:green\">/@$/</span> as the splitter/delimiter \nbetween properties. e.g. <br/>\n<span style=\"font-style:italic; font-weight:normal\">(Due to restrictions of swagger, we can't send an \narray within the object as we did in the example above)<br/></span>\n<pre style=\"font-weight:normal\">\n[storeID]=123/@$/[abc]=234\n[id]=123\n</pre>","items":{"type":"string"},"collectionFormat":"multi","name":"where","in":"query","required":true},{"type":"array","description":"orderBy is to be sent as an array of two elements. The first element will be an array of strings. <br/>\nThese strings specify the column names to sort the results by, whereas the second element of the original array \nwill specify the order sequence. e.g. <br/>\n<pre>\n[\n\t['__createdAt', 'id'],\n\t'DESC'\n]\n</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, leave the field set to the default value(s).</span>\n","default":[["__createdAt"],"DESC"],"items":{"type":"string"},"collectionFormat":"multi","name":"orderBy","in":"query"},{"type":"number","description":"take specifies the number of records to extract from the table.","default":0,"minimum":0,"name":"take","in":"query"},{"type":"number","description":"skip specifies the number of records to skip before taking the required records from the table.","default":0,"minimum":0,"name":"skip","in":"query"}],"tags":["tables/product"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"post":{"operationId":"postTablesProduct","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model37"}}],"tags":["tables/product"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/product_vendor":{"get":{"operationId":"getTablesProduct_vendor","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"array","description":"Table column names to be sent as an array e.g. <br/>\n<pre>[ 'id', 'name', 'age' ]</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, either leave the field set to the default value \nor write a column name per line e.g. <br/></span>\n<pre>\nid\nname\nage\n</pre>","x-meta":{"disableDropdown":true},"default":"*","items":{"type":"string"},"collectionFormat":"multi","name":"columns","in":"query"},{"type":"array","description":"Where clause to be sent as array of objects. <br/>\nEach separate object will translate to OR clause inbetween. <br/>\nFor AND clause, columns (object properties) should be sent in the same object. e.g. \n<pre style=\"font-weight:normal\">\n[\n\t{\n\t\tstoreID: '123', \n\t\tabc: [234, 123] \n\t}, \n\t{\n\t\tid: 123\n\t} \n]\n</pre>\nwill become \n<pre style=\"font-weight:normal\">\n(storeID = '123' AND (abc = 234 AND abc = 123)) \nOR \n(id = 123)\n</pre>\n<span style=\"color: red\">Note: </span>Use the <a href=\"https://www.npmjs.com/package/qs\" target=\"_blank\">Qs (query string)</a> \nlibrary available at npm to stringify these parameters. <br/><br/>\n<span style=\"font-weight:bold\">FOR SWAGGER USAGE</span><br/>\nSince swagger uses a different way of sending these paramters, if you wish to test the API you will have to provide the \nparameters in a different way. <br/> \nEach line is a separate object in the array. <br/>\nFor multiple properties in the same object use <span style=\"color:green\">/@$/</span> as the splitter/delimiter \nbetween properties. e.g. <br/>\n<span style=\"font-style:italic; font-weight:normal\">(Due to restrictions of swagger, we can't send an \narray within the object as we did in the example above)<br/></span>\n<pre style=\"font-weight:normal\">\n[storeID]=123/@$/[abc]=234\n[id]=123\n</pre>","items":{"type":"string"},"collectionFormat":"multi","name":"where","in":"query","required":true},{"type":"array","description":"orderBy is to be sent as an array of two elements. The first element will be an array of strings. <br/>\nThese strings specify the column names to sort the results by, whereas the second element of the original array \nwill specify the order sequence. e.g. <br/>\n<pre>\n[\n\t['__createdAt', 'id'],\n\t'DESC'\n]\n</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, leave the field set to the default value(s).</span>\n","default":[["__createdAt"],"DESC"],"items":{"type":"string"},"collectionFormat":"multi","name":"orderBy","in":"query"},{"type":"number","description":"take specifies the number of records to extract from the table.","default":0,"minimum":0,"name":"take","in":"query"},{"type":"number","description":"skip specifies the number of records to skip before taking the required records from the table.","default":0,"minimum":0,"name":"skip","in":"query"}],"tags":["tables/product_vendor"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/settings_domain":{"get":{"operationId":"getTablesSettings_domain","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"array","description":"Table column names to be sent as an array e.g. <br/>\n<pre>[ 'id', 'name', 'age' ]</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, either leave the field set to the default value \nor write a column name per line e.g. <br/></span>\n<pre>\nid\nname\nage\n</pre>","x-meta":{"disableDropdown":true},"default":"*","items":{"type":"string"},"collectionFormat":"multi","name":"columns","in":"query"},{"type":"array","description":"Where clause to be sent as array of objects. <br/>\nEach separate object will translate to OR clause inbetween. <br/>\nFor AND clause, columns (object properties) should be sent in the same object. e.g. \n<pre style=\"font-weight:normal\">\n[\n\t{\n\t\tstoreID: '123', \n\t\tabc: [234, 123] \n\t}, \n\t{\n\t\tid: 123\n\t} \n]\n</pre>\nwill become \n<pre style=\"font-weight:normal\">\n(storeID = '123' AND (abc = 234 AND abc = 123)) \nOR \n(id = 123)\n</pre>\n<span style=\"color: red\">Note: </span>Use the <a href=\"https://www.npmjs.com/package/qs\" target=\"_blank\">Qs (query string)</a> \nlibrary available at npm to stringify these parameters. <br/><br/>\n<span style=\"font-weight:bold\">FOR SWAGGER USAGE</span><br/>\nSince swagger uses a different way of sending these paramters, if you wish to test the API you will have to provide the \nparameters in a different way. <br/> \nEach line is a separate object in the array. <br/>\nFor multiple properties in the same object use <span style=\"color:green\">/@$/</span> as the splitter/delimiter \nbetween properties. e.g. <br/>\n<span style=\"font-style:italic; font-weight:normal\">(Due to restrictions of swagger, we can't send an \narray within the object as we did in the example above)<br/></span>\n<pre style=\"font-weight:normal\">\n[storeID]=123/@$/[abc]=234\n[id]=123\n</pre>","items":{"type":"string"},"collectionFormat":"multi","name":"where","in":"query","required":true},{"type":"array","description":"orderBy is to be sent as an array of two elements. The first element will be an array of strings. <br/>\nThese strings specify the column names to sort the results by, whereas the second element of the original array \nwill specify the order sequence. e.g. <br/>\n<pre>\n[\n\t['__createdAt', 'id'],\n\t'DESC'\n]\n</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, leave the field set to the default value(s).</span>\n","default":[["__createdAt"],"DESC"],"items":{"type":"string"},"collectionFormat":"multi","name":"orderBy","in":"query"},{"type":"number","description":"take specifies the number of records to extract from the table.","default":0,"minimum":0,"name":"take","in":"query"},{"type":"number","description":"skip specifies the number of records to skip before taking the required records from the table.","default":0,"minimum":0,"name":"skip","in":"query"}],"tags":["tables/settings_domain"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"post":{"operationId":"postTablesSettings_domain","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model39"}}],"tags":["tables/settings_domain"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/settings_general":{"get":{"operationId":"getTablesSettings_general","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"array","description":"Table column names to be sent as an array e.g. <br/>\n<pre>[ 'id', 'name', 'age' ]</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, either leave the field set to the default value \nor write a column name per line e.g. <br/></span>\n<pre>\nid\nname\nage\n</pre>","x-meta":{"disableDropdown":true},"default":"*","items":{"type":"string"},"collectionFormat":"multi","name":"columns","in":"query"},{"type":"array","description":"Where clause to be sent as array of objects. <br/>\nEach separate object will translate to OR clause inbetween. <br/>\nFor AND clause, columns (object properties) should be sent in the same object. e.g. \n<pre style=\"font-weight:normal\">\n[\n\t{\n\t\tstoreID: '123', \n\t\tabc: [234, 123] \n\t}, \n\t{\n\t\tid: 123\n\t} \n]\n</pre>\nwill become \n<pre style=\"font-weight:normal\">\n(storeID = '123' AND (abc = 234 AND abc = 123)) \nOR \n(id = 123)\n</pre>\n<span style=\"color: red\">Note: </span>Use the <a href=\"https://www.npmjs.com/package/qs\" target=\"_blank\">Qs (query string)</a> \nlibrary available at npm to stringify these parameters. <br/><br/>\n<span style=\"font-weight:bold\">FOR SWAGGER USAGE</span><br/>\nSince swagger uses a different way of sending these paramters, if you wish to test the API you will have to provide the \nparameters in a different way. <br/> \nEach line is a separate object in the array. <br/>\nFor multiple properties in the same object use <span style=\"color:green\">/@$/</span> as the splitter/delimiter \nbetween properties. e.g. <br/>\n<span style=\"font-style:italic; font-weight:normal\">(Due to restrictions of swagger, we can't send an \narray within the object as we did in the example above)<br/></span>\n<pre style=\"font-weight:normal\">\n[storeID]=123/@$/[abc]=234\n[id]=123\n</pre>","items":{"type":"string"},"collectionFormat":"multi","name":"where","in":"query","required":true},{"type":"array","description":"orderBy is to be sent as an array of two elements. The first element will be an array of strings. <br/>\nThese strings specify the column names to sort the results by, whereas the second element of the original array \nwill specify the order sequence. e.g. <br/>\n<pre>\n[\n\t['__createdAt', 'id'],\n\t'DESC'\n]\n</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, leave the field set to the default value(s).</span>\n","default":[["__createdAt"],"DESC"],"items":{"type":"string"},"collectionFormat":"multi","name":"orderBy","in":"query"},{"type":"number","description":"take specifies the number of records to extract from the table.","default":0,"minimum":0,"name":"take","in":"query"},{"type":"number","description":"skip specifies the number of records to skip before taking the required records from the table.","default":0,"minimum":0,"name":"skip","in":"query"}],"tags":["tables/settings_general"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/settings_location":{"get":{"operationId":"getTablesSettings_location","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"array","description":"Table column names to be sent as an array e.g. <br/>\n<pre>[ 'id', 'name', 'age' ]</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, either leave the field set to the default value \nor write a column name per line e.g. <br/></span>\n<pre>\nid\nname\nage\n</pre>","x-meta":{"disableDropdown":true},"default":"*","items":{"type":"string"},"collectionFormat":"multi","name":"columns","in":"query"},{"type":"array","description":"Where clause to be sent as array of objects. <br/>\nEach separate object will translate to OR clause inbetween. <br/>\nFor AND clause, columns (object properties) should be sent in the same object. e.g. \n<pre style=\"font-weight:normal\">\n[\n\t{\n\t\tstoreID: '123', \n\t\tabc: [234, 123] \n\t}, \n\t{\n\t\tid: 123\n\t} \n]\n</pre>\nwill become \n<pre style=\"font-weight:normal\">\n(storeID = '123' AND (abc = 234 AND abc = 123)) \nOR \n(id = 123)\n</pre>\n<span style=\"color: red\">Note: </span>Use the <a href=\"https://www.npmjs.com/package/qs\" target=\"_blank\">Qs (query string)</a> \nlibrary available at npm to stringify these parameters. <br/><br/>\n<span style=\"font-weight:bold\">FOR SWAGGER USAGE</span><br/>\nSince swagger uses a different way of sending these paramters, if you wish to test the API you will have to provide the \nparameters in a different way. <br/> \nEach line is a separate object in the array. <br/>\nFor multiple properties in the same object use <span style=\"color:green\">/@$/</span> as the splitter/delimiter \nbetween properties. e.g. <br/>\n<span style=\"font-style:italic; font-weight:normal\">(Due to restrictions of swagger, we can't send an \narray within the object as we did in the example above)<br/></span>\n<pre style=\"font-weight:normal\">\n[storeID]=123/@$/[abc]=234\n[id]=123\n</pre>","items":{"type":"string"},"collectionFormat":"multi","name":"where","in":"query","required":true},{"type":"array","description":"orderBy is to be sent as an array of two elements. The first element will be an array of strings. <br/>\nThese strings specify the column names to sort the results by, whereas the second element of the original array \nwill specify the order sequence. e.g. <br/>\n<pre>\n[\n\t['__createdAt', 'id'],\n\t'DESC'\n]\n</pre>\n<span style=\"font-style:italic; font-weight:normal\">For usage within swagger, leave the field set to the default value(s).</span>\n","default":[["__createdAt"],"DESC"],"items":{"type":"string"},"collectionFormat":"multi","name":"orderBy","in":"query"},{"type":"number","description":"take specifies the number of records to extract from the table.","default":0,"minimum":0,"name":"take","in":"query"},{"type":"number","description":"skip specifies the number of records to skip before taking the required records from the table.","default":0,"minimum":0,"name":"skip","in":"query"}],"tags":["tables/settings_location"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"post":{"operationId":"postTablesSettings_location","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model41"}}],"tags":["tables/settings_location"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/collection/{id}":{"get":{"operationId":"getTablesCollectionId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true}],"tags":["tables/collection"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"put":{"operationId":"putTablesCollectionId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model10"}}],"tags":["tables/collection"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"delete":{"operationId":"deleteTablesCollectionId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"type":"string","description":"Collection name","name":"subjectName","in":"query","required":true}],"tags":["tables/collection"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/customer/{id}":{"get":{"operationId":"getTablesCustomerId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true}],"tags":["tables/customer"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"put":{"operationId":"putTablesCustomerId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model12"}}],"tags":["tables/customer"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/order/{id}":{"get":{"operationId":"getTablesOrderId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true}],"tags":["tables/order"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"put":{"operationId":"putTablesOrderId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model15"}}],"tags":["tables/order"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/product/{id}":{"get":{"operationId":"getTablesProductId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true}],"tags":["tables/product"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"put":{"operationId":"putTablesProductId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model19"}}],"tags":["tables/product"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"delete":{"operationId":"deleteTablesProductId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"type":"string","description":"Product name","name":"subjectName","in":"query","required":true}],"tags":["tables/product"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/product_vendor/{id}":{"get":{"operationId":"getTablesProduct_vendorId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true}],"tags":["tables/product_vendor"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/settings_domain/{id}":{"get":{"operationId":"getTablesSettings_domainId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true}],"tags":["tables/settings_domain"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"put":{"operationId":"putTablesSettings_domainId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model21"}}],"tags":["tables/settings_domain"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"delete":{"operationId":"deleteTablesSettings_domainId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"type":"string","default":"Domain Settings","name":"subjectName","in":"query"}],"tags":["tables/settings_domain"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/settings_location/{id}":{"get":{"operationId":"getTablesSettings_locationId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true}],"tags":["tables/settings_location"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"put":{"operationId":"putTablesSettings_locationId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model25"}}],"tags":["tables/settings_location"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}},"delete":{"operationId":"deleteTablesSettings_locationId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"type":"string","description":"Location name","name":"subjectName","in":"query","required":true}],"tags":["tables/settings_location"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/api/product/bulk":{"put":{"operationId":"putApiProductBulk","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model2"}}],"tags":["api/product"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/api/product/bulk-update-by-external-id":{"put":{"summary":"Bulk update products by their external_candela_id. This API allows you to update multiple products at once using their external IDs from Candela system. Only provided fields will be updated for each product.","operationId":"putApiProductBulkupdatebyexternalid","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model7"}}],"tags":["api/product"],"responses":{"200":{"schema":{"$ref":"#/definitions/BulkUpdateResult"},"description":"Successful"}}}},"/tables/product/bulk":{"put":{"operationId":"putTablesProductBulk","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model17"}}],"tags":["tables/product"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/tables/settings_general/{id}":{"put":{"operationId":"putTablesSettings_generalId","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"IP Address from which the user is accessing the admin panel","x-format":{"ip":{"cidr":"optional"}},"name":"ipaddress","in":"header","required":true},{"type":"string","description":"Platform the user is currently using, e.g. 'Web'. 'Android', 'iOS'","name":"platform","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"type":"string","description":"id of the record","minLength":36,"maxLength":36,"name":"id","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model23"}}],"tags":["tables/settings_general"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/api/product/update-by-external-id/{externalCandelaId}":{"put":{"summary":"Update a product by its external_candela_id. This API allows you to update products using the external ID from Candela system. Only provided fields will be updated.","operationId":"putApiProductUpdatebyexternalidExternalcandelaid","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in","name":"authorization","in":"header","required":true},{"type":"string","description":"External Candela ID to identify the product","name":"externalCandelaId","in":"path","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model31"}}],"tags":["api/product"],"responses":{"200":{"schema":{"$ref":"#/definitions/ProductUpdateResult"},"description":"Successful"}}}},"/api/login":{"post":{"summary":"Use this API to login to Fishry's Admin Panel. It will return an authToken and user data","operationId":"postApiLogin","parameters":[{"type":"string","description":"Email of the user","x-format":{"email":true},"name":"email","in":"formData","required":true},{"type":"string","description":"Password of the user","minLength":3,"name":"password","in":"formData","required":true},{"type":"string","description":"StoreID of the store, which is unique","minLength":36,"maxLength":36,"name":"storeID","in":"formData","required":true},{"type":"string","description":"Name of an app, which store is going to install to verify if that app exists","minLength":3,"name":"appName","in":"formData","required":true},{"type":"array","description":"Scope of an app, means things this app going to access e.g. 'readOrder', 'writeOrder","items":{"type":"string","enum":["readOrder","writeOrder","readCustomer","writeCustomer","readLocation","writeLocation","readProduct","writeProduct","readGeneralSettings","writeGeneralSettings","readProductVendor"]},"collectionFormat":"multi","name":"appScope","in":"formData","required":true}],"consumes":["application/x-www-form-urlencoded"],"tags":["api/login"],"responses":{"200":{"schema":{"$ref":"#/definitions/Result"},"description":"Successful"}}}},"/api/login-simple":{"post":{"summary":"Simple login API without bearer token requirement. Returns user data and session info","operationId":"postApiLoginsimple","parameters":[{"type":"string","description":"Email of the user","x-format":{"email":true},"name":"email","in":"formData","required":true},{"type":"string","description":"Password of the user","minLength":3,"name":"password","in":"formData","required":true},{"type":"string","description":"StoreID of the store, which is unique","minLength":36,"maxLength":36,"name":"storeID","in":"formData","required":true},{"type":"string","description":"Name of an app, which store is going to install to verify if that app exists","minLength":3,"name":"appName","in":"formData","required":true},{"type":"array","description":"Scope of an app, means things this app going to access e.g. 'readOrder', 'writeOrder","items":{"type":"string","enum":["readOrder","writeOrder","readCustomer","writeCustomer","readLocation","writeLocation","readProduct","writeProduct","readGeneralSettings","writeGeneralSettings","readProductVendor"]},"collectionFormat":"multi","name":"appScope","in":"formData","required":true}],"consumes":["application/x-www-form-urlencoded"],"tags":["api/login-simple"],"responses":{"200":{"schema":{"$ref":"#/definitions/Result"},"description":"Successful"}}}},"/api/order/status-change":{"post":{"summary":"Update order status using written status names. This API automatically detects the current order status and maps the requested status name to system statuses. <br/><br/>\n\t\t\t<strong>Status Mapping:</strong><br/>\n\t\t\t• <strong>PENDING</strong> → Open (when order is created)<br/>\n\t\t\t• <strong>ACCEPTED</strong> → Verified (when order is accepted)<br/>\n\t\t\t• <strong>DISPATCHED</strong> → Processed (when order is dispatched)<br/>\n\t\t\t• <strong>DELIVERED</strong> → Fulfilled (when order is delivered)<br/><br/>\n\t\t\tThe current status is automatically detected from the order record - you only need to send the target status.","operationId":"postApiOrderStatuschange","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model42"}}],"tags":["api/order"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}},"/api/product/bulk-import":{"post":{"summary":"Bulk import products from external format. This API transforms external product structure (with modifiers) to internal format (with addons) and creates multiple products at once.","operationId":"postApiProductBulkimport","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model50"}}],"tags":["api/product"],"responses":{"200":{"schema":{"$ref":"#/definitions/BulkImportResult"},"description":"Successful"}}}},"/api/product/create":{"post":{"summary":"Use this API to create a new product. This API allows you to programmatically create products with all necessary details including pricing, inventory, variants, and SEO information.","operationId":"postApiProductCreate","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true}],"consumes":["application/x-www-form-urlencoded"],"tags":["api/product"],"responses":{"200":{"schema":{"$ref":"#/definitions/ProductCreationResult"},"description":"Successful"}}}},"/api/product/bulk/create":{"post":{"operationId":"postApiProductBulkCreate","parameters":[{"type":"string","description":"Store ID","minLength":36,"maxLength":36,"name":"storeid","in":"header","required":true},{"type":"string","description":"Token that was issued when user logged in. e.g. <br/>\n\t\t\t\t\t\t<pre>Bearer &lt;authToken&gt;</pre> <br/> e.g.\n\t\t\t\t\t\t<pre>Bearer 6a6487...demo@fishry.com</pre>","name":"authorization","in":"header","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/Model65"}}],"tags":["api/product"],"responses":{"default":{"schema":{"type":"string"},"description":"Successful"}}}}},"definitions":{"image":{"type":"object"},"collections":{"type":"object"},"variantOptions":{"type":"array","items":{"type":"string"}},"variants":{"type":"array","items":{"type":"string"}},"Model1":{"type":"object","properties":{"id":{"type":"string","minLength":36,"maxLength":36},"name":{"type":"string"},"isVisible":{"type":"boolean"},"image":{"$ref":"#/definitions/image"},"description":{"type":"string"},"typeID":{"type":"string"},"vendorID":{"type":"string"},"sku":{"type":"string"},"barcode":{"type":"string"},"isTaxable":{"type":"boolean"},"hasWeight":{"type":"boolean"},"weight":{"type":"number"},"tags":{"type":"string"},"seoTitle":{"type":"string"},"seoMeta":{"type":"string"},"slug":{"type":"string"},"collections":{"$ref":"#/definitions/collections"},"hasVariants":{"type":"boolean"},"variantOptions":{"$ref":"#/definitions/variantOptions"},"price":{"type":"number"},"comparePrice":{"type":"number"},"variants":{"$ref":"#/definitions/variants"},"inventoryManagement":{"type":"string"},"inventory":{"type":"number"},"inventoryPolicy":{"type":"boolean"},"addons":{"$ref":"#/definitions/collections"},"specifications":{"$ref":"#/definitions/collections"},"seoKeywords":{"type":"string"},"ogImage":{"type":"string"},"video":{"type":"string"},"hasCustomValues":{"type":"boolean"},"customValues":{"$ref":"#/definitions/collections"},"callForPrice":{"type":"boolean"},"hideUnavailableVariants":{"type":"boolean"},"subjectName":{"type":"string","description":"Product name (optional, defaults to name if not provided)"}},"required":["id"]},"Model2":{"type":"array","items":{"$ref":"#/definitions/Model1"}},"category":{"type":"object","description":"Product category","properties":{"id":{"type":"string"},"name":{"type":"string"},"reference":{"type":"string"},"image":{"type":"string"},"deleted_at":{"type":"string"}},"required":["id","name"]},"branches":{"type":"array","description":"Branch information","items":{"type":"string"}},"Model3":{"type":"array","items":{"type":"string"}},"Model4":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sku":{"type":"string"},"is_active":{"type":"boolean"},"price":{"type":"number"},"priority":{"type":"number"},"deleted_at":{"type":"string"},"branches":{"$ref":"#/definitions/Model3"},"is_in_stock":{"type":"number"}},"required":["id","name"]},"options":{"type":"array","items":{"$ref":"#/definitions/Model4"}},"Model5":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"minimum_options":{"type":"number"},"maximum_options":{"type":"number"},"priority":{"type":"number"},"deleted_at":{"type":"string"},"options":{"$ref":"#/definitions/options"}},"required":["id","name"]},"modifiers":{"type":"array","description":"Product modifiers (will be converted to addons)","items":{"$ref":"#/definitions/Model5"}},"Model6":{"type":"object","properties":{"id":{"type":"string","description":"External product ID (external_candela_id) to identify the product"},"sku":{"type":"string","description":"Product SKU"},"name":{"type":"string","description":"Product name"},"description":{"type":"string","description":"Product description"},"image":{"type":"string","description":"Product image URL"},"is_active":{"type":"boolean","description":"Whether product is active"},"uom":{"type":"string","description":"Unit of measurement"},"tags":{"type":"string","description":"Product tags (comma-separated)"},"is_stock_product":{"type":"boolean","description":"Whether product has stock tracking"},"price":{"type":"number","description":"Product price"},"deleted_at":{"type":"string"},"category":{"$ref":"#/definitions/category"},"branches":{"$ref":"#/definitions/branches"},"modifiers":{"$ref":"#/definitions/modifiers"}},"required":["id"]},"products":{"type":"array","description":"Array of products to update","minItems":1,"items":{"$ref":"#/definitions/Model6"}},"Model7":{"type":"object","properties":{"products":{"$ref":"#/definitions/products"}},"required":["products"]},"summary":{"type":"object","properties":{"total":{"type":"number"},"successful":{"type":"number"},"failed":{"type":"number"}}},"Model8":{"type":"object","properties":{"success":{"type":"boolean"},"productId":{"type":"string"},"name":{"type":"string"},"sku":{"type":"string"},"externalCandelaId":{"type":"string"}}},"results":{"type":"array","items":{"$ref":"#/definitions/Model8"}},"Model9":{"type":"object","properties":{"success":{"type":"boolean"},"name":{"type":"string"},"externalCandelaId":{"type":"string"},"error":{"type":"string"}}},"errors":{"type":"array","items":{"$ref":"#/definitions/Model9"}},"BulkUpdateResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"summary":{"$ref":"#/definitions/summary"},"results":{"$ref":"#/definitions/results"},"errors":{"$ref":"#/definitions/errors"}}},"columns":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"seoTitle":{"type":"string"},"seoDescription":{"type":"string"},"slug":{"type":"string"},"isVisible":{"type":"boolean"},"image":{"type":"string"},"publishDateTime":{"type":"string"},"seoKeywords":{"type":"string"},"sortOrder":{"type":"string"},"isCampaignOn":{"type":"boolean"},"campaignLabel":{"type":"string"},"campaignType":{"$ref":"#/definitions/collections"},"showCustomLabel":{"type":"boolean"},"customLabel":{"type":"string"},"thumbnailImage":{"type":"string"},"ogImage":{"type":"string"}}},"Model10":{"type":"object","properties":{"columns":{"$ref":"#/definitions/columns"},"subjectName":{"type":"string","description":"Collection name"}},"required":["columns","subjectName"]},"Model11":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"alternatePhone":{"type":"string"},"address1":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"zipCode":{"type":"string"},"country":{"type":"string"},"isGuest":{"type":"boolean"},"isSafe":{"type":"string"},"loyaltyPoints":{"type":"number"},"sesFlaggedEmails":{"type":"boolean"}}},"Model12":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model11"},"subjectName":{"type":"string","description":"Collection name"}},"required":["columns","subjectName"]},"Model13":{"type":"object","properties":{"id":{"type":"string","description":"Item ID"},"quantity":{"type":"number","description":"Quantity to refund"},"variantName":{"type":"string","description":"Variant name of the item"}},"required":["id","quantity"]},"refundedItems":{"type":"array","description":"Array of items to be refunded","items":{"$ref":"#/definitions/Model13"}},"cartChanges":{"type":"array","description":"Array of cart changes","items":{"type":"string"}},"trackingInfo":{"type":"object","properties":{"trackingCode":{"type":"string","description":"Tracking code for the order"},"trackingUrl":{"type":"string","description":"Tracking URL for the order"}}},"noteAttributes":{"type":"object","properties":{"orderType":{"type":"string","description":"Type of order (e.g., delivery, pickup)"},"trackingInfo":{"$ref":"#/definitions/trackingInfo"}}},"Model14":{"type":"object","properties":{"cancelReason":{"type":"string"},"cancelDescription":{"type":"string"},"refundReason":{"type":"string"},"refundDescription":{"type":"string"},"refundedAmount":{"type":"number","description":"Amount to be refunded"},"totalRefund":{"type":"number","description":"Total refund amount"},"subtotalRefund":{"type":"number","description":"Subtotal refund amount"},"shippingRefund":{"type":"number","description":"Shipping refund amount"},"taxRefund":{"type":"number","description":"Tax refund amount"},"refundedItems":{"$ref":"#/definitions/refundedItems"},"cartChanges":{"$ref":"#/definitions/cartChanges"},"locationID":{"type":"string","description":"Location ID for the order"},"noteAttributes":{"$ref":"#/definitions/noteAttributes"},"orderType":{"type":"string","description":"Type of order (e.g., delivery, pickup)"},"trackingInfo":{"$ref":"#/definitions/trackingInfo"},"trackingCode":{"type":"string","description":"Individual tracking code field"}}},"from":{"type":"string","description":"Order state change from","enum":["Open","Verified","Processed","Fulfilled"]},"to":{"type":"string","description":"Order state change to","enum":["Verified","Processed","Fulfilled","Cancelled","Refunded"]},"Model15":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model14"},"subjectName":{"type":"string","description":"Order number"},"from":{"$ref":"#/definitions/from"},"to":{"$ref":"#/definitions/to"},"notify":{"type":"boolean","description":"Whether to send email or not, only for Refunded","default":true}},"required":["columns","subjectName"]},"Model16":{"type":"object","properties":{"id":{"type":"string","minLength":36,"maxLength":36},"name":{"type":"string","description":"Product name"},"isVisible":{"type":"boolean"},"image":{"type":"string"},"description":{"type":"string"},"typeID":{"type":"string"},"vendorID":{"type":"string"},"sku":{"type":"string"},"barcode":{"type":"string"},"isTaxable":{"type":"boolean"},"hasWeight":{"type":"boolean"},"weight":{"type":"number"},"tags":{"type":"string"},"seoTitle":{"type":"string"},"seoMeta":{"type":"string"},"slug":{"type":"string"},"collections":{"$ref":"#/definitions/collections"},"hasVariants":{"type":"boolean"},"variantOptions":{"$ref":"#/definitions/variantOptions"},"price":{"type":"number"},"comparePrice":{"type":"number","x-alternatives":[{"type":"number"},{"type":"string"}]},"variants":{"$ref":"#/definitions/variants"},"inventoryManagement":{"type":"string"},"inventory":{"type":"number","x-alternatives":[{"type":"number"},{"type":"string"}]},"inventoryPolicy":{"type":"boolean"},"addons":{"$ref":"#/definitions/collections"},"specifications":{"$ref":"#/definitions/collections"},"seoKeywords":{"type":"string"},"ogImage":{"type":"string"},"video":{"type":"string"},"hasCustomValues":{"type":"boolean"},"customValues":{"$ref":"#/definitions/collections"},"callForPrice":{"type":"boolean"},"hideUnavailableVariants":{"type":"boolean"}},"required":["name"]},"Model17":{"type":"array","items":{"$ref":"#/definitions/Model16"}},"Model18":{"type":"object","properties":{"name":{"type":"string"},"storeID":{"type":"string","minLength":36,"maxLength":36},"image":{"type":"string"},"description":{"type":"string"},"typeID":{"type":"string"},"vendorID":{"type":"string"},"sku":{"type":"string"},"barcode":{"type":"string"},"price":{"type":"number"},"compareAtPrice":{"type":"number"},"tags":{"type":"string"},"seoTitle":{"type":"string"},"seoMeta":{"type":"string"},"slug":{"type":"string"},"weight":{"type":"number"},"weightUnit":{"type":"string"},"inventoryManagement":{"type":"string"},"inventoryQuantity":{"type":"number"},"inventoryPolicy":{"type":"string"},"seoKeywords":{"type":"string"},"ogImage":{"type":"string"},"video":{"type":"string"}},"required":["storeID","price"]},"Model19":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model18"},"subjectName":{"type":"string","description":"Product name"}},"required":["columns","subjectName"]},"Model20":{"type":"object","properties":{"domain":{"type":"string"},"isPrimary":{"type":"boolean"}}},"Model21":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model20"},"subjectName":{"type":"string","default":"Domain Settings"}},"required":["columns"]},"Model22":{"type":"object","properties":{"accountEmail":{"type":"string"},"customerEmail":{"type":"string"},"timeZone":{"type":"string"},"storeCurrency":{"type":"string"},"unitSystem":{"type":"string"},"metaTitle":{"type":"string"},"metaDescription":{"type":"string"},"visitorMessage":{"type":"string"},"password":{"type":"string"},"phoneNumber":{"type":"string"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"zipCode":{"type":"string"},"country":{"type":"string"},"activeDomainID":{"type":"string"},"fbPixelID":{"type":"string"},"fbPixelId2":{"type":"string"},"themeID":{"type":"string"},"legalName":{"type":"string"},"storeName":{"type":"string"},"gaTrackingID":{"type":"string"},"gaConversionID":{"type":"string"},"gaConversionLabel":{"type":"string"},"gaRemarketingLabel":{"type":"string"},"fbPageID":{"type":"string"},"packagePlan":{"type":"string"},"ogImage":{"type":"string"},"invoiceTemplate":{"type":"string"},"adConversionTag":{"type":"string"},"googleWebmasterAuth":{"type":"string"},"packagePlanID":{"type":"string"},"packagePlanName":{"type":"string"},"packagePlanBillingOn":{"type":"string"},"packagePlanStatus":{"type":"string"},"packagePlanChangeID":{"type":"string"},"ntn":{"type":"string"},"gTagID":{"type":"string"},"googleSiteVerificationCode":{"type":"string"}}},"Model23":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model22"},"subjectName":{"type":"string","default":"General Settings"}},"required":["columns"]},"deliveryAreas":{"type":"array","items":{"type":"string"}},"Model24":{"type":"object","description":"an object with key-value pairs where keys are column names in the table","properties":{"name":{"type":"string"},"address":{"type":"string"},"phoneNumber":{"type":"string"},"addressContinue":{"type":"string"},"zipCode":{"type":"string"},"locality":{"type":"string"},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"isPrimary":{"type":"boolean"},"regionID":{"type":"string"},"branchID":{"type":"string"},"status":{"type":"boolean"},"deliveryAreas":{"$ref":"#/definitions/deliveryAreas"},"branchTimings":{"$ref":"#/definitions/collections"},"specificTimingsEnabled":{"type":"boolean"},"isPickupAllowed":{"type":"boolean"}}},"Model25":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model24"},"subjectName":{"type":"string","description":"Location name"}},"required":["columns","subjectName"]},"Model26":{"type":"array","items":{"type":"string"}},"Model27":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sku":{"type":"string"},"is_active":{"type":"boolean"},"price":{"type":"number"},"priority":{"type":"number"},"deleted_at":{"type":"string"},"branches":{"$ref":"#/definitions/Model26"},"is_in_stock":{"type":"number"}},"required":["id","name"]},"Model28":{"type":"array","items":{"$ref":"#/definitions/Model27"}},"Model29":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"minimum_options":{"type":"number"},"maximum_options":{"type":"number"},"priority":{"type":"number"},"deleted_at":{"type":"string"},"options":{"$ref":"#/definitions/Model28"}},"required":["id","name"]},"Model30":{"type":"array","description":"Product modifiers (will be converted to addons)","items":{"$ref":"#/definitions/Model29"}},"Model31":{"type":"object","properties":{"id":{"type":"string","description":"External product ID (should match externalCandelaId in URL)"},"sku":{"type":"string","description":"Product SKU"},"name":{"type":"string","description":"Product name"},"description":{"type":"string","description":"Product description"},"image":{"type":"string","description":"Product image URL"},"is_active":{"type":"boolean","description":"Whether product is active"},"uom":{"type":"string","description":"Unit of measurement"},"tags":{"type":"string","description":"Product tags (comma-separated)"},"is_stock_product":{"type":"boolean","description":"Whether product has stock tracking"},"price":{"type":"number","description":"Product price"},"deleted_at":{"type":"string"},"category":{"$ref":"#/definitions/category"},"branches":{"$ref":"#/definitions/branches"},"modifiers":{"$ref":"#/definitions/Model30"}}},"product":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"price":{"type":"number"},"sku":{"type":"string"},"externalCandelaId":{"type":"string"}}},"ProductUpdateResult":{"type":"object","properties":{"success":{"type":"boolean"},"product":{"$ref":"#/definitions/product"},"message":{"type":"string"}}},"Result":{"type":"object","properties":{"authToken":{"type":"string","example":"e38fa39dfae62c03242e262a4df270f7e7c7535c03c009e847b1a852b6dabe59___storeName__appName__demo@fishry.com"},"storeID":{"type":"string","example":"619708C1-32D9-45CC-A9D7-51E23D5EB4FA"}},"required":["storeID"]},"Model32":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"seoTitle":{"type":"string"},"seoDescription":{"type":"string"},"slug":{"type":"string"},"isVisible":{"type":"boolean"},"image":{"type":"string"},"publishDateTime":{"type":"string"},"seoKeywords":{"type":"string"},"sortOrder":{"type":"string"},"isCampaignOn":{"type":"boolean"},"campaignLabel":{"type":"string"},"campaignType":{"$ref":"#/definitions/collections"},"showCustomLabel":{"type":"boolean"},"customLabel":{"type":"string"},"ogImage":{"type":"string"},"thumbnailImage":{"type":"string"},"storeID":{"type":"string"}},"required":["slug"]},"Model33":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model32"},"subjectName":{"type":"string","description":"Collection name"}},"required":["columns","subjectName"]},"Model34":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"alternatePhone":{"type":"string"},"address1":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"zipCode":{"type":"string"},"country":{"type":"string"},"storeID":{"type":"string"},"isGuest":{"type":"boolean"},"loyaltyPoints":{"type":"number"},"sesFlaggedEmails":{"type":"boolean"}}},"Model35":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model34"}},"required":["columns"]},"Model36":{"type":"object","properties":{"storeID":{"type":"string"},"name":{"type":"string"},"image":{"type":"string"},"description":{"type":"string"},"typeID":{"type":"string"},"vendorID":{"type":"string"},"sku":{"type":"string"},"barcode":{"type":"string"},"price":{"type":"number"},"compareAtPrice":{"type":"number"},"tags":{"type":"string"},"seoTitle":{"type":"string"},"seoMeta":{"type":"string"},"slug":{"type":"string"},"weight":{"type":"number"},"weightUnit":{"type":"string"},"inventoryManagement":{"type":"string"},"inventoryQuantity":{"type":"number"},"inventoryPolicy":{"type":"string"},"seoKeywords":{"type":"string"},"ogImage":{"type":"string"},"video":{"type":"string"}},"required":["name"]},"Model37":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model36"},"subjectName":{"type":"string","description":"Product name"}},"required":["columns","subjectName"]},"Model38":{"type":"object","properties":{"storeID":{"type":"string"},"domain":{"type":"string"},"isPrimary":{"type":"boolean"}}},"Model39":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model38"},"subjectName":{"type":"string","default":"Domain Settings"}},"required":["columns"]},"Model40":{"type":"object","properties":{"name":{"type":"string"},"address":{"type":"string"},"phoneNumber":{"type":"string"},"addressContinue":{"type":"string"},"zipCode":{"type":"string"},"locality":{"type":"string"},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"storeID":{"type":"string"},"regionID":{"type":"string"},"branchID":{"type":"string"}}},"Model41":{"type":"object","properties":{"columns":{"$ref":"#/definitions/Model40"},"subjectName":{"type":"string","default":"Location Settings"}},"required":["columns"]},"status":{"type":"string","description":"Target status name (case-insensitive): <br/>\n\t\t\t\t\t<strong>PENDING</strong> → Open (when order is created) <br/>\n\t\t\t\t\t<strong>ACCEPTED</strong> → Verified (when order is accepted) <br/>\n\t\t\t\t\t<strong>DISPATCHED</strong> → Processed (when order is dispatched) <br/>\n\t\t\t\t\t<strong>DELIVERED</strong> → Fulfilled (when order is delivered) <br/><br/>\n\t\t\t\t\tCurrent status is automatically detected from the order record.","enum":["PENDING","ACCEPTED","DISPATCHED","DELIVERED","pending","accepted","dispatched","delivered"]},"Model42":{"type":"object","properties":{"orderId":{"type":"string","minLength":1,"required":["orderId"],"x-alternatives":[{"type":"string","minLength":1},{"type":"number"}]},"status":{"$ref":"#/definitions/status"},"branchId":{"type":"string","description":"Branch ID (auto-fetched from order's location_id if not provided)"}},"required":["orderId","status"]},"Model43":{"type":"array","items":{"type":"string"}},"Model44":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sku":{"type":"string"},"is_active":{"type":"boolean"},"price":{"type":"number"},"priority":{"type":"number"},"deleted_at":{"type":"string"},"branches":{"$ref":"#/definitions/Model43"},"is_in_stock":{"type":"number"}},"required":["id","name"]},"Model45":{"type":"array","items":{"$ref":"#/definitions/Model44"}},"Model46":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"minimum_options":{"type":"number"},"maximum_options":{"type":"number"},"priority":{"type":"number"},"deleted_at":{"type":"string"},"options":{"$ref":"#/definitions/Model45"}},"required":["id","name"]},"Model47":{"type":"array","description":"Product modifiers (will be converted to addons)","items":{"$ref":"#/definitions/Model46"}},"Model48":{"type":"object","properties":{"id":{"type":"string","description":"External product ID"},"sku":{"type":"string","description":"Product SKU"},"name":{"type":"string","description":"Product name"},"description":{"type":"string","description":"Product description"},"image":{"type":"string","description":"Product image URL"},"is_active":{"type":"boolean","description":"Whether product is active"},"uom":{"type":"string","description":"Unit of measurement"},"tags":{"type":"string","description":"Product tags (comma-separated)"},"is_stock_product":{"type":"boolean","description":"Whether product has stock tracking"},"price":{"type":"number","description":"Product price"},"deleted_at":{"type":"string"},"type":{"type":"string","description":"[DEPRECATED] Product type name - now uses category name as type. This field is ignored."},"category":{"$ref":"#/definitions/category"},"branches":{"$ref":"#/definitions/branches"},"modifiers":{"$ref":"#/definitions/Model47"}},"required":["id","name","price"]},"Model49":{"type":"array","description":"Array of products to import","minItems":1,"items":{"$ref":"#/definitions/Model48"}},"Model50":{"type":"object","properties":{"products":{"$ref":"#/definitions/Model49"}},"required":["products"]},"Model51":{"type":"object","properties":{"success":{"type":"boolean"},"productId":{"type":"string"},"name":{"type":"string"},"sku":{"type":"string"}}},"Model52":{"type":"array","items":{"$ref":"#/definitions/Model51"}},"Model53":{"type":"object","properties":{"success":{"type":"boolean"},"name":{"type":"string"},"sku":{"type":"string"},"error":{"type":"string"}}},"Model54":{"type":"array","items":{"$ref":"#/definitions/Model53"}},"BulkImportResult":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"summary":{"$ref":"#/definitions/summary"},"results":{"$ref":"#/definitions/Model52"},"errors":{"$ref":"#/definitions/Model54"}}},"Model55":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"price":{"type":"number"},"sku":{"type":"string"},"storeID":{"type":"string"},"isVisible":{"type":"boolean"},"__createdAt":{"type":"string"}}},"ProductCreationResult":{"type":"object","properties":{"success":{"type":"boolean"},"product":{"$ref":"#/definitions/Model55"},"message":{"type":"string"}}},"choiceGroup":{"type":"array","items":{"type":"string"}},"Model56":{"type":"object","properties":{"id":{"type":"number"},"price":{"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"quantity":{"type":"number"},"defaultVariant":{"type":"boolean"},"choiceGroup":{"$ref":"#/definitions/choiceGroup"}}},"Model57":{"type":"array","items":{"$ref":"#/definitions/Model56"}},"Model58":{"type":"object","properties":{"id":{"type":"string"},"foodPandaPrice":{"type":"string"},"item":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"string"},"selected":{"type":"boolean"}}},"items":{"type":"array","items":{"$ref":"#/definitions/Model58"}},"Model59":{"type":"object","properties":{"id":{"type":"string"},"required":{"type":"boolean"},"isDeleted":{"type":"boolean"},"_id":{"type":"string"},"items":{"$ref":"#/definitions/items"},"quantity":{"type":"number"},"description":{"type":"string"},"name":{"type":"string"},"levelId":{"type":"string"},"venueId":{"type":"string"}}},"Model60":{"type":"array","items":{"$ref":"#/definitions/Model59"}},"Model61":{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"number"},"quantityUnit":{"type":"string"},"description":{"type":"string"},"hasVariant":{"type":"boolean"},"associateChoiceGroupWithPriceVariant":{"type":"boolean"},"categoryId":{"type":"string"},"variants":{"$ref":"#/definitions/Model57"},"choiceGroup":{"$ref":"#/definitions/Model60"}},"required":["name","price"]},"Model62":{"type":"array","items":{"$ref":"#/definitions/Model61"}},"Model63":{"type":"object","properties":{"id":{"type":"string"},"_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"items":{"$ref":"#/definitions/Model62"}},"required":["items"]},"Model64":{"type":"array","items":{"$ref":"#/definitions/Model63"}},"Model65":{"type":"object","properties":{"results":{"$ref":"#/definitions/Model64"},"page":{"type":"number"},"limit":{"type":"number"},"totalPages":{"type":"number"},"totalResults":{"type":"number"}},"required":["results"]}}}