{"info":{"_postman_id":"adcdea97-5ca3-4cfb-83bf-b310de866424","name":"Loya CC API v1","description":"<html><head></head><body><p>Loya CC API grouped by frontend application.</p>\n<p>All apps share the same API: <code>https://api.loya.cc/api/v1</code></p>\n<h2 id=\"stats\">Stats</h2>\n<p><strong>Total requests:</strong> 315<br><strong>Methods:</strong> GET 148 · POST 76 · PATCH 45 · PUT 1 · DELETE 45<br><strong>JSON:API resources:</strong> 29<br><strong>Admin lookup endpoints:</strong> 19</p>\n<h3 id=\"by-application\">By application</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Application</th>\n<th>Requests</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Admin Panel (@admin-panel)</td>\n<td>254</td>\n</tr>\n<tr>\n<td>Customer Mobile Application (@user-panel)</td>\n<td>49</td>\n</tr>\n<tr>\n<td>Validator Application (@validator-partner-for-worker)</td>\n<td>12</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>App</th>\n<th>Folder</th>\n<th>Port</th>\n<th>Auth guard</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>admin-panel</td>\n<td>Admin Panel (@admin-panel)</td>\n<td>3001</td>\n<td>admin</td>\n</tr>\n<tr>\n<td>user-panel</td>\n<td>Customer Mobile Application (@user-panel)</td>\n<td>3002</td>\n<td>customer · partner</td>\n</tr>\n<tr>\n<td>validator-partner-for-worker</td>\n<td>Validator Application (@validator-partner-for-worker)</td>\n<td>3004</td>\n<td>employee</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Tip:</strong> Run the <strong>Login</strong> request inside each app folder first — tokens are saved automatically.</p>\n<h2 id=\"regenerate-this-file\">Regenerate this file</h2>\n<p>From <code>loya-backend-laravel</code>: <code>composer postman</code> or <code>php scripts/generate-postman-collection.php</code><br>Then re-import <code>postman/Loya-CC-API.postman_collection.json</code> in Postman (Replace existing collection).</p>\n<h2 id=\"collection-variables-no-api-key-needed\">Collection variables (no API key needed)</h2>\n<p>Edit <strong>Variables</strong> on the collection:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Purpose</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>baseUrl</code></td>\n<td>API root, e.g. <code>https://api.loya.cc/api/v1</code> or local Herd URL</td>\n</tr>\n<tr>\n<td><code>locale</code></td>\n<td>Response language: <code>en</code>, <code>az</code>, <code>ru</code></td>\n</tr>\n<tr>\n<td><code>customerToken</code></td>\n<td>JWT from customer login/register (auto-saved)</td>\n</tr>\n<tr>\n<td><code>userToken</code></td>\n<td>Same as customer/partner token for <code>/auth/me</code></td>\n</tr>\n<tr>\n<td><code>partnerToken</code></td>\n<td>JWT when unified login returns <code>role: partner</code></td>\n</tr>\n<tr>\n<td><code>employeeToken</code></td>\n<td>JWT for validator app</td>\n</tr>\n<tr>\n<td><code>branchesId</code></td>\n<td>Branch ID for detail/favorites (auto-set from list)</td>\n</tr>\n<tr>\n<td><code>promoId</code></td>\n<td>Promo to activate</td>\n</tr>\n<tr>\n<td><code>activationId</code></td>\n<td>Promo activation QR flow</td>\n</tr>\n</tbody>\n</table>\n</div><p>Login requests auto-save <code>access_token</code>. List endpoints auto-save the first <code>id</code> where noted.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"56130800","collectionId":"adcdea97-5ca3-4cfb-83bf-b310de866424","publishedId":"2sBY4Jv2mV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-07-06T07:13:58.000Z"},"item":[{"name":"Admin Panel (@admin-panel)","item":[{"name":"Auth","item":[{"name":"Login","event":[{"listen":"test","script":{"type":"text/javascript","exec":["if ([200, 201].includes(pm.response.code)) {","  const json = pm.response.json();","  if (json.access_token) pm.collectionVariables.set('adminToken', json.access_token);","}","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"e451381a-c125-43df-b532-fa65ed7f8ee1"}}],"id":"e4849154-7d39-40ac-ac26-4a57a98ae1b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"admin@loya.cc\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/auth/admin/login","urlObject":{"path":["auth","admin","login"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4849154-7d39-40ac-ac26-4a57a98ae1b0"},{"name":"Me","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"0353810f-73f4-4eeb-b0d2-3545d6d1832a"}}],"id":"987d7c55-6667-44a6-8ccf-92af610552ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/auth/admin/me","urlObject":{"path":["auth","admin","me"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"987d7c55-6667-44a6-8ccf-92af610552ba"},{"name":"Logout","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"c550eec0-31d4-4636-bf0d-23418c0e6097"}}],"id":"03bd3d43-7dad-472c-9d5f-8e1c760d5ef9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/auth/admin/logout","urlObject":{"path":["auth","admin","logout"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"03bd3d43-7dad-472c-9d5f-8e1c760d5ef9"}],"id":"5b4e1d3e-ed10-47ad-a56c-427fd9a1c7a0","_postman_id":"5b4e1d3e-ed10-47ad-a56c-427fd9a1c7a0","description":""},{"name":"Lookups","item":[{"name":"Partners","id":"a51bc768-3dc8-417c-8edc-80f99031cea1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/partners?search=&limit=100","urlObject":{"path":["lookups","partners"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"a51bc768-3dc8-417c-8edc-80f99031cea1"},{"name":"Branches","id":"c0eeadf4-1d92-4b4b-ac97-9441bf6fa59b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/branches?search=&limit=100","urlObject":{"path":["lookups","branches"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"c0eeadf4-1d92-4b4b-ac97-9441bf6fa59b"},{"name":"Categories","id":"5d77cfe3-dd33-4fb7-af39-61f3c540134e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/categories?search=&limit=100","urlObject":{"path":["lookups","categories"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"5d77cfe3-dd33-4fb7-af39-61f3c540134e"},{"name":"Subcategories","id":"64b349d9-7aad-4d12-9e04-16035227b7a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/subcategories?search=&limit=100","urlObject":{"path":["lookups","subcategories"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"64b349d9-7aad-4d12-9e04-16035227b7a0"},{"name":"Countries","id":"8f0077bd-1e11-4eee-a82e-1b5b5ff3d6ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/countries?search=&limit=100","urlObject":{"path":["lookups","countries"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"8f0077bd-1e11-4eee-a82e-1b5b5ff3d6ec"},{"name":"Cities","id":"8e7fa44d-679b-49b9-abba-0b1f70582f02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/cities?search=&limit=100","urlObject":{"path":["lookups","cities"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"8e7fa44d-679b-49b9-abba-0b1f70582f02"},{"name":"Districts","id":"162a2635-4aa9-404b-8033-e05ccac3bf3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/districts?search=&limit=100","urlObject":{"path":["lookups","districts"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"162a2635-4aa9-404b-8033-e05ccac3bf3d"},{"name":"Customers","id":"1418ffab-3fe8-4402-957b-0a8bdf4b8232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/customers?search=&limit=100","urlObject":{"path":["lookups","customers"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"1418ffab-3fe8-4402-957b-0a8bdf4b8232"},{"name":"Brands","id":"5b3277e0-dd00-4c20-8eac-1db8caa09c08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/brands?search=&limit=100","urlObject":{"path":["lookups","brands"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"5b3277e0-dd00-4c20-8eac-1db8caa09c08"},{"name":"Subbrands","id":"3ca30adc-49b1-4dc7-9814-46d21860c79c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/subbrands?search=&limit=100","urlObject":{"path":["lookups","subbrands"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"3ca30adc-49b1-4dc7-9814-46d21860c79c"},{"name":"Country Entities","id":"0825af3e-eced-4375-a3f6-0371da1ab3c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/country-entities?search=&limit=100","urlObject":{"path":["lookups","country-entities"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"0825af3e-eced-4375-a3f6-0371da1ab3c8"},{"name":"Global Parent Companies","id":"96efb8ea-1bab-4b45-aad7-7064b2f4f82c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/global-parent-companies?search=&limit=100","urlObject":{"path":["lookups","global-parent-companies"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"96efb8ea-1bab-4b45-aad7-7064b2f4f82c"},{"name":"Employees","id":"b5cf89e3-8015-44d0-a499-2ab2fb808c47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/employees?search=&limit=100","urlObject":{"path":["lookups","employees"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"b5cf89e3-8015-44d0-a499-2ab2fb808c47"},{"name":"Promo Types","id":"45b47149-e6c4-44c8-877d-b805b07ae5e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/promo-types?search=&limit=100","urlObject":{"path":["lookups","promo-types"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"45b47149-e6c4-44c8-877d-b805b07ae5e3"},{"name":"Promos","id":"bbdb00d2-0b36-4e0f-b58e-1d94cbf0347a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/promos?search=&limit=100","urlObject":{"path":["lookups","promos"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"bbdb00d2-0b36-4e0f-b58e-1d94cbf0347a"},{"name":"Promo Activations","id":"3dc246c5-6f91-4b6c-9916-d7a80b19373e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/promo-activations?search=&limit=100","urlObject":{"path":["lookups","promo-activations"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"3dc246c5-6f91-4b6c-9916-d7a80b19373e"},{"name":"Loyalty Cards","id":"d8f92e9f-8d59-478b-ae24-1ea435dcdbbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/loyalty-cards?search=&limit=100","urlObject":{"path":["lookups","loyalty-cards"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"d8f92e9f-8d59-478b-ae24-1ea435dcdbbb"},{"name":"Category Filter Groups","id":"5b82309e-bcfa-4cfd-9d32-1250d68ecc41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/category-filter-groups?search=&limit=100","urlObject":{"path":["lookups","category-filter-groups"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"5b82309e-bcfa-4cfd-9d32-1250d68ecc41"},{"name":"Category Filter Fields","id":"3203df70-501a-4876-8b16-7b1c6d292c66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/lookups/category-filter-fields?search=&limit=100","urlObject":{"path":["lookups","category-filter-fields"],"host":["https://api.loya.cc/api/v1"],"query":[{"key":"search","value":""},{"key":"limit","value":"100"}],"variable":[]}},"response":[],"_postman_id":"3203df70-501a-4876-8b16-7b1c6d292c66"}],"id":"fa01bdd9-b996-4568-b66b-531186e98d6a","description":"<p>Relation picker endpoints for admin forms.</p>\n","_postman_id":"fa01bdd9-b996-4568-b66b-531186e98d6a"},{"name":"Partner hierarchy","item":[{"name":"List brands","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"93f563fa-0f78-43af-9167-e74fe117dfc7"}}],"id":"917e5197-6bf6-4267-a523-5008910c6a84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partner-hierarchy/brands","urlObject":{"path":["partner-hierarchy","brands"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"917e5197-6bf6-4267-a523-5008910c6a84"},{"name":"Get brand","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"6b20b23c-0d8a-4502-b206-55b82956c801"}}],"id":"5193e172-f508-4e58-9d36-7faf1b8bacca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partner-hierarchy/brands/1","urlObject":{"path":["partner-hierarchy","brands","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5193e172-f508-4e58-9d36-7faf1b8bacca"},{"name":"Brand countries","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"a48a29fb-1ed8-4f5f-97db-c5c97a2d8651"}}],"id":"5a44bb9a-5104-4ea0-8398-c38d8dbf957d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partner-hierarchy/brands/1/countries","urlObject":{"path":["partner-hierarchy","brands","1","countries"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a44bb9a-5104-4ea0-8398-c38d8dbf957d"},{"name":"Get country entity","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"7fbe0600-7f1f-4799-b11d-7129af95d6b3"}}],"id":"22927be4-a22b-4141-b074-e81a0e2b57e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partner-hierarchy/country-entities/1","urlObject":{"path":["partner-hierarchy","country-entities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"22927be4-a22b-4141-b074-e81a0e2b57e8"},{"name":"Country entity branches","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"8f6da199-d7ef-4dbc-9fb8-f4452386c43a"}}],"id":"074f4fe4-1504-4e46-96ec-6580273ab648","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partner-hierarchy/country-entities/1/branches","urlObject":{"path":["partner-hierarchy","country-entities","1","branches"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"074f4fe4-1504-4e46-96ec-6580273ab648"},{"name":"Get branch","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"df54204f-8c0d-4336-b43e-deca17aa7e46"}}],"id":"a2e41501-db61-4c8f-8146-fee620343cd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partner-hierarchy/branches/1","urlObject":{"path":["partner-hierarchy","branches","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2e41501-db61-4c8f-8146-fee620343cd7"}],"id":"bddd0d81-5d25-4602-9ad2-9fd847deca8b","description":"<p>Brand → country entity → branch tree for admin navigation.</p>\n","_postman_id":"bddd0d81-5d25-4602-9ad2-9fd847deca8b"},{"name":"UI messages","item":[{"name":"List languages","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"2351c067-85ba-4eef-87d0-2aa96d5bfe5e"}}],"id":"016fc934-4c7d-4ab5-98c0-4e3c075a64d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/ui-messages/languages","urlObject":{"path":["ui-messages","languages"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"016fc934-4c7d-4ab5-98c0-4e3c075a64d9"},{"name":"Create language","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"f3f0e03b-9e2d-4737-952a-1be6e27beaa8"}}],"id":"9832a41b-2a4b-41b0-9ad3-0eb32ddc1089","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"eo\",\n    \"name\": \"Esperanto\",\n    \"isActive\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/ui-messages/languages","urlObject":{"path":["ui-messages","languages"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9832a41b-2a4b-41b0-9ad3-0eb32ddc1089"},{"name":"Update language","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"e9ca5345-1ae1-4b91-80db-23873f3d74d9"}}],"id":"66aa79d8-4c96-448b-9955-f2cd33ae51bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Esperanto\",\n    \"isActive\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/ui-messages/languages/1","urlObject":{"path":["ui-messages","languages","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"66aa79d8-4c96-448b-9955-f2cd33ae51bb"},{"name":"List namespaces","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"5d613f12-e7f2-43c3-9af6-9469ff060388"}}],"id":"d401ea8f-8a02-47be-800c-4529158c8818","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/ui-messages/namespaces","urlObject":{"path":["ui-messages","namespaces"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d401ea8f-8a02-47be-800c-4529158c8818"},{"name":"Get messages","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"00345e68-fde6-441e-b3e7-21074bea5d70"}}],"id":"8a37cdfa-ce08-4b8b-9d67-3e1790507b8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/ui-messages/admin-panel/en","urlObject":{"path":["ui-messages","admin-panel","en"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a37cdfa-ce08-4b8b-9d67-3e1790507b8f"},{"name":"Update messages","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"d8cc4624-bcb4-44b1-a2ba-cc0c74870092"}}],"id":"0cbd2550-a68f-40cb-b715-34a0bfe31fec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"messages\": {\n        \"nav.dashboard\": \"Dashboard\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/ui-messages/admin-panel/en","urlObject":{"path":["ui-messages","admin-panel","en"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0cbd2550-a68f-40cb-b715-34a0bfe31fec"},{"name":"Download messages","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"5c499911-b949-479d-b1d2-5a6e6a9a59be"}}],"id":"5f70c4bb-fffb-4f7d-a38e-1e7a4a52f601","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/ui-messages/admin-panel/en/download","urlObject":{"path":["ui-messages","admin-panel","en","download"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f70c4bb-fffb-4f7d-a38e-1e7a4a52f601"}],"id":"286cba55-849e-4760-a4d9-f049bbd8784b","description":"<p>i18n message management for all frontends.</p>\n","_postman_id":"286cba55-849e-4760-a4d9-f049bbd8784b"},{"name":"Library (REST)","item":[{"name":"Uploads","item":[{"name":"Upload image","id":"ea30afbe-4d12-4e97-afff-55bd06d60a45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "},{"key":"Accept","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","value":""},{"key":"folder","value":"icons","type":"text"}]},"url":"https://api.loya.cc/api/v1/admin/uploads","urlObject":{"path":["admin","uploads"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea30afbe-4d12-4e97-afff-55bd06d60a45"}],"id":"3449d066-782a-443d-be92-736d0570233e","_postman_id":"3449d066-782a-443d-be92-736d0570233e","description":""},{"name":"Categories","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"5fe4f48e-caa1-4b73-9a56-a73bc20ec9a9"}}],"id":"6888e7ab-5c40-488a-a045-2395f84c3360","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"6888e7ab-5c40-488a-a045-2395f84c3360"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"4ff9c706-1a6f-4395-b12d-1cc07f06250a"}}],"id":"2c2bd78d-b9be-4f77-8278-96a03b0e732e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/categories/1","urlObject":{"path":["admin","categories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c2bd78d-b9be-4f77-8278-96a03b0e732e"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"ae98a375-e647-4b65-8efb-77f89b8fc491"}}],"id":"08e520d5-f911-4526-aca7-4401a9254954","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"slug\": \"dining\",\n    \"icon\": \"utensils\",\n    \"emoji_icon\": \"\\ud83c\\udf7d\\ufe0f\",\n    \"sort_order\": 1,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Dining\",\n            \"az\": \"Yem\\u0259k\",\n            \"ru\": \"\\u041f\\u0438\\u0442\\u0430\\u043d\\u0438\\u0435\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/categories","urlObject":{"path":["admin","categories"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"08e520d5-f911-4526-aca7-4401a9254954"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"8fb2041d-9601-48de-a529-972c1cb2d92c"}}],"id":"1228bab3-aa83-4780-8bf2-6767cf46f7ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"slug\": \"dining\",\n    \"icon\": \"utensils\",\n    \"emoji_icon\": \"\\ud83c\\udf7d\\ufe0f\",\n    \"sort_order\": 1,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Dining\",\n            \"az\": \"Yem\\u0259k\",\n            \"ru\": \"\\u041f\\u0438\\u0442\\u0430\\u043d\\u0438\\u0435\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/categories/1","urlObject":{"path":["admin","categories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1228bab3-aa83-4780-8bf2-6767cf46f7ac"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"ed59a4ad-fc9c-402e-bfaa-df7821a5a017"}}],"id":"c9b34049-5572-470b-8fde-48f0921777b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/categories/1","urlObject":{"path":["admin","categories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9b34049-5572-470b-8fde-48f0921777b1"}],"id":"b7f012f6-b925-43ae-9605-0da83e4f4a97","_postman_id":"b7f012f6-b925-43ae-9605-0da83e4f4a97","description":""},{"name":"Subcategories","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"9127fe0c-7644-4a1c-a905-21d8396ce40b"}}],"id":"77a8e7ab-e15c-4e08-a215-bc41c7b3b9a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"77a8e7ab-e15c-4e08-a215-bc41c7b3b9a0"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"2c7dd4fa-a296-43da-9548-361a4b958745"}}],"id":"9463ab42-3ef6-40a0-a029-5b80f7ca6f35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/subcategories/1","urlObject":{"path":["admin","subcategories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9463ab42-3ef6-40a0-a029-5b80f7ca6f35"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"41b75543-1ead-43bc-9e98-a0f8e52af217"}}],"id":"658d41d2-5319-4514-9d7d-1d04413d45a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"category_id\": 1,\n    \"slug\": \"restaurant\",\n    \"icon\": \"store\",\n    \"sort_order\": 1,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Restaurant\",\n            \"az\": \"Restoran\",\n            \"ru\": \"\\u0420\\u0435\\u0441\\u0442\\u043e\\u0440\\u0430\\u043d\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/subcategories","urlObject":{"path":["admin","subcategories"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"658d41d2-5319-4514-9d7d-1d04413d45a1"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"d9f84c63-9e0d-4a05-b373-4ad55e7980bf"}}],"id":"fc69dba1-ae9e-48e0-ace3-3c3009ac4da1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"category_id\": 1,\n    \"slug\": \"restaurant\",\n    \"icon\": \"store\",\n    \"sort_order\": 1,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Restaurant\",\n            \"az\": \"Restoran\",\n            \"ru\": \"\\u0420\\u0435\\u0441\\u0442\\u043e\\u0440\\u0430\\u043d\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/subcategories/1","urlObject":{"path":["admin","subcategories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"fc69dba1-ae9e-48e0-ace3-3c3009ac4da1"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"56748456-6754-494b-bf53-047e71456d1d"}}],"id":"26ec85d7-7935-4856-a953-af41b10ded82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/subcategories/1","urlObject":{"path":["admin","subcategories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"26ec85d7-7935-4856-a953-af41b10ded82"}],"id":"b1ede07e-462e-4555-90ef-95d36fbf6b1a","_postman_id":"b1ede07e-462e-4555-90ef-95d36fbf6b1a","description":""},{"name":"Amenities","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"6627e9e4-7ef2-46c6-930f-fd718283dd54"}}],"id":"03ff1788-ae9b-4404-b3b1-4e73b81314c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"03ff1788-ae9b-4404-b3b1-4e73b81314c1"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"af9da770-a61f-450d-9e64-b97cba62296c"}}],"id":"834a8752-640e-4869-b278-7f7ffdc2cf26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/amenities/1","urlObject":{"path":["admin","amenities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"834a8752-640e-4869-b278-7f7ffdc2cf26"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"0d8edfc3-6653-45b3-b163-23901e2de102"}}],"id":"84abbfa6-4afa-4d82-8dab-bda091aa9311","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"slug\": \"wifi\",\n    \"icon\": \"wifi\",\n    \"sort_order\": 1,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"WiFi\",\n            \"az\": \"WiFi\",\n            \"ru\": \"WiFi\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/amenities","urlObject":{"path":["admin","amenities"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"84abbfa6-4afa-4d82-8dab-bda091aa9311"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"50c858ef-a44a-4707-9fc3-f4ecfea7ae83"}}],"id":"43cb0f35-f7ef-44d6-a427-3b0163f22a55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"slug\": \"wifi\",\n    \"icon\": \"wifi\",\n    \"sort_order\": 1,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"WiFi\",\n            \"az\": \"WiFi\",\n            \"ru\": \"WiFi\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/amenities/1","urlObject":{"path":["admin","amenities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"43cb0f35-f7ef-44d6-a427-3b0163f22a55"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"e73e3b0b-a0d5-4e85-afcd-8b9797f7cc32"}}],"id":"ce6213a1-3a53-4ac3-8d82-37c5db8397c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/amenities/1","urlObject":{"path":["admin","amenities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce6213a1-3a53-4ac3-8d82-37c5db8397c2"}],"id":"d1fc10f8-83f6-407a-9815-a9c27f2d2603","_postman_id":"d1fc10f8-83f6-407a-9815-a9c27f2d2603","description":""},{"name":"Countries","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"8854c58e-dc3b-4492-afdf-3ebee96522a9"}}],"id":"8a121ef8-0ca3-46b6-8b3c-8285677ba029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"8a121ef8-0ca3-46b6-8b3c-8285677ba029"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"f04a8830-8701-448f-a33c-f6d47f684d00"}}],"id":"51b66125-54ba-4fe8-8663-94764e6989ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/countries/1","urlObject":{"path":["admin","countries","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"51b66125-54ba-4fe8-8663-94764e6989ca"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"78178193-40ac-4212-8a00-6b239f319c9f"}}],"id":"674c9773-0d61-4af5-9203-4cbf902ebb8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"slug\": \"azerbaijan\",\n    \"code\": \"AZ\",\n    \"flag_icon\": \"flags/az.svg\",\n    \"is_active\": true,\n    \"sort_order\": 1,\n    \"latitude\": 40.1431,\n    \"longitude\": 47.5769,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Azerbaijan\",\n            \"az\": \"Az\\u0259rbaycan\",\n            \"ru\": \"\\u0410\\u0437\\u0435\\u0440\\u0431\\u0430\\u0439\\u0434\\u0436\\u0430\\u043d\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/countries","urlObject":{"path":["admin","countries"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"674c9773-0d61-4af5-9203-4cbf902ebb8b"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"10b250fc-81ee-487f-99cc-10d7ae0c71d7"}}],"id":"b3a0678d-bba4-42a1-882d-8075c047ca59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"slug\": \"azerbaijan\",\n    \"code\": \"AZ\",\n    \"flag_icon\": \"flags/az.svg\",\n    \"is_active\": true,\n    \"sort_order\": 1,\n    \"latitude\": 40.1431,\n    \"longitude\": 47.5769,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Azerbaijan\",\n            \"az\": \"Az\\u0259rbaycan\",\n            \"ru\": \"\\u0410\\u0437\\u0435\\u0440\\u0431\\u0430\\u0439\\u0434\\u0436\\u0430\\u043d\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/countries/1","urlObject":{"path":["admin","countries","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3a0678d-bba4-42a1-882d-8075c047ca59"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"c9000040-7bd4-4f70-9809-37a57e49da6f"}}],"id":"a881e923-de0b-45a8-8884-129138d4e866","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/countries/1","urlObject":{"path":["admin","countries","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a881e923-de0b-45a8-8884-129138d4e866"}],"id":"f6308058-4ea1-465b-ba1a-7db169afcdcd","_postman_id":"f6308058-4ea1-465b-ba1a-7db169afcdcd","description":""},{"name":"Cities","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"45b6a5be-67d7-4f72-81d4-6bba5a1f1d2f"}}],"id":"6487a04d-aaae-47e7-b0e3-cd14008b272e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"6487a04d-aaae-47e7-b0e3-cd14008b272e"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"5d680ab8-22af-4439-b702-628bec52cda1"}}],"id":"7536df0b-63a5-4c73-92a6-a87aa738b89b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/cities/1","urlObject":{"path":["admin","cities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7536df0b-63a5-4c73-92a6-a87aa738b89b"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"e8859089-e08b-46a8-ba90-78431b95b177"}}],"id":"81afc083-1652-4a26-9e8f-ef71d66ff269","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"country_id\": 1,\n    \"slug\": \"baku\",\n    \"is_active\": true,\n    \"sort_order\": 1,\n    \"latitude\": 40.4093,\n    \"longitude\": 49.8671,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Baku\",\n            \"az\": \"Bak\\u0131\",\n            \"ru\": \"\\u0411\\u0430\\u043a\\u0443\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/cities","urlObject":{"path":["admin","cities"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"81afc083-1652-4a26-9e8f-ef71d66ff269"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"225bfac0-106e-480c-8902-1c7cd3e1b9c0"}}],"id":"de558c05-298e-4ad1-9bf7-b4c580db3546","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"country_id\": 1,\n    \"slug\": \"baku\",\n    \"is_active\": true,\n    \"sort_order\": 1,\n    \"latitude\": 40.4093,\n    \"longitude\": 49.8671,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Baku\",\n            \"az\": \"Bak\\u0131\",\n            \"ru\": \"\\u0411\\u0430\\u043a\\u0443\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/cities/1","urlObject":{"path":["admin","cities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"de558c05-298e-4ad1-9bf7-b4c580db3546"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"a5dbf8c5-3339-4c1b-af56-90088b18f8cf"}}],"id":"37b0032c-43c3-43e0-ade6-4ec774653364","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/cities/1","urlObject":{"path":["admin","cities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"37b0032c-43c3-43e0-ade6-4ec774653364"}],"id":"5a6296f9-37b7-4fee-9235-47172f55a430","_postman_id":"5a6296f9-37b7-4fee-9235-47172f55a430","description":""},{"name":"Districts","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"72af230a-aac7-434f-bbbd-4252090bd557"}}],"id":"1edbd4f5-c055-45d3-9142-53aee859337c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"1edbd4f5-c055-45d3-9142-53aee859337c"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"7af2f304-2008-4910-837a-e3681c249570"}}],"id":"0709986e-db8c-4348-8097-7a7508de0ce4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/districts/1","urlObject":{"path":["admin","districts","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0709986e-db8c-4348-8097-7a7508de0ce4"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"0c42b96d-a906-437c-b753-ce9839648d9a"}}],"id":"1f69915e-6d82-440f-a4c2-dc51291fa63a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"city_id\": 1,\n    \"slug\": \"narimanov\",\n    \"is_active\": true,\n    \"sort_order\": 1,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Narimanov\",\n            \"az\": \"N\\u0259rimanov\",\n            \"ru\": \"\\u041d\\u0430\\u0440\\u0438\\u043c\\u0430\\u043d\\u043e\\u0432\\u0441\\u043a\\u0438\\u0439\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/districts","urlObject":{"path":["admin","districts"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f69915e-6d82-440f-a4c2-dc51291fa63a"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"cbf83711-16f1-4c26-b1bd-74e7868466ac"}}],"id":"280b29d7-ebc6-4f88-85ee-6e0bcf0d948a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"city_id\": 1,\n    \"slug\": \"narimanov\",\n    \"is_active\": true,\n    \"sort_order\": 1,\n    \"translations\": {\n        \"name\": {\n            \"en\": \"Narimanov\",\n            \"az\": \"N\\u0259rimanov\",\n            \"ru\": \"\\u041d\\u0430\\u0440\\u0438\\u043c\\u0430\\u043d\\u043e\\u0432\\u0441\\u043a\\u0438\\u0439\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/districts/1","urlObject":{"path":["admin","districts","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"280b29d7-ebc6-4f88-85ee-6e0bcf0d948a"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"d200f150-5ec6-4dd8-bbeb-8352f15a5ed2"}}],"id":"5f9acca7-1daf-417e-a791-b76bcf8faef1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/districts/1","urlObject":{"path":["admin","districts","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f9acca7-1daf-417e-a791-b76bcf8faef1"}],"id":"4b497f64-c49b-416d-b173-8819664da1aa","_postman_id":"4b497f64-c49b-416d-b173-8819664da1aa","description":""},{"name":"Category Filter Groups","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"ea89eeee-4430-4aee-9a32-b60d4bf6691f"}}],"id":"ebffa4a9-4d68-428d-8310-42886db8053b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"ebffa4a9-4d68-428d-8310-42886db8053b"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"61bd5a5a-4dee-4002-82ae-3d747e7040d2"}}],"id":"9fd6b609-e7bb-4572-869c-872a589bc53d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/category-filter-groups/1","urlObject":{"path":["admin","category-filter-groups","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9fd6b609-e7bb-4572-869c-872a589bc53d"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"f1235498-fccd-4a61-89a9-02d69f63b67b"}}],"id":"0ebb6cc1-45d1-4c5b-891d-81b1edc8ffb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"category_id\": 1,\n    \"slug\": \"cuisines\",\n    \"sort_order\": 1,\n    \"is_active\": true,\n    \"translations\": {\n        \"label\": {\n            \"en\": \"Cuisine\",\n            \"az\": \"M\\u0259tb\\u0259x\",\n            \"ru\": \"\\u041a\\u0443\\u0445\\u043d\\u044f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/category-filter-groups","urlObject":{"path":["admin","category-filter-groups"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ebb6cc1-45d1-4c5b-891d-81b1edc8ffb7"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"16654705-792a-4afa-bfab-0d73b5640a54"}}],"id":"79d2ecf2-77b0-4bdc-802e-24a2fc416380","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"category_id\": 1,\n    \"slug\": \"cuisines\",\n    \"sort_order\": 1,\n    \"is_active\": true,\n    \"translations\": {\n        \"label\": {\n            \"en\": \"Cuisine\",\n            \"az\": \"M\\u0259tb\\u0259x\",\n            \"ru\": \"\\u041a\\u0443\\u0445\\u043d\\u044f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/category-filter-groups/1","urlObject":{"path":["admin","category-filter-groups","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"79d2ecf2-77b0-4bdc-802e-24a2fc416380"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"8491cb8a-37c8-4b2c-bb4b-23469f5d76e5"}}],"id":"fe8da133-6bd4-43ad-8c4f-119795f30ee0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/category-filter-groups/1","urlObject":{"path":["admin","category-filter-groups","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe8da133-6bd4-43ad-8c4f-119795f30ee0"}],"id":"6c5b2f96-e809-41db-a486-7c07bda5ae6c","_postman_id":"6c5b2f96-e809-41db-a486-7c07bda5ae6c","description":""},{"name":"Category Filter Fields","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"e0b2b151-a6a3-4ab2-af38-543e5c5eb0d8"}}],"id":"ee032c24-bc27-44b2-bd3c-21015eb1fc0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"ee032c24-bc27-44b2-bd3c-21015eb1fc0e"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"bbb22512-ed3d-433f-a4c3-3cce642135c3"}}],"id":"ec9e2d57-5d65-4629-853c-f24dabb8e502","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/category-filter-fields/1","urlObject":{"path":["admin","category-filter-fields","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec9e2d57-5d65-4629-853c-f24dabb8e502"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"a6803ec5-1448-4aad-9136-74e46a9f1667"}}],"id":"63c6e7c0-f8a2-4dbd-8dc1-06e15e0744bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": 1,\n    \"key\": \"cuisine\",\n    \"type\": \"multi_select\",\n    \"config\": {},\n    \"sort_order\": 1,\n    \"translations\": {\n        \"label\": {\n            \"en\": \"Cuisine\",\n            \"az\": \"M\\u0259tb\\u0259x\",\n            \"ru\": \"\\u041a\\u0443\\u0445\\u043d\\u044f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/category-filter-fields","urlObject":{"path":["admin","category-filter-fields"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"63c6e7c0-f8a2-4dbd-8dc1-06e15e0744bc"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"273eee4f-d9c2-4dac-8715-40c81c980636"}}],"id":"253718ca-4094-41fd-8393-69f397e503eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"group_id\": 1,\n    \"key\": \"cuisine\",\n    \"type\": \"multi_select\",\n    \"config\": {},\n    \"sort_order\": 1,\n    \"translations\": {\n        \"label\": {\n            \"en\": \"Cuisine\",\n            \"az\": \"M\\u0259tb\\u0259x\",\n            \"ru\": \"\\u041a\\u0443\\u0445\\u043d\\u044f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/category-filter-fields/1","urlObject":{"path":["admin","category-filter-fields","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"253718ca-4094-41fd-8393-69f397e503eb"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"f6ae2f00-edf8-4f19-8c6d-52907d7a8b7c"}}],"id":"4d33456d-b59d-49b3-ac2d-554ccdfae9cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/category-filter-fields/1","urlObject":{"path":["admin","category-filter-fields","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d33456d-b59d-49b3-ac2d-554ccdfae9cc"}],"id":"8e6ff0d3-92d0-46a4-b587-9f5ed487f4c8","_postman_id":"8e6ff0d3-92d0-46a4-b587-9f5ed487f4c8","description":""},{"name":"Category Filter Options","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"f4f59b76-4476-466f-84d8-222e76e3aa35"}}],"id":"bc7447ba-ce81-47fa-a7a0-a6bbc445ddaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"bc7447ba-ce81-47fa-a7a0-a6bbc445ddaf"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"a17cd133-92a0-4c13-b4f2-0c832c10ada1"}}],"id":"72995c89-94c1-4b69-9297-45df2cc88ade","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/category-filter-options/1","urlObject":{"path":["admin","category-filter-options","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"72995c89-94c1-4b69-9297-45df2cc88ade"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"01b09acf-5e8f-425a-8580-51eadde364c0"}}],"id":"f8e70f4d-6f1a-44a8-88db-144ef287002f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"field_id\": 1,\n    \"value\": \"italian\",\n    \"icon\": null,\n    \"sort_order\": 1,\n    \"translations\": {\n        \"label\": {\n            \"en\": \"Italian\",\n            \"az\": \"\\u0130talyan\",\n            \"ru\": \"\\u0418\\u0442\\u0430\\u043b\\u044c\\u044f\\u043d\\u0441\\u043a\\u0430\\u044f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/category-filter-options","urlObject":{"path":["admin","category-filter-options"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8e70f4d-6f1a-44a8-88db-144ef287002f"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"0b7d877f-17a6-4d03-97a9-e61a9b388a61"}}],"id":"0ef2a90d-d83c-43f8-9dce-b2372a56e63d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"field_id\": 1,\n    \"value\": \"italian\",\n    \"icon\": null,\n    \"sort_order\": 1,\n    \"translations\": {\n        \"label\": {\n            \"en\": \"Italian\",\n            \"az\": \"\\u0130talyan\",\n            \"ru\": \"\\u0418\\u0442\\u0430\\u043b\\u044c\\u044f\\u043d\\u0441\\u043a\\u0430\\u044f\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/category-filter-options/1","urlObject":{"path":["admin","category-filter-options","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ef2a90d-d83c-43f8-9dce-b2372a56e63d"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"54dd9e22-297b-4316-aa81-30d52e05e950"}}],"id":"a0f170ba-49e3-4b08-9c9b-aa173b4f289b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/category-filter-options/1","urlObject":{"path":["admin","category-filter-options","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0f170ba-49e3-4b08-9c9b-aa173b4f289b"}],"id":"7fe010d3-0ff5-420e-bc15-afd82629eaa4","_postman_id":"7fe010d3-0ff5-420e-bc15-afd82629eaa4","description":""},{"name":"Home Banners","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"1cf4be70-01db-4a1d-b261-57d220be2bb4"}}],"id":"adb851bd-b35b-4aab-b845-ece816e90495","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"adb851bd-b35b-4aab-b845-ece816e90495"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"5eacb1f8-c0d3-4e9c-b1b4-75182f24bb57"}}],"id":"5e34bc8c-477c-4639-ad10-637f2834cf6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/home-banners/1","urlObject":{"path":["admin","home-banners","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e34bc8c-477c-4639-ad10-637f2834cf6e"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"036c41e6-72be-4499-ac29-72f7ae4295e2"}}],"id":"6840b3da-e152-480e-ac44-07d24cda0863","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"image\": \"banners/welcome.jpg\",\n    \"link_type\": \"branch\",\n    \"link_id\": 1,\n    \"sort_order\": 1,\n    \"is_active\": true,\n    \"translations\": {\n        \"title\": {\n            \"en\": \"Deals and loyalty\",\n            \"az\": \"Endiriml\\u0259r\",\n            \"ru\": \"\\u0410\\u043a\\u0446\\u0438\\u0438\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/home-banners","urlObject":{"path":["admin","home-banners"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6840b3da-e152-480e-ac44-07d24cda0863"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"ea6a9456-5985-41e3-8b1b-2c615d46a4c7"}}],"id":"2731eb3e-9850-4daa-aab8-97870b055327","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"image\": \"banners/welcome.jpg\",\n    \"link_type\": \"branch\",\n    \"link_id\": 1,\n    \"sort_order\": 1,\n    \"is_active\": true,\n    \"translations\": {\n        \"title\": {\n            \"en\": \"Deals and loyalty\",\n            \"az\": \"Endiriml\\u0259r\",\n            \"ru\": \"\\u0410\\u043a\\u0446\\u0438\\u0438\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/home-banners/1","urlObject":{"path":["admin","home-banners","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2731eb3e-9850-4daa-aab8-97870b055327"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"4b85bf77-b8d2-4047-a60b-b47eaf25c297"}}],"id":"989bb7f1-7299-4c7a-996c-ef66c8dff7c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/home-banners/1","urlObject":{"path":["admin","home-banners","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"989bb7f1-7299-4c7a-996c-ef66c8dff7c0"}],"id":"34deaa0b-04d1-4720-a74f-933f0758fe19","_postman_id":"34deaa0b-04d1-4720-a74f-933f0758fe19","description":""},{"name":"Cms Pages","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"46c05ead-8dff-436e-a018-981faf56da19"}}],"id":"e576d6c7-4aa5-4723-b89c-91db80720219","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=&sort=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""},{"key":"sort","value":""}],"variable":[]}},"response":[],"_postman_id":"e576d6c7-4aa5-4723-b89c-91db80720219"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"fad81aa2-ed1a-4252-837c-ad13c0cccc3f"}}],"id":"cbfebbeb-db05-4914-b0f4-5eaa3086b0f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/cms-pages/1","urlObject":{"path":["admin","cms-pages","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbfebbeb-db05-4914-b0f4-5eaa3086b0f8"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"6e72f6fb-747d-4fdc-bf84-285237a5f686"}}],"id":"05eb9543-36ae-40a3-8404-3e210e1dbefd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"slug\": \"about\",\n    \"type\": \"about\",\n    \"published_at\": null,\n    \"translations\": {\n        \"title\": {\n            \"en\": \"About Loya\",\n            \"az\": \"Loya haqq\\u0131nda\",\n            \"ru\": \"\\u041e Loya\"\n        },\n        \"body\": {\n            \"en\": \"Loya connects customers with partner offers.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/cms-pages","urlObject":{"path":["admin","cms-pages"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"05eb9543-36ae-40a3-8404-3e210e1dbefd"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"1361837f-7d02-42cc-8b6d-c969cddbb65a"}}],"id":"a660eb01-dce1-4d68-943e-8e9045196e65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"slug\": \"about\",\n    \"type\": \"about\",\n    \"published_at\": null,\n    \"translations\": {\n        \"title\": {\n            \"en\": \"About Loya\",\n            \"az\": \"Loya haqq\\u0131nda\",\n            \"ru\": \"\\u041e Loya\"\n        },\n        \"body\": {\n            \"en\": \"Loya connects customers with partner offers.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/cms-pages/1","urlObject":{"path":["admin","cms-pages","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a660eb01-dce1-4d68-943e-8e9045196e65"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"68fc7b00-9d10-45e2-84ef-d12ed40f8891"}}],"id":"564ba146-d8bf-4d28-b8e7-243761d7f195","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/cms-pages/1","urlObject":{"path":["admin","cms-pages","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"564ba146-d8bf-4d28-b8e7-243761d7f195"}],"id":"59877cdb-6420-4299-a772-279a7286aa9f","_postman_id":"59877cdb-6420-4299-a772-279a7286aa9f","description":""},{"name":"Cms Pages — publish","item":[{"name":"Publish","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"ab7d9a4a-5905-48d8-8c27-35856d20dd6b"}}],"id":"cdad45c2-21e9-437b-8137-1a7e21e04fe5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/cms-pages/1/publish","urlObject":{"path":["admin","cms-pages","1","publish"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdad45c2-21e9-437b-8137-1a7e21e04fe5"},{"name":"Unpublish","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"583bcf3e-cb18-43fe-81d8-70bcc342685e"}}],"id":"ee0c9322-3c35-4b04-b800-fe3c964c17b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/cms-pages/1/unpublish","urlObject":{"path":["admin","cms-pages","1","unpublish"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ee0c9322-3c35-4b04-b800-fe3c964c17b0"}],"id":"e2a60d70-2146-429d-bd73-a0fb40604c72","_postman_id":"e2a60d70-2146-429d-bd73-a0fb40604c72","description":""},{"name":"App Settings","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"19c7eb8d-2f00-4db6-ada7-15a235b5ccff"}}],"id":"2d483002-ab4a-4ec1-b8da-b74b81cfbc35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?page=1&per_page=25&search=","urlObject":{"query":[{"key":"page","value":"1"},{"key":"per_page","value":"25"},{"key":"search","value":""}],"variable":[]}},"response":[],"_postman_id":"2d483002-ab4a-4ec1-b8da-b74b81cfbc35"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"bbe27d4e-fe13-43a8-a0eb-55fe95099290"}}],"id":"b56f6d6b-a9a1-4e09-b37c-51152247add9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/app-settings/1","urlObject":{"path":["admin","app-settings","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b56f6d6b-a9a1-4e09-b37c-51152247add9"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"406f89c0-d742-4c05-9459-8b0bad9ca342"}}],"id":"12d0dc77-4a9f-409a-a16e-36b81ff544e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"support_email\",\n    \"value\": {\n        \"address\": \"help@loya.cc\"\n    },\n    \"group\": \"contact\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/app-settings","urlObject":{"path":["admin","app-settings"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"12d0dc77-4a9f-409a-a16e-36b81ff544e3"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"61804567-15e7-4469-95a1-a9b44f8161f9"}}],"id":"ab883aff-0182-4095-9f6d-92767b24fee6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"key\": \"support_email\",\n    \"value\": {\n        \"address\": \"support@loya.cc\"\n    },\n    \"group\": \"contact\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/app-settings/1","urlObject":{"path":["admin","app-settings","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab883aff-0182-4095-9f6d-92767b24fee6"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"4b6fa0d2-9c2d-4763-ae1e-bdf9137cbd52"}}],"id":"3efed0c7-cd33-43ab-af17-45b83293f162","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/app-settings/1","urlObject":{"path":["admin","app-settings","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3efed0c7-cd33-43ab-af17-45b83293f162"}],"id":"8d6016b4-8640-4821-ae2b-e7386c322f1b","_postman_id":"8d6016b4-8640-4821-ae2b-e7386c322f1b","description":""},{"name":"Translations (raw)","item":[{"name":"List","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"042010c6-9d1a-4ed1-98e6-129f2a28dbe5"}}],"id":"ef3dd7ab-0e53-428d-955a-6637f9200636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"?table_name=categories&foreign_key=1&locale=az","urlObject":{"query":[{"key":"table_name","value":"categories"},{"key":"foreign_key","value":"1"},{"key":"locale","value":"az"}],"variable":[]}},"response":[],"_postman_id":"ef3dd7ab-0e53-428d-955a-6637f9200636"},{"name":"Get one","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"cf00db2e-3fc9-41d9-92bf-82d416d1a61b"}}],"id":"25fd6ed8-c354-4bd2-933b-efd2da11124f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/translations/1","urlObject":{"path":["admin","translations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"25fd6ed8-c354-4bd2-933b-efd2da11124f"},{"name":"Create","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"f99d1c84-27f1-4d3a-9d7f-6d879da641c9"}}],"id":"89eee628-d132-479a-9acc-eeafe7f47ad2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"categories\",\n    \"column_name\": \"name\",\n    \"foreign_key\": 1,\n    \"locale\": \"az\",\n    \"value\": \"Yem\\u0259k\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/translations","urlObject":{"path":["admin","translations"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"89eee628-d132-479a-9acc-eeafe7f47ad2"},{"name":"Update","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"c178cc90-1f1e-42ee-9bc0-2a041284e489"}}],"id":"288e40fa-e325-4cbd-86be-1630da5d0f09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"categories\",\n    \"column_name\": \"name\",\n    \"foreign_key\": 1,\n    \"locale\": \"az\",\n    \"value\": \"Yem\\u0259k\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admin/translations/1","urlObject":{"path":["admin","translations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"288e40fa-e325-4cbd-86be-1630da5d0f09"},{"name":"Delete","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"e684ae23-90f3-4cc0-b94d-295784130ba7"}}],"id":"e224e5db-29b0-4e5a-9b02-9c065d964d45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admin/translations/1","urlObject":{"path":["admin","translations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e224e5db-29b0-4e5a-9b02-9c065d964d45"}],"id":"4f1adac0-93fb-4be7-a653-c8173a09275d","_postman_id":"4f1adac0-93fb-4be7-a653-c8173a09275d","description":""}],"id":"68cd0986-d6f4-4f90-90a6-024d57359532","description":"<p>Implemented super-admin CRUD at <code>/admin/{resource}</code> (plain JSON). Translatable fields use a <code>translations</code> map keyed by locale (en/az/ru).</p>\n","_postman_id":"68cd0986-d6f4-4f90-90a6-024d57359532"},{"name":"Categories","item":[{"name":"Categories","item":[{"name":"List all","id":"80c453bb-8098-4ba7-b818-fc85e30211e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/categories","urlObject":{"path":["categories"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"80c453bb-8098-4ba7-b818-fc85e30211e2"},{"name":"Get one","id":"bbffac4b-a9ac-42ff-9c36-d9889711ad65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/categories/1","urlObject":{"path":["categories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"bbffac4b-a9ac-42ff-9c36-d9889711ad65"},{"name":"Create","id":"517fa8fd-0f6a-421e-812e-b6685513b4e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"categories\",\n        \"attributes\": {\n            \"slug\": \"dining\",\n            \"icon\": \"utensils\",\n            \"sortOrder\": 1,\n            \"name\": \"Dining\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/categories","urlObject":{"path":["categories"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"517fa8fd-0f6a-421e-812e-b6685513b4e0"},{"name":"Update","id":"d3c16c4f-924f-4864-8510-0dbb9f3b76c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"categories\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"slug\": \"dining\",\n            \"icon\": \"utensils\",\n            \"sortOrder\": 1,\n            \"name\": \"Dining\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/categories/1","urlObject":{"path":["categories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3c16c4f-924f-4864-8510-0dbb9f3b76c3"},{"name":"Delete","id":"d538f781-cf3d-4833-8baa-2621e4554770","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/categories/1","urlObject":{"path":["categories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d538f781-cf3d-4833-8baa-2621e4554770"}],"id":"a7d6f811-78e6-422c-ba98-e574c51a2fb8","_postman_id":"a7d6f811-78e6-422c-ba98-e574c51a2fb8","description":""},{"name":"Subcategories","item":[{"name":"List all","id":"e12f8888-5e37-4a1e-9f17-8389d10eb652","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/subcategories","urlObject":{"path":["subcategories"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e12f8888-5e37-4a1e-9f17-8389d10eb652"},{"name":"Get one","id":"6e81317b-9395-425d-8ee3-5a48e06e16b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/subcategories/1","urlObject":{"path":["subcategories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e81317b-9395-425d-8ee3-5a48e06e16b3"},{"name":"Create","id":"caca0baa-5eb6-4173-bebd-627ffd7e4616","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"subcategories\",\n        \"attributes\": {\n            \"categoryId\": 1,\n            \"slug\": \"restaurant\",\n            \"icon\": \"store\",\n            \"sortOrder\": 1,\n            \"name\": \"Restaurant\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/subcategories","urlObject":{"path":["subcategories"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"caca0baa-5eb6-4173-bebd-627ffd7e4616"},{"name":"Update","id":"bfc15a14-626a-4332-af32-9e5c42c5781a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"subcategories\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"categoryId\": 1,\n            \"slug\": \"restaurant\",\n            \"icon\": \"store\",\n            \"sortOrder\": 1,\n            \"name\": \"Restaurant\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/subcategories/1","urlObject":{"path":["subcategories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"bfc15a14-626a-4332-af32-9e5c42c5781a"},{"name":"Delete","id":"612ba7d7-c242-4b9d-a0e2-f8737bf6d21a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/subcategories/1","urlObject":{"path":["subcategories","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"612ba7d7-c242-4b9d-a0e2-f8737bf6d21a"}],"id":"a3524806-33f8-42fa-a62f-c160d76fa0f8","_postman_id":"a3524806-33f8-42fa-a62f-c160d76fa0f8","description":""},{"name":"Category Filter Groups","item":[{"name":"List all","id":"489557f8-2ae2-4198-90b9-02a88c5771b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/category-filter-groups","urlObject":{"path":["category-filter-groups"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"489557f8-2ae2-4198-90b9-02a88c5771b6"},{"name":"Get one","id":"cc8cbefd-3b1a-4814-a309-1f535daf0dd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/category-filter-groups/1","urlObject":{"path":["category-filter-groups","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc8cbefd-3b1a-4814-a309-1f535daf0dd0"},{"name":"Create","id":"adf60314-9ae4-4d7c-b827-dafe452d45b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"category-filter-groups\",\n        \"attributes\": {\n            \"categoryId\": 1,\n            \"slug\": \"cuisines\",\n            \"sortOrder\": 1,\n            \"isActive\": true,\n            \"label\": \"Cuisine\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/category-filter-groups","urlObject":{"path":["category-filter-groups"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"adf60314-9ae4-4d7c-b827-dafe452d45b5"},{"name":"Update","id":"a472f916-3a94-49c7-9de1-ef00f818b3b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"category-filter-groups\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"categoryId\": 1,\n            \"slug\": \"cuisines\",\n            \"sortOrder\": 1,\n            \"isActive\": true,\n            \"label\": \"Cuisine\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/category-filter-groups/1","urlObject":{"path":["category-filter-groups","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a472f916-3a94-49c7-9de1-ef00f818b3b5"},{"name":"Delete","id":"275a8237-0ae5-4007-9ac5-980b6f9ad80c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/category-filter-groups/1","urlObject":{"path":["category-filter-groups","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"275a8237-0ae5-4007-9ac5-980b6f9ad80c"}],"id":"81fd2bcc-d835-4942-b47f-651458edd4c3","_postman_id":"81fd2bcc-d835-4942-b47f-651458edd4c3","description":""},{"name":"Category Filter Fields","item":[{"name":"List all","id":"33669ca9-b0d9-4cf4-a00b-2a1d64cc9915","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/category-filter-fields","urlObject":{"path":["category-filter-fields"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"33669ca9-b0d9-4cf4-a00b-2a1d64cc9915"},{"name":"Get one","id":"ffeff428-d1c5-4a63-b6c1-9cb555eb655c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/category-filter-fields/1","urlObject":{"path":["category-filter-fields","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffeff428-d1c5-4a63-b6c1-9cb555eb655c"},{"name":"Create","id":"3ee1a890-4709-493c-a246-16da7da5bbeb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"category-filter-fields\",\n        \"attributes\": {\n            \"groupId\": 1,\n            \"key\": \"cuisine\",\n            \"fieldType\": \"multi_select\",\n            \"config\": {},\n            \"sortOrder\": 1,\n            \"label\": \"Cuisine\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/category-filter-fields","urlObject":{"path":["category-filter-fields"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ee1a890-4709-493c-a246-16da7da5bbeb"},{"name":"Update","id":"745819c4-c06f-48cc-a47a-51cf259619f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"category-filter-fields\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"groupId\": 1,\n            \"key\": \"cuisine\",\n            \"fieldType\": \"multi_select\",\n            \"config\": {},\n            \"sortOrder\": 1,\n            \"label\": \"Cuisine\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/category-filter-fields/1","urlObject":{"path":["category-filter-fields","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"745819c4-c06f-48cc-a47a-51cf259619f3"},{"name":"Delete","id":"04766421-9795-4d34-adc2-2ed24494d3a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/category-filter-fields/1","urlObject":{"path":["category-filter-fields","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"04766421-9795-4d34-adc2-2ed24494d3a2"}],"id":"1384f372-e6e5-404f-ac4a-a656043cca4e","_postman_id":"1384f372-e6e5-404f-ac4a-a656043cca4e","description":""},{"name":"Category Filter Options","item":[{"name":"List all","id":"fdb297bb-9a06-4415-a641-36c5c88876e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/category-filter-options","urlObject":{"path":["category-filter-options"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"fdb297bb-9a06-4415-a641-36c5c88876e9"},{"name":"Get one","id":"dcd38d06-f0dc-461c-8661-76bbe03c792f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/category-filter-options/1","urlObject":{"path":["category-filter-options","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"dcd38d06-f0dc-461c-8661-76bbe03c792f"},{"name":"Create","id":"0fbe5f95-b058-4d44-a57d-195adcdc9e79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"category-filter-options\",\n        \"attributes\": {\n            \"fieldId\": 1,\n            \"value\": \"italian\",\n            \"icon\": null,\n            \"sortOrder\": 1,\n            \"label\": \"Italian\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/category-filter-options","urlObject":{"path":["category-filter-options"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fbe5f95-b058-4d44-a57d-195adcdc9e79"},{"name":"Update","id":"6234081e-f741-4775-bab7-d15ef27ea39e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"category-filter-options\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"fieldId\": 1,\n            \"value\": \"italian\",\n            \"icon\": null,\n            \"sortOrder\": 1,\n            \"label\": \"Italian\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/category-filter-options/1","urlObject":{"path":["category-filter-options","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6234081e-f741-4775-bab7-d15ef27ea39e"},{"name":"Delete","id":"06453a8d-4668-49fa-b54c-d4c97e7d7a51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/category-filter-options/1","urlObject":{"path":["category-filter-options","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"06453a8d-4668-49fa-b54c-d4c97e7d7a51"}],"id":"2567e87f-9ade-46d6-bec3-eb78c0089567","_postman_id":"2567e87f-9ade-46d6-bec3-eb78c0089567","description":""},{"name":"Branch Subcategory","item":[{"name":"List links","id":"2683aeb7-0081-47ed-a662-e532b6c10862","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/pivot-links/branch-subcategory","urlObject":{"path":["pivot-links","branch-subcategory"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2683aeb7-0081-47ed-a662-e532b6c10862"},{"name":"Create link","id":"910adc40-39ea-4de3-b645-7c6b347f8823","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"branch-subcategory\",\n        \"attributes\": {\n            \"branchId\": 1,\n            \"subcategoryId\": 1\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/pivot-links/branch-subcategory","urlObject":{"path":["pivot-links","branch-subcategory"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"910adc40-39ea-4de3-b645-7c6b347f8823"},{"name":"Delete link","id":"2414db32-2397-43ce-a505-15958cdf6abc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/pivot-links/branch-subcategory/1:1","urlObject":{"path":["pivot-links","branch-subcategory","1:1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2414db32-2397-43ce-a505-15958cdf6abc"}],"id":"84c42ef1-73a9-46a5-802b-76143bb63c82","_postman_id":"84c42ef1-73a9-46a5-802b-76143bb63c82","description":""}],"id":"e7c67c57-7547-485f-9ee7-4d4f5a90e739","_postman_id":"e7c67c57-7547-485f-9ee7-4d4f5a90e739","description":""},{"name":"Locations","item":[{"name":"Countries","item":[{"name":"List all","id":"631891c5-e31d-455c-a381-b2fa01882607","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/countries","urlObject":{"path":["countries"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"631891c5-e31d-455c-a381-b2fa01882607"},{"name":"Get one","id":"06c03a3c-d612-4328-ac37-5de8902466e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/countries/1","urlObject":{"path":["countries","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"06c03a3c-d612-4328-ac37-5de8902466e8"},{"name":"Create","id":"74b4a3bd-dc19-4319-b542-a32ef327e293","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"countries\",\n        \"attributes\": {\n            \"slug\": \"azerbaijan\",\n            \"code\": \"AZ\",\n            \"isActive\": true,\n            \"sortOrder\": 1,\n            \"name\": \"Azerbaijan\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/countries","urlObject":{"path":["countries"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"74b4a3bd-dc19-4319-b542-a32ef327e293"},{"name":"Update","id":"bb3226f7-ae74-47c4-899f-c49898495cbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"countries\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"slug\": \"azerbaijan\",\n            \"code\": \"AZ\",\n            \"isActive\": true,\n            \"sortOrder\": 1,\n            \"name\": \"Azerbaijan\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/countries/1","urlObject":{"path":["countries","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb3226f7-ae74-47c4-899f-c49898495cbb"},{"name":"Delete","id":"4c28776f-d7a0-4964-9f9d-d68359c840fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/countries/1","urlObject":{"path":["countries","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c28776f-d7a0-4964-9f9d-d68359c840fc"}],"id":"cb98f11c-a040-4c90-a79b-c773b8d52b85","_postman_id":"cb98f11c-a040-4c90-a79b-c773b8d52b85","description":""},{"name":"Cities","item":[{"name":"List all","id":"849c167a-1c99-4d52-a5a6-f415d74c7e7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/cities","urlObject":{"path":["cities"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"849c167a-1c99-4d52-a5a6-f415d74c7e7f"},{"name":"Get one","id":"e7dca64e-0720-41a8-b9c7-a4a65fd63565","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/cities/1","urlObject":{"path":["cities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7dca64e-0720-41a8-b9c7-a4a65fd63565"},{"name":"Create","id":"c90e15f3-3f43-44bd-a12f-65d5224ca63d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cities\",\n        \"attributes\": {\n            \"countryId\": 1,\n            \"slug\": \"baku\",\n            \"isActive\": true,\n            \"sortOrder\": 1,\n            \"name\": \"Baku\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/cities","urlObject":{"path":["cities"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c90e15f3-3f43-44bd-a12f-65d5224ca63d"},{"name":"Update","id":"0461d46b-d778-4ce6-9bdf-9d1563e4ca2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cities\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"countryId\": 1,\n            \"slug\": \"baku\",\n            \"isActive\": true,\n            \"sortOrder\": 1,\n            \"name\": \"Baku\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/cities/1","urlObject":{"path":["cities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0461d46b-d778-4ce6-9bdf-9d1563e4ca2c"},{"name":"Delete","id":"ce10d734-3d71-49a4-ba91-6212f6be403f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/cities/1","urlObject":{"path":["cities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce10d734-3d71-49a4-ba91-6212f6be403f"}],"id":"68328f10-2e6f-49d2-bf20-9866faa5927e","_postman_id":"68328f10-2e6f-49d2-bf20-9866faa5927e","description":""},{"name":"Districts","item":[{"name":"List all","id":"497c688f-6c6d-4132-a217-a5fb9a8e5367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/districts","urlObject":{"path":["districts"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"497c688f-6c6d-4132-a217-a5fb9a8e5367"},{"name":"Get one","id":"d14479cc-1e18-4a39-9b2b-b5673fe4bebe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/districts/1","urlObject":{"path":["districts","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d14479cc-1e18-4a39-9b2b-b5673fe4bebe"},{"name":"Create","id":"cdc9022c-e895-4ff6-ab67-416d09628140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"districts\",\n        \"attributes\": {\n            \"cityId\": 1,\n            \"slug\": \"narimanov\",\n            \"isActive\": true,\n            \"name\": \"Narimanov\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/districts","urlObject":{"path":["districts"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdc9022c-e895-4ff6-ab67-416d09628140"},{"name":"Update","id":"68af3745-68ec-4342-ada6-5aefd6b6e884","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"districts\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"cityId\": 1,\n            \"slug\": \"narimanov\",\n            \"isActive\": true,\n            \"name\": \"Narimanov\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/districts/1","urlObject":{"path":["districts","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"68af3745-68ec-4342-ada6-5aefd6b6e884"},{"name":"Delete","id":"cd1ae99d-96db-4065-a761-20ee80d0936a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/districts/1","urlObject":{"path":["districts","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd1ae99d-96db-4065-a761-20ee80d0936a"}],"id":"dc122052-41f1-4e74-849e-957ed45e2a1f","_postman_id":"dc122052-41f1-4e74-849e-957ed45e2a1f","description":""}],"id":"69a73fb6-f718-47b8-8209-0c7ef2a4c677","_postman_id":"69a73fb6-f718-47b8-8209-0c7ef2a4c677","description":""},{"name":"Partners & branches","item":[{"name":"Partners","item":[{"name":"List all","id":"84d4ed6f-8be3-45b0-8cb8-b2751bd0d473","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partners","urlObject":{"path":["partners"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"84d4ed6f-8be3-45b0-8cb8-b2751bd0d473"},{"name":"Get one","id":"9274eed7-6777-40bb-b3d8-34c84dd78172","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partners/1","urlObject":{"path":["partners","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9274eed7-6777-40bb-b3d8-34c84dd78172"},{"name":"Create","id":"f92208cf-3a2f-4f16-82e8-50bac3dfd998","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"partners\",\n        \"attributes\": {\n            \"email\": \"partner@example.az\",\n            \"phone\": \"+994501234567\",\n            \"password\": \"password123\",\n            \"isActive\": true,\n            \"name\": \"Papa John's\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/partners","urlObject":{"path":["partners"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f92208cf-3a2f-4f16-82e8-50bac3dfd998"},{"name":"Update","id":"eabebe3e-6aec-4366-bf99-f671192545a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"partners\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"email\": \"partner@example.az\",\n            \"phone\": \"+994501234567\",\n            \"password\": \"password123\",\n            \"isActive\": true,\n            \"name\": \"Papa John's\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/partners/1","urlObject":{"path":["partners","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"eabebe3e-6aec-4366-bf99-f671192545a9"},{"name":"Delete","id":"a5d78d58-84a0-4bbf-a982-71519876c9c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partners/1","urlObject":{"path":["partners","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5d78d58-84a0-4bbf-a982-71519876c9c3"}],"id":"53b7398f-3466-419c-8aeb-8314f9e70d21","_postman_id":"53b7398f-3466-419c-8aeb-8314f9e70d21","description":""},{"name":"Global Parent Companies","item":[{"name":"List all","id":"d69069f5-1ecf-49ca-9360-976c4ecc568d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/global-parent-companies","urlObject":{"path":["global-parent-companies"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d69069f5-1ecf-49ca-9360-976c4ecc568d"},{"name":"Get one","id":"5d1a31e4-5f54-4c90-adf9-e29d0196e641","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/global-parent-companies/1","urlObject":{"path":["global-parent-companies","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d1a31e4-5f54-4c90-adf9-e29d0196e641"},{"name":"Create","id":"42cdbee0-f83d-480e-9200-defbd565fb2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"global-parent-companies\",\n        \"attributes\": {\n            \"slug\": \"papa-johns-group\",\n            \"sortOrder\": 1,\n            \"name\": \"Papa John's Group\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/global-parent-companies","urlObject":{"path":["global-parent-companies"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"42cdbee0-f83d-480e-9200-defbd565fb2a"},{"name":"Update","id":"7a8f4888-dddf-4eeb-a557-33295d301c93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"global-parent-companies\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"slug\": \"papa-johns-group\",\n            \"sortOrder\": 1,\n            \"name\": \"Papa John's Group\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/global-parent-companies/1","urlObject":{"path":["global-parent-companies","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a8f4888-dddf-4eeb-a557-33295d301c93"},{"name":"Delete","id":"06ffcdf8-77b8-4dc4-a7fb-b464ec49bf64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/global-parent-companies/1","urlObject":{"path":["global-parent-companies","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"06ffcdf8-77b8-4dc4-a7fb-b464ec49bf64"}],"id":"a7fab48e-98ed-48e0-8211-846f077dc533","_postman_id":"a7fab48e-98ed-48e0-8211-846f077dc533","description":""},{"name":"Brands","item":[{"name":"List all","id":"97ad241a-0156-433f-afce-4bd2d99a6291","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/brands","urlObject":{"path":["brands"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"97ad241a-0156-433f-afce-4bd2d99a6291"},{"name":"Get one","id":"431bb4aa-ca44-43a8-9a4e-9261dfbe7724","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/brands/1","urlObject":{"path":["brands","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"431bb4aa-ca44-43a8-9a4e-9261dfbe7724"},{"name":"Create","id":"0a6f5330-cee5-47af-a743-f67582fc4666","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"brands\",\n        \"attributes\": {\n            \"partnerId\": 1,\n            \"logo\": \"brands/papa-johns.png\",\n            \"sortOrder\": 1,\n            \"name\": \"Papa John's\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/brands","urlObject":{"path":["brands"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a6f5330-cee5-47af-a743-f67582fc4666"},{"name":"Update","id":"5fea37c9-de52-4861-a192-109342aadf91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"brands\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"partnerId\": 1,\n            \"logo\": \"brands/papa-johns.png\",\n            \"sortOrder\": 1,\n            \"name\": \"Papa John's\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/brands/1","urlObject":{"path":["brands","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5fea37c9-de52-4861-a192-109342aadf91"},{"name":"Delete","id":"da025e48-ab39-495b-9b09-a7acd7823e80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/brands/1","urlObject":{"path":["brands","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"da025e48-ab39-495b-9b09-a7acd7823e80"}],"id":"df452340-ad81-457b-8801-31a74dee1e39","_postman_id":"df452340-ad81-457b-8801-31a74dee1e39","description":""},{"name":"Country Entities","item":[{"name":"List all","id":"a5c55a18-dbe9-4486-bfc8-025dbc6906be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/country-entities","urlObject":{"path":["country-entities"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5c55a18-dbe9-4486-bfc8-025dbc6906be"},{"name":"Get one","id":"6d5e7428-e0e3-4733-b8b7-41bc2b1067df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/country-entities/1","urlObject":{"path":["country-entities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d5e7428-e0e3-4733-b8b7-41bc2b1067df"},{"name":"Create","id":"6cb47448-ea2c-40a3-a094-e4902c22d5b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"country-entities\",\n        \"attributes\": {\n            \"brandId\": 1,\n            \"countryId\": 1,\n            \"loyaltyEnabled\": true,\n            \"isActive\": true,\n            \"sortOrder\": 1,\n            \"localParentName\": \"Papa John's AZ\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/country-entities","urlObject":{"path":["country-entities"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cb47448-ea2c-40a3-a094-e4902c22d5b2"},{"name":"Update","id":"131638e6-6704-4711-91b3-20f0f16047ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"country-entities\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"brandId\": 1,\n            \"countryId\": 1,\n            \"loyaltyEnabled\": true,\n            \"isActive\": true,\n            \"sortOrder\": 1,\n            \"localParentName\": \"Papa John's AZ\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/country-entities/1","urlObject":{"path":["country-entities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"131638e6-6704-4711-91b3-20f0f16047ac"},{"name":"Delete","id":"aaeb38b5-7898-4841-8609-48e8dd158bf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/country-entities/1","urlObject":{"path":["country-entities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"aaeb38b5-7898-4841-8609-48e8dd158bf7"}],"id":"fb178706-6b24-4586-9fdc-c732c55720d5","_postman_id":"fb178706-6b24-4586-9fdc-c732c55720d5","description":""},{"name":"Subbrands","item":[{"name":"List all","id":"f6304d72-0077-4cd9-bd4d-f04f17851064","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/subbrands","urlObject":{"path":["subbrands"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6304d72-0077-4cd9-bd4d-f04f17851064"},{"name":"Get one","id":"d0923271-f389-4017-a838-cb9416f51d28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/subbrands/1","urlObject":{"path":["subbrands","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0923271-f389-4017-a838-cb9416f51d28"},{"name":"Create","id":"e028c39c-c9f7-4eb2-82ac-89b78d3bf13e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"subbrands\",\n        \"attributes\": {\n            \"brandId\": 1,\n            \"logo\": \"subbrands/example.png\",\n            \"sortOrder\": 1,\n            \"name\": \"Sub-brand\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/subbrands","urlObject":{"path":["subbrands"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e028c39c-c9f7-4eb2-82ac-89b78d3bf13e"},{"name":"Update","id":"fedf958e-6baf-46f8-bc87-756f4b76022c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"subbrands\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"brandId\": 1,\n            \"logo\": \"subbrands/example.png\",\n            \"sortOrder\": 1,\n            \"name\": \"Sub-brand\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/subbrands/1","urlObject":{"path":["subbrands","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"fedf958e-6baf-46f8-bc87-756f4b76022c"},{"name":"Delete","id":"255266e0-d6be-46a0-a492-d4cb42fdc9a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/subbrands/1","urlObject":{"path":["subbrands","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"255266e0-d6be-46a0-a492-d4cb42fdc9a6"}],"id":"f5685d73-14dc-4c45-9fde-6e7f29a181b6","_postman_id":"f5685d73-14dc-4c45-9fde-6e7f29a181b6","description":""},{"name":"Branches","item":[{"name":"List all","id":"00263609-4911-4cdd-9b09-6924d1ac6626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/branches","urlObject":{"path":["branches"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"00263609-4911-4cdd-9b09-6924d1ac6626"},{"name":"Get one","id":"4578c030-ad02-41bb-8b03-b28ebc8b2414","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/branches/1","urlObject":{"path":["branches","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4578c030-ad02-41bb-8b03-b28ebc8b2414"},{"name":"Create","id":"dc673ee7-9b02-47bc-9fc4-05d7ff7d53dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"branches\",\n        \"attributes\": {\n            \"partnerId\": 1,\n            \"brandId\": 1,\n            \"districtId\": 1,\n            \"slug\": \"papa-johns-narimanov\",\n            \"latitude\": 40.4098,\n            \"longitude\": 49.8765,\n            \"phone\": \"+994501234567\",\n            \"isOpen\": true,\n            \"isActive\": true,\n            \"name\": \"Papa John's Narimanov\",\n            \"address\": \"28 May str. 15\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/branches","urlObject":{"path":["branches"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc673ee7-9b02-47bc-9fc4-05d7ff7d53dd"},{"name":"Update","id":"315ec509-a766-41b1-a38a-6dceb09deb83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"branches\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"partnerId\": 1,\n            \"brandId\": 1,\n            \"districtId\": 1,\n            \"slug\": \"papa-johns-narimanov\",\n            \"latitude\": 40.4098,\n            \"longitude\": 49.8765,\n            \"phone\": \"+994501234567\",\n            \"isOpen\": true,\n            \"isActive\": true,\n            \"name\": \"Papa John's Narimanov\",\n            \"address\": \"28 May str. 15\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/branches/1","urlObject":{"path":["branches","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"315ec509-a766-41b1-a38a-6dceb09deb83"},{"name":"Delete","id":"d37482a1-bb05-41f8-9319-2c11c5811b46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/branches/1","urlObject":{"path":["branches","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d37482a1-bb05-41f8-9319-2c11c5811b46"}],"id":"23651ca0-3f52-4939-bfc7-c1588dcba204","_postman_id":"23651ca0-3f52-4939-bfc7-c1588dcba204","description":""},{"name":"Branch About Sections","item":[{"name":"List all","id":"159e83ac-94d1-49c5-911f-9d015b5e3122","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/branch-about-sections","urlObject":{"path":["branch-about-sections"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"159e83ac-94d1-49c5-911f-9d015b5e3122"},{"name":"Get one","id":"33b15007-e4e8-4c0d-ab76-8ded8d977620","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/branch-about-sections/1","urlObject":{"path":["branch-about-sections","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"33b15007-e4e8-4c0d-ab76-8ded8d977620"},{"name":"Create","id":"4a716139-3e77-4d27-a6bf-1543ae3c81dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"branch-about-sections\",\n        \"attributes\": {\n            \"branchId\": 1,\n            \"icon\": \"info\",\n            \"sortOrder\": 1,\n            \"title\": \"About us\",\n            \"content\": \"Family-friendly restaurant.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/branch-about-sections","urlObject":{"path":["branch-about-sections"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"4a716139-3e77-4d27-a6bf-1543ae3c81dd"},{"name":"Update","id":"57b04e7d-5485-428d-8519-7aab27ec539c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"branch-about-sections\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"branchId\": 1,\n            \"icon\": \"info\",\n            \"sortOrder\": 1,\n            \"title\": \"About us\",\n            \"content\": \"Family-friendly restaurant.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/branch-about-sections/1","urlObject":{"path":["branch-about-sections","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"57b04e7d-5485-428d-8519-7aab27ec539c"},{"name":"Delete","id":"1d7e4d6d-0509-4e2a-9634-59fb6ef3683c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/branch-about-sections/1","urlObject":{"path":["branch-about-sections","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d7e4d6d-0509-4e2a-9634-59fb6ef3683c"}],"id":"ec60be13-3622-40fa-817e-b1084202ed90","_postman_id":"ec60be13-3622-40fa-817e-b1084202ed90","description":""},{"name":"Amenities","item":[{"name":"List all","id":"d230d265-be96-423f-9ee4-39b23bfe0a0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/amenities","urlObject":{"path":["amenities"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d230d265-be96-423f-9ee4-39b23bfe0a0d"},{"name":"Get one","id":"353ec3cf-9126-46d7-adb0-9a4bf22c3035","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/amenities/1","urlObject":{"path":["amenities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"353ec3cf-9126-46d7-adb0-9a4bf22c3035"},{"name":"Create","id":"00be083c-bcf9-427b-b5ee-f5e510a4b482","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"amenities\",\n        \"attributes\": {\n            \"slug\": \"wifi\",\n            \"icon\": \"wifi\",\n            \"name\": \"WiFi\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/amenities","urlObject":{"path":["amenities"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"00be083c-bcf9-427b-b5ee-f5e510a4b482"},{"name":"Update","id":"84b7adda-e818-41be-971d-8e5321920ace","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"amenities\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"slug\": \"wifi\",\n            \"icon\": \"wifi\",\n            \"name\": \"WiFi\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/amenities/1","urlObject":{"path":["amenities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"84b7adda-e818-41be-971d-8e5321920ace"},{"name":"Delete","id":"c9daabf0-8873-4f70-a41e-b4c9c44c88a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/amenities/1","urlObject":{"path":["amenities","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9daabf0-8873-4f70-a41e-b4c9c44c88a1"}],"id":"69c0c74e-709c-462b-b855-4c5ecce0a062","_postman_id":"69c0c74e-709c-462b-b855-4c5ecce0a062","description":""},{"name":"Amenity Branch","item":[{"name":"List links","id":"670e68d1-e407-4434-b511-cf11264e105c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/pivot-links/amenity-branch","urlObject":{"path":["pivot-links","amenity-branch"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"670e68d1-e407-4434-b511-cf11264e105c"},{"name":"Create link","id":"7249461f-1ea5-4527-bccf-2832afb2c1c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"amenity-branch\",\n        \"attributes\": {\n            \"branchId\": 1,\n            \"subcategoryId\": 1\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/pivot-links/amenity-branch","urlObject":{"path":["pivot-links","amenity-branch"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7249461f-1ea5-4527-bccf-2832afb2c1c0"},{"name":"Delete link","id":"64dbc8c5-d7a0-451c-8b0c-cd9cf1e0a54e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/pivot-links/amenity-branch/1:1","urlObject":{"path":["pivot-links","amenity-branch","1:1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"64dbc8c5-d7a0-451c-8b0c-cd9cf1e0a54e"}],"id":"cc569a78-bfe0-4acf-ad08-457abc21defb","_postman_id":"cc569a78-bfe0-4acf-ad08-457abc21defb","description":""}],"id":"bf9104ee-e9e3-475a-a1e8-4945d5435e58","_postman_id":"bf9104ee-e9e3-475a-a1e8-4945d5435e58","description":""},{"name":"Promos & loyalty","item":[{"name":"Promo Types","item":[{"name":"List all","id":"88b96746-b80f-493f-9363-aa3ce21a6a9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-types","urlObject":{"path":["promo-types"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"88b96746-b80f-493f-9363-aa3ce21a6a9b"},{"name":"Get one","id":"730bec3f-0b3f-4572-8157-535a4df2e32b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-types/1","urlObject":{"path":["promo-types","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"730bec3f-0b3f-4572-8157-535a4df2e32b"},{"name":"Create","id":"373d850b-7494-4055-b816-0ce9bd78bcc5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"promo-types\",\n        \"attributes\": {\n            \"slug\": \"welcome-deal\",\n            \"name\": \"Welcome Deal\",\n            \"description\": \"First visit promo.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promo-types","urlObject":{"path":["promo-types"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"373d850b-7494-4055-b816-0ce9bd78bcc5"},{"name":"Update","id":"19c6d87d-e703-4baa-87d9-ca031a1bf696","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"promo-types\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"slug\": \"welcome-deal\",\n            \"name\": \"Welcome Deal\",\n            \"description\": \"First visit promo.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promo-types/1","urlObject":{"path":["promo-types","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"19c6d87d-e703-4baa-87d9-ca031a1bf696"},{"name":"Delete","id":"362cc36b-0350-481b-8517-89388315ee72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-types/1","urlObject":{"path":["promo-types","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"362cc36b-0350-481b-8517-89388315ee72"}],"id":"784b4ef7-dcb9-4bca-a66a-ed99afa49fac","_postman_id":"784b4ef7-dcb9-4bca-a66a-ed99afa49fac","description":""},{"name":"Promos","item":[{"name":"List all","id":"0f14b673-ad9e-4cc0-9816-830ae6ece87b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promos","urlObject":{"path":["promos"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f14b673-ad9e-4cc0-9816-830ae6ece87b"},{"name":"Get one","id":"c72c763d-7345-45b7-a448-84a113f3432a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promos/1","urlObject":{"path":["promos","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c72c763d-7345-45b7-a448-84a113f3432a"},{"name":"Create","id":"78b0fb3a-7f76-4311-b611-3170688928d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"promos\",\n        \"attributes\": {\n            \"promoTypeId\": 1,\n            \"branchId\": 1,\n            \"partnerId\": 1,\n            \"discountType\": \"percentage\",\n            \"discountValue\": 20,\n            \"limitPerUser\": 2,\n            \"remainingQuantity\": 100,\n            \"isActive\": true,\n            \"title\": \"20% off\",\n            \"description\": \"Valid today.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promos","urlObject":{"path":["promos"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"78b0fb3a-7f76-4311-b611-3170688928d6"},{"name":"Update","id":"df12b3b6-cd7d-4999-9982-f54bad21a265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"promos\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"promoTypeId\": 1,\n            \"branchId\": 1,\n            \"partnerId\": 1,\n            \"discountType\": \"percentage\",\n            \"discountValue\": 20,\n            \"limitPerUser\": 2,\n            \"remainingQuantity\": 100,\n            \"isActive\": true,\n            \"title\": \"20% off\",\n            \"description\": \"Valid today.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promos/1","urlObject":{"path":["promos","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"df12b3b6-cd7d-4999-9982-f54bad21a265"},{"name":"Delete","id":"386513ee-f9e5-42e5-9a50-98d6daad77c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promos/1","urlObject":{"path":["promos","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"386513ee-f9e5-42e5-9a50-98d6daad77c3"}],"id":"ccbf9436-7bda-4155-bba9-f9d4556b9475","_postman_id":"ccbf9436-7bda-4155-bba9-f9d4556b9475","description":""},{"name":"Promo Activations","item":[{"name":"List all","id":"2a0387af-d273-44aa-b9e0-fa2d3f22ab20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-activations","urlObject":{"path":["promo-activations"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a0387af-d273-44aa-b9e0-fa2d3f22ab20"},{"name":"Get one","id":"d19bfc0d-8b0e-40cf-a97c-d71c59eae452","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-activations/1","urlObject":{"path":["promo-activations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d19bfc0d-8b0e-40cf-a97c-d71c59eae452"},{"name":"Create","id":"633c7877-f521-4ef0-ae24-c244b22f1b68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"promo-activations\",\n        \"attributes\": {\n            \"promoId\": 1,\n            \"customerId\": 1,\n            \"code\": \"PAPADEMO\",\n            \"status\": \"pending\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promo-activations","urlObject":{"path":["promo-activations"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"633c7877-f521-4ef0-ae24-c244b22f1b68"},{"name":"Update","id":"638a9478-95d9-4a13-9884-5d500d522ac2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"promo-activations\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"promoId\": 1,\n            \"customerId\": 1,\n            \"code\": \"PAPADEMO\",\n            \"status\": \"pending\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promo-activations/1","urlObject":{"path":["promo-activations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"638a9478-95d9-4a13-9884-5d500d522ac2"},{"name":"Delete","id":"c19fa94e-ec65-4d0f-a3ea-817405dca534","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-activations/1","urlObject":{"path":["promo-activations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c19fa94e-ec65-4d0f-a3ea-817405dca534"}],"id":"df3ee61a-cfbc-4651-959b-a47dbddf8e1a","_postman_id":"df3ee61a-cfbc-4651-959b-a47dbddf8e1a","description":""},{"name":"Promo Activation Logs","item":[{"name":"List all","id":"7b6c4cc5-173c-43a9-bc8a-25d41cf58864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-activation-logs","urlObject":{"path":["promo-activation-logs"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b6c4cc5-173c-43a9-bc8a-25d41cf58864"},{"name":"Get one","id":"f2f6e215-25e8-4ab9-9595-579ac1c37c4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-activation-logs/1","urlObject":{"path":["promo-activation-logs","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2f6e215-25e8-4ab9-9595-579ac1c37c4b"},{"name":"Create","id":"f17fdc70-bf16-4c57-89d4-b72922fd1823","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"promo-activation-logs\",\n        \"attributes\": {\n            \"promoActivationId\": 1,\n            \"action\": \"scan\",\n            \"metadata\": {\n                \"source\": \"employee_app\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promo-activation-logs","urlObject":{"path":["promo-activation-logs"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f17fdc70-bf16-4c57-89d4-b72922fd1823"},{"name":"Update","id":"9c3b7291-0dfa-472a-b361-f7e1b3d84fc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"promo-activation-logs\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"promoActivationId\": 1,\n            \"action\": \"scan\",\n            \"metadata\": {\n                \"source\": \"employee_app\"\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promo-activation-logs/1","urlObject":{"path":["promo-activation-logs","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9c3b7291-0dfa-472a-b361-f7e1b3d84fc6"},{"name":"Delete","id":"14b4953b-b812-4b55-ba12-9ec7fd752940","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-activation-logs/1","urlObject":{"path":["promo-activation-logs","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"14b4953b-b812-4b55-ba12-9ec7fd752940"}],"id":"54a31898-0fe6-415c-9918-c1e728436e8d","_postman_id":"54a31898-0fe6-415c-9918-c1e728436e8d","description":""},{"name":"Loyalty Cards","item":[{"name":"List all","id":"79e1ba4d-1f69-4609-acc7-13b6f4cd5dd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/loyalty-cards","urlObject":{"path":["loyalty-cards"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"79e1ba4d-1f69-4609-acc7-13b6f4cd5dd0"},{"name":"Get one","id":"0a6d4725-1668-4dbd-acbd-c634c3ce42a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/loyalty-cards/1","urlObject":{"path":["loyalty-cards","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0a6d4725-1668-4dbd-acbd-c634c3ce42a1"},{"name":"Create","id":"02ddfd59-81ab-4f28-bfcc-e4af6260809a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"loyalty-cards\",\n        \"attributes\": {\n            \"branchId\": 1,\n            \"type\": \"punch_card\",\n            \"discountPercentage\": 10,\n            \"punchesRequired\": 10,\n            \"isUnlimited\": false,\n            \"isActive\": true,\n            \"title\": \"Buy 10 get 1 free\",\n            \"rewardDescription\": \"Free coffee\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/loyalty-cards","urlObject":{"path":["loyalty-cards"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"02ddfd59-81ab-4f28-bfcc-e4af6260809a"},{"name":"Update","id":"f16a0545-f7bb-4ba2-95b9-c07aaf8e3940","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"loyalty-cards\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"branchId\": 1,\n            \"type\": \"punch_card\",\n            \"discountPercentage\": 10,\n            \"punchesRequired\": 10,\n            \"isUnlimited\": false,\n            \"isActive\": true,\n            \"title\": \"Buy 10 get 1 free\",\n            \"rewardDescription\": \"Free coffee\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/loyalty-cards/1","urlObject":{"path":["loyalty-cards","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f16a0545-f7bb-4ba2-95b9-c07aaf8e3940"},{"name":"Delete","id":"10b81154-24f8-4d08-824b-a5fc45d81562","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/loyalty-cards/1","urlObject":{"path":["loyalty-cards","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"10b81154-24f8-4d08-824b-a5fc45d81562"}],"id":"aaf433bd-bad3-4cfb-889e-9ae3ca1287b5","_postman_id":"aaf433bd-bad3-4cfb-889e-9ae3ca1287b5","description":""}],"id":"c41d2988-2938-41c6-9afd-7e5720ae7ac5","_postman_id":"c41d2988-2938-41c6-9afd-7e5720ae7ac5","description":""},{"name":"Users & access","item":[{"name":"Customers","item":[{"name":"List all","id":"6fb71086-51e4-485e-9d50-12d124fb517f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customers","urlObject":{"path":["customers"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6fb71086-51e4-485e-9d50-12d124fb517f"},{"name":"Get one","id":"b6537114-5740-4dd9-a780-28f62d8f6201","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customers/1","urlObject":{"path":["customers","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6537114-5740-4dd9-a780-28f62d8f6201"},{"name":"Create","id":"cd4bb8a6-c633-4f15-a62c-a239e8a1c440","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"customers\",\n        \"attributes\": {\n            \"phone\": \"+994509999999\",\n            \"email\": \"customer@loya.cc\",\n            \"firstName\": \"James\",\n            \"lastName\": \"Carter\",\n            \"locale\": \"en\",\n            \"isActive\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/customers","urlObject":{"path":["customers"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd4bb8a6-c633-4f15-a62c-a239e8a1c440"},{"name":"Update","id":"3d603c21-c079-4384-851e-10dd32c803c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"customers\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"phone\": \"+994509999999\",\n            \"email\": \"customer@loya.cc\",\n            \"firstName\": \"James\",\n            \"lastName\": \"Carter\",\n            \"locale\": \"en\",\n            \"isActive\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/customers/1","urlObject":{"path":["customers","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d603c21-c079-4384-851e-10dd32c803c4"},{"name":"Delete","id":"f0185ef6-12fc-4f54-80f4-4f8540b529e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customers/1","urlObject":{"path":["customers","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f0185ef6-12fc-4f54-80f4-4f8540b529e3"}],"id":"0e6273f7-70d4-4a95-970d-202016ea8aca","_postman_id":"0e6273f7-70d4-4a95-970d-202016ea8aca","description":""},{"name":"Customer Devices","item":[{"name":"List all","id":"72de224a-45bf-4746-aa18-0be5446ce607","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer-devices","urlObject":{"path":["customer-devices"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"72de224a-45bf-4746-aa18-0be5446ce607"},{"name":"Get one","id":"848a515e-a5e8-4c06-8aab-a7a0d481e5ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer-devices/1","urlObject":{"path":["customer-devices","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"848a515e-a5e8-4c06-8aab-a7a0d481e5ab"},{"name":"Create","id":"a2aa2772-e608-4035-b319-be76a09e0c4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"customer-devices\",\n        \"attributes\": {\n            \"customerId\": 1,\n            \"pushToken\": \"fcm-token\",\n            \"platform\": \"ios\",\n            \"deviceId\": \"UUID-DEVICE\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/customer-devices","urlObject":{"path":["customer-devices"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2aa2772-e608-4035-b319-be76a09e0c4a"},{"name":"Update","id":"5a3680c3-b113-4ee6-ad67-7e1520b02d95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"customer-devices\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"customerId\": 1,\n            \"pushToken\": \"fcm-token\",\n            \"platform\": \"ios\",\n            \"deviceId\": \"UUID-DEVICE\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/customer-devices/1","urlObject":{"path":["customer-devices","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a3680c3-b113-4ee6-ad67-7e1520b02d95"},{"name":"Delete","id":"3ae032c7-2ba7-4075-a7b1-95ff8f6ea3f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer-devices/1","urlObject":{"path":["customer-devices","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ae032c7-2ba7-4075-a7b1-95ff8f6ea3f7"}],"id":"6e1ca7a8-7ea4-4161-a3cb-08ab8247f00f","_postman_id":"6e1ca7a8-7ea4-4161-a3cb-08ab8247f00f","description":""},{"name":"Partner Customers","item":[{"name":"List all","id":"56f5ad18-c42a-44bd-9027-9d668e7de9eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partner-customers","urlObject":{"path":["partner-customers"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"56f5ad18-c42a-44bd-9027-9d668e7de9eb"},{"name":"Get one","id":"29e3e319-7d4e-40f1-a0e9-08e163c74431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partner-customers/1","urlObject":{"path":["partner-customers","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"29e3e319-7d4e-40f1-a0e9-08e163c74431"},{"name":"Create","id":"563ff032-f6d4-4462-a724-c7eafa4772f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"partner-customers\",\n        \"attributes\": {\n            \"partnerId\": 1,\n            \"customerId\": 1\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/partner-customers","urlObject":{"path":["partner-customers"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"563ff032-f6d4-4462-a724-c7eafa4772f3"},{"name":"Update","id":"6b0f1073-93b8-4e01-aa0c-d3b87c0b38ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"partner-customers\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"partnerId\": 1,\n            \"customerId\": 1\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/partner-customers/1","urlObject":{"path":["partner-customers","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b0f1073-93b8-4e01-aa0c-d3b87c0b38ff"},{"name":"Delete","id":"e0fa5caf-810a-4739-b6d3-fea7f280f808","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/partner-customers/1","urlObject":{"path":["partner-customers","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0fa5caf-810a-4739-b6d3-fea7f280f808"}],"id":"e05d3d7d-2411-46e2-9ab6-966e05abe1aa","_postman_id":"e05d3d7d-2411-46e2-9ab6-966e05abe1aa","description":""},{"name":"Admins","item":[{"name":"List all","id":"f1b67030-6a6a-45d5-9623-197c132ef1ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admins","urlObject":{"path":["admins"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1b67030-6a6a-45d5-9623-197c132ef1ed"},{"name":"Get one","id":"33baee9e-2b5e-4eb3-bf15-8d6640bc28e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admins/1","urlObject":{"path":["admins","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"33baee9e-2b5e-4eb3-bf15-8d6640bc28e7"},{"name":"Create","id":"7b863002-c06d-4a62-ba47-b582cb9c8ac5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"admins\",\n        \"attributes\": {\n            \"name\": \"New Admin\",\n            \"email\": \"new-admin@loya.cc\",\n            \"password\": \"password\",\n            \"isActive\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admins","urlObject":{"path":["admins"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b863002-c06d-4a62-ba47-b582cb9c8ac5"},{"name":"Update","id":"36ecd273-40fb-494e-afcd-fc97f388ad5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"admins\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"name\": \"New Admin\",\n            \"email\": \"new-admin@loya.cc\",\n            \"password\": \"password\",\n            \"isActive\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/admins/1","urlObject":{"path":["admins","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"36ecd273-40fb-494e-afcd-fc97f388ad5f"},{"name":"Delete","id":"6965b480-f6a8-4e0a-9057-6647b1d93c99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/admins/1","urlObject":{"path":["admins","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6965b480-f6a8-4e0a-9057-6647b1d93c99"}],"id":"84fbc729-b2c3-4a55-946f-04c5d61d8e86","_postman_id":"84fbc729-b2c3-4a55-946f-04c5d61d8e86","description":""},{"name":"Employees","item":[{"name":"List all","id":"786dfc37-2221-470b-b84e-7a29dd40815f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/employees","urlObject":{"path":["employees"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"786dfc37-2221-470b-b84e-7a29dd40815f"},{"name":"Get one","id":"d68fbeac-598a-47ec-aaba-3373239cf8e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/employees/1","urlObject":{"path":["employees","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d68fbeac-598a-47ec-aaba-3373239cf8e1"},{"name":"Create","id":"cdfbddab-d263-4f8f-af8a-6e3209fd7360","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"employees\",\n        \"attributes\": {\n            \"partnerId\": 1,\n            \"name\": \"Validator\",\n            \"email\": \"validator@example.az\",\n            \"password\": \"password\",\n            \"isActive\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/employees","urlObject":{"path":["employees"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cdfbddab-d263-4f8f-af8a-6e3209fd7360"},{"name":"Update","id":"e73f4805-6851-4e44-a750-d383f0a0d180","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"employees\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"partnerId\": 1,\n            \"name\": \"Validator\",\n            \"email\": \"validator@example.az\",\n            \"password\": \"password\",\n            \"isActive\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/employees/1","urlObject":{"path":["employees","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e73f4805-6851-4e44-a750-d383f0a0d180"},{"name":"Delete","id":"3d29970b-10a5-4f8f-8c9d-74d5aca820d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/employees/1","urlObject":{"path":["employees","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d29970b-10a5-4f8f-8c9d-74d5aca820d0"}],"id":"3948212a-0102-4a2b-8bc9-5b8e9e87ba03","_postman_id":"3948212a-0102-4a2b-8bc9-5b8e9e87ba03","description":""}],"id":"9772266d-9998-42a8-8203-0f729bf11635","_postman_id":"9772266d-9998-42a8-8203-0f729bf11635","description":""},{"name":"Content","item":[{"name":"Home Banners","item":[{"name":"List all","id":"c1ad68d3-c5e8-4b79-9f0f-1451f9a0177c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/home-banners","urlObject":{"path":["home-banners"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1ad68d3-c5e8-4b79-9f0f-1451f9a0177c"},{"name":"Get one","id":"cb647616-9c63-4c94-9a6e-f0df13a073b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/home-banners/1","urlObject":{"path":["home-banners","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cb647616-9c63-4c94-9a6e-f0df13a073b1"},{"name":"Create","id":"87ec71ca-ed2e-4acb-b61f-0db7ecd5a84b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"home-banners\",\n        \"attributes\": {\n            \"image\": \"banners/welcome.jpg\",\n            \"linkType\": \"branch\",\n            \"linkId\": 1,\n            \"sortOrder\": 1,\n            \"isActive\": true,\n            \"title\": \"Deals and loyalty\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/home-banners","urlObject":{"path":["home-banners"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"87ec71ca-ed2e-4acb-b61f-0db7ecd5a84b"},{"name":"Update","id":"e2620778-d621-4a99-b087-8f0af6dc1391","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"home-banners\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"image\": \"banners/welcome.jpg\",\n            \"linkType\": \"branch\",\n            \"linkId\": 1,\n            \"sortOrder\": 1,\n            \"isActive\": true,\n            \"title\": \"Deals and loyalty\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/home-banners/1","urlObject":{"path":["home-banners","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e2620778-d621-4a99-b087-8f0af6dc1391"},{"name":"Delete","id":"6e3a0875-e7c8-4ab4-ac8a-cb10d2523819","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/home-banners/1","urlObject":{"path":["home-banners","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e3a0875-e7c8-4ab4-ac8a-cb10d2523819"}],"id":"e1a5b8bf-a307-4782-b279-5e04dc1bbdad","_postman_id":"e1a5b8bf-a307-4782-b279-5e04dc1bbdad","description":""},{"name":"Cms Pages","item":[{"name":"List all","id":"866178b5-bf40-4ea0-8627-fcda1a8dfedf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/cms-pages","urlObject":{"path":["cms-pages"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"866178b5-bf40-4ea0-8627-fcda1a8dfedf"},{"name":"Get one","id":"ccb3e7ad-8e28-4ffa-9b6b-1e842875455a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/cms-pages/1","urlObject":{"path":["cms-pages","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ccb3e7ad-8e28-4ffa-9b6b-1e842875455a"},{"name":"Create","id":"c073ffa3-4ad2-44c1-9a95-3ea760eae7a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cms-pages\",\n        \"attributes\": {\n            \"slug\": \"about\",\n            \"pageType\": \"about\",\n            \"publishedAt\": \"2026-06-08T10:00:00.000000Z\",\n            \"title\": \"About Loya\",\n            \"body\": \"Loya connects customers with partner offers.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/cms-pages","urlObject":{"path":["cms-pages"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c073ffa3-4ad2-44c1-9a95-3ea760eae7a5"},{"name":"Update","id":"a4fdf13c-aeba-412e-a22b-c68a634f3939","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"cms-pages\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"slug\": \"about\",\n            \"pageType\": \"about\",\n            \"publishedAt\": \"2026-06-08T10:00:00.000000Z\",\n            \"title\": \"About Loya\",\n            \"body\": \"Loya connects customers with partner offers.\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/cms-pages/1","urlObject":{"path":["cms-pages","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4fdf13c-aeba-412e-a22b-c68a634f3939"},{"name":"Delete","id":"72cfc61c-a382-41f7-b1fe-eaf3aedeacf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/cms-pages/1","urlObject":{"path":["cms-pages","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"72cfc61c-a382-41f7-b1fe-eaf3aedeacf5"}],"id":"f3733404-eb04-4560-94dc-11d0ef8ac8f7","_postman_id":"f3733404-eb04-4560-94dc-11d0ef8ac8f7","description":""}],"id":"cb75e2c3-4286-4e11-bfc4-4e6e2a7b99ee","_postman_id":"cb75e2c3-4286-4e11-bfc4-4e6e2a7b99ee","description":""},{"name":"System","item":[{"name":"Translations","item":[{"name":"List all","id":"d0157858-7d86-4a8c-9f93-0c46a01f1ead","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/translations","urlObject":{"path":["translations"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0157858-7d86-4a8c-9f93-0c46a01f1ead"},{"name":"Get one","id":"22ddd902-3d30-4032-9f7e-de47e8c3268b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/translations/1","urlObject":{"path":["translations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"22ddd902-3d30-4032-9f7e-de47e8c3268b"},{"name":"Create","id":"9ea0f7cb-770b-4f29-b7fc-641cc2963a4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"translations\",\n        \"attributes\": {\n            \"tableName\": \"amenities\",\n            \"columnName\": \"name\",\n            \"foreignKey\": 1,\n            \"locale\": \"az\",\n            \"value\": \"WiFi\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/translations","urlObject":{"path":["translations"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ea0f7cb-770b-4f29-b7fc-641cc2963a4c"},{"name":"Update","id":"6bbee781-76e8-4161-831b-cfefc7cb9551","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"translations\",\n        \"id\": \"1\",\n        \"attributes\": {\n            \"tableName\": \"amenities\",\n            \"columnName\": \"name\",\n            \"foreignKey\": 1,\n            \"locale\": \"az\",\n            \"value\": \"WiFi\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/translations/1","urlObject":{"path":["translations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6bbee781-76e8-4161-831b-cfefc7cb9551"},{"name":"Delete","id":"2d93ebfc-290d-49cf-929c-6b93f9971e49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/vnd.api+json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/translations/1","urlObject":{"path":["translations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d93ebfc-290d-49cf-929c-6b93f9971e49"}],"id":"7a556feb-fc42-4718-99cc-00e954ec9157","_postman_id":"7a556feb-fc42-4718-99cc-00e954ec9157","description":""}],"id":"f590707c-db5c-4fd3-b2c8-ead908ece55b","_postman_id":"f590707c-db5c-4fd3-b2c8-ead908ece55b","description":""}],"id":"a1b22a24-22ce-4cd3-add4-2b45566a9f79","description":"<p>Frontend: <strong>admin-panel</strong> (port 3001)\nAPI base: <code>https://api.loya.cc/api/v1</code>\nAuth guard: <strong>admin</strong>\nDemo: <code>admin@loya.cc</code> / <code>password</code></p>\n<p><strong>Endpoints:</strong> 254\n<strong>Methods:</strong> GET 116 · POST 50 · PATCH 43 · PUT 1 · DELETE 44</p>\n<p><strong>Sections:</strong></p>\n<ul>\n<li>Auth: 3</li>\n<li>Lookups: 19</li>\n<li>Partner hierarchy: 6</li>\n<li>UI messages: 7</li>\n<li>Library (REST): 68</li>\n<li>Categories: 28</li>\n<li>Locations: 15</li>\n<li>Partners &amp; branches: 43</li>\n<li>Promos &amp; loyalty: 25</li>\n<li>Users &amp; access: 25</li>\n<li>Content: 10</li>\n<li>System: 5</li>\n</ul>\n","_postman_id":"a1b22a24-22ce-4cd3-add4-2b45566a9f79"},{"name":"Customer Mobile Application (@user-panel)","item":[{"name":"Auth","item":[{"name":"OTP send","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"e6120058-a737-4231-88bc-0f1570fb2bb6"}}],"id":"8669fccb-24cc-4258-b2d4-5648f3d2b59e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"phone\": \"+994509876543\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/auth/customer/otp/send","description":"<h2 id=\"summary\">Summary</h2>\n<p>Send a 6-digit SMS verification code to the phone number.</p>\n<h2 id=\"auth\">Auth</h2>\n<p>None</p>\n<h2 id=\"body\">Body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes</td>\n<td>E.164 format, e.g. <code>+994509876543</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-200\">Response <code>200</code></h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"Verification code sent.\",\n  \"dev_code\": \"111111\"\n}\n</code></pre>\n<p><code>dev_code</code> is returned only when <code>APP_MODE=development</code>.</p>\n","urlObject":{"path":["auth","customer","otp","send"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[{"id":"8f8427f3-b070-41e6-998a-f0653fa43627","name":"Development mode","originalRequest":{"method":"POST","header":[],"url":"https://api.loya.cc/api/v1/auth/customer/otp/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Verification code sent.\",\n    \"dev_code\": \"111111\"\n}"}],"_postman_id":"8669fccb-24cc-4258-b2d4-5648f3d2b59e"},{"name":"OTP verify","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"101129ab-2239-471d-869b-16ebfe899361"}}],"id":"a1c68024-75ae-4443-9907-4468ab0a2247","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"phone\": \"+994509876543\",\n    \"code\": \"111111\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/auth/customer/otp/verify","description":"<h2 id=\"summary\">Summary</h2>\n<p>Verify the OTP code. Required before <strong>Register</strong>.</p>\n<h2 id=\"auth\">Auth</h2>\n<p>None</p>\n<h2 id=\"body\">Body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes</td>\n<td>Same phone used in OTP send</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>yes</td>\n<td>6 digits. Use <code>111111</code> in development</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-200\">Response <code>200</code></h2>\n<p><code>json\\n{ \"message\": \"OTP verified.\" }\\n</code></p>\n<h2 id=\"errors\">Errors</h2>\n<ul>\n<li><code>422</code> — expired or invalid code</li>\n</ul>\n","urlObject":{"path":["auth","customer","otp","verify"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a1c68024-75ae-4443-9907-4468ab0a2247"},{"name":"Register","event":[{"listen":"test","script":{"type":"text/javascript","exec":["if ([200, 201].includes(pm.response.code)) {","  const json = pm.response.json();","  if (json.access_token) pm.collectionVariables.set('customerToken', json.access_token);","}","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"e2649cf9-8fef-4138-8384-fe70ba71655d"}}],"id":"c42e061c-d97c-4e8d-8fbc-9430815136e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"phone\": \"+994509876543\",\n    \"password\": \"password123\",\n    \"first_name\": \"James\",\n    \"last_name\": \"Carter\",\n    \"locale\": \"en\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/auth/customer/register","description":"<h2 id=\"summary\">Summary</h2>\n<p>Create a customer account after successful OTP verification.</p>\n<h2 id=\"auth\">Auth</h2>\n<p>None (phone must be OTP-verified first)</p>\n<h2 id=\"body\">Body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes</td>\n<td>Verified phone number</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>yes</td>\n<td>Min 8 characters</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td>no</td>\n<td></td>\n</tr>\n<tr>\n<td>locale</td>\n<td>string</td>\n<td>no</td>\n<td><code>en</code> · <code>az</code> · <code>ru</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-201\">Response <code>201</code></h2>\n<p><code>json\\n{\\n  \"token_type\": \"Bearer\",\\n  \"access_token\": \"…\",\\n  \"role\": \"customer\",\\n  \"user\": { \"id\": 1, \"phone\": \"+994…\", \"firstName\": \"James\" }\\n}\\n</code></p>\n<h2 id=\"variables\">Variables</h2>\n<p>Saves <code>customerToken</code> from <code>access_token</code></p>\n","urlObject":{"path":["auth","customer","register"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c42e061c-d97c-4e8d-8fbc-9430815136e2"},{"name":"Login","event":[{"listen":"test","script":{"type":"text/javascript","exec":["if ([200, 201].includes(pm.response.code)) {","  const json = pm.response.json();","  if (json.access_token) pm.collectionVariables.set('customerToken', json.access_token);","}","if (pm.response.code === 200) {","  if (json.access_token) {","    const varName = json.role === 'partner' ? 'partnerToken' : 'customerToken';","    pm.collectionVariables.set(varName, json.access_token);","    pm.collectionVariables.set('userToken', json.access_token);","  }","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"9572c1ff-daba-472e-b619-ed236a6b315e"}}],"id":"a2c2b876-5817-4b04-abc8-5bf302abfc0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"phone\": \"+994509876543\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/auth/login","description":"<h2 id=\"summary\">Summary</h2>\n<p>Unified phone login for the user app. Partner account is matched first.</p>\n<h2 id=\"auth\">Auth</h2>\n<p>None</p>\n<h2 id=\"body\">Body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes</td>\n<td>Partner or customer phone</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-200\">Response <code>200</code></h2>\n<p><code>json\\n{\\n  \"token_type\": \"Bearer\",\\n  \"access_token\": \"…\",\\n  \"role\": \"customer\",\\n  \"user\": { … }\\n}\\n</code>\\n<code>role</code> is <code>customer</code> or <code>partner</code>.</p>\n<h2 id=\"variables\">Variables</h2>\n<p>Saves <code>customerToken</code> or <code>partnerToken</code> and <code>userToken</code></p>\n","urlObject":{"path":["auth","login"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[{"id":"e8669f20-74fd-4130-9eb3-8d7cdde26156","name":"Customer login","originalRequest":{"method":"POST","header":[],"url":"https://api.loya.cc/api/v1/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"token_type\": \"Bearer\",\n    \"access_token\": \"eyJ\\u2026\",\n    \"role\": \"customer\",\n    \"user\": {\n        \"id\": 1,\n        \"phone\": \"+994509876543\",\n        \"firstName\": \"James\"\n    }\n}"}],"_postman_id":"a2c2b876-5817-4b04-abc8-5bf302abfc0e"},{"name":"Password reset","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"63fc1207-37e7-4b19-bd08-7df16ca7e5fb"}}],"id":"881457cd-f864-418c-8a6c-fede68d87ed9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"phone\": \"+994509876543\",\n    \"password\": \"newpassword\",\n    \"password_confirmation\": \"newpassword\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/auth/customer/password/reset","description":"<h2 id=\"summary\">Summary</h2>\n<p>Reset password using a verified phone (OTP flow).</p>\n<h2 id=\"body\">Body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>yes</td>\n<td>Min 8 characters</td>\n</tr>\n<tr>\n<td>password_confirmation</td>\n<td>string</td>\n<td>yes</td>\n<td>Must match password</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["auth","customer","password","reset"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"881457cd-f864-418c-8a6c-fede68d87ed9"},{"name":"Me","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"d8f2ccb7-070d-4304-890b-f5078b8e202d"}}],"id":"c9ec0556-5c81-4e80-adf3-de9f8adab55c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/auth/me","description":"<h2 id=\"summary\">Summary</h2>\n<p>Current authenticated customer or partner profile.</p>\n<h2 id=\"auth\">Auth</h2>\n<p>Bearer <code></code> or <code></code> / <code></code> for partner routes</p>\n","urlObject":{"path":["auth","me"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9ec0556-5c81-4e80-adf3-de9f8adab55c"},{"name":"Logout","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"ed856048-2c5c-4980-a581-314040800a25"}}],"id":"a5099681-6dcb-4344-b1a9-2ecb4cec408c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/auth/logout","description":"<h2 id=\"summary\">Summary</h2>\n<p>Invalidate the current JWT session.</p>\n<h2 id=\"auth\">Auth</h2>\n<p>Bearer <code></code> or <code></code> / <code></code> for partner routes</p>\n","urlObject":{"path":["auth","logout"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a5099681-6dcb-4344-b1a9-2ecb4cec408c"}],"id":"494c43b5-be00-4524-855d-9b53e3309920","description":"<p>Customer registration uses phone OTP. Unified <code>/auth/login</code> checks <strong>partner</strong> first, then <strong>customer</strong>.</p>\n","_postman_id":"494c43b5-be00-4524-855d-9b53e3309920"},{"name":"Browse (public)","item":[{"name":"Categories","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('categoriesId', String(rows[0].id));","pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"f0e11ef4-41ee-412b-beab-1b5055f63fbf"}}],"id":"3a62cd2d-f62c-4c37-83c1-97220e78c93a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/categories","description":"<h2 id=\"summary\">Summary</h2>\n<p>Top-level categories for the home carousel (Dining, Sport, …).</p>\n<h2 id=\"response-fields\">Response fields</h2>\n<p><code>id</code>, <code>slug</code>, <code>name</code>, <code>icon</code>, <code>iconUrl</code>, <code>emojiIcon</code>, <code>sortOrder</code></p>\n","urlObject":{"path":["categories"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a62cd2d-f62c-4c37-83c1-97220e78c93a"},{"name":"Subcategories","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"f3e0d067-d469-4da4-be5b-6cf5bb008d67"}}],"id":"55feb27d-deae-4600-899c-f5de18db15d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/subcategories","description":"<h2 id=\"summary\">Summary</h2>\n<p>Subcategories linked to categories (Restaurant, Fast food, …). Filter branches via <code>subcategoryIds</code>.</p>\n","urlObject":{"path":["subcategories"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"55feb27d-deae-4600-899c-f5de18db15d1"},{"name":"Category filters","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"5471db6e-e787-4d6e-9818-30e274dcc72e"}}],"id":"87a91945-f157-45cf-928e-58c85dad0c8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"?category_slug=dining","description":"<h2 id=\"summary\">Summary</h2>\n<p>Filter groups and options for a category page.</p>\n","urlObject":{"query":[{"description":{"content":"<p>Category slug (required)</p>\n","type":"text/plain"},"key":"category_slug","value":"dining"}],"variable":[]}},"response":[],"_postman_id":"87a91945-f157-45cf-928e-58c85dad0c8f"},{"name":"Countries","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"fe2f19ec-2d4c-491c-97a0-3d40073ed5bf"}}],"id":"ef413165-4325-490f-8140-84146d66c341","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/countries","description":"<h2 id=\"summary\">Summary</h2>\n<p>Active countries with <code>flagIcon</code> CDN URL.</p>\n","urlObject":{"path":["countries"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef413165-4325-490f-8140-84146d66c341"},{"name":"Cities","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"ac446212-cb2b-4e54-a987-16282e7e1fa6"}}],"id":"a7dbaf3f-45ab-40d9-be4f-6c41d1392965","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"?country_id=1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Cities for location picker.</p>\n","urlObject":{"query":[{"description":{"content":"<p>Filter by country ID</p>\n","type":"text/plain"},"key":"country_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"a7dbaf3f-45ab-40d9-be4f-6c41d1392965"},{"name":"Districts","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"72699b7e-2837-414e-8b78-f5f8a7cc11dd"}}],"id":"0cb62826-4dc2-4c60-8743-67bbef09f593","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"?city_id=1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Districts/neighbourhoods within a city.</p>\n","urlObject":{"query":[{"description":{"content":"<p>Filter by city ID</p>\n","type":"text/plain"},"key":"city_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"0cb62826-4dc2-4c60-8743-67bbef09f593"},{"name":"Subway stations","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"a609bd1a-89ac-4302-b7f8-fa33c1e3219c"}}],"id":"e449a95d-a71e-4ffd-990f-3bb16cdcf9dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"?city_id=1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Metro stations for branch location filters.</p>\n","urlObject":{"query":[{"description":{"content":"<p>Filter by city ID</p>\n","type":"text/plain"},"key":"city_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"e449a95d-a71e-4ffd-990f-3bb16cdcf9dd"},{"name":"Branches","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('branchesId', String(rows[0].id));","pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"0c84a6ca-177b-481f-8c51-d742106b3c62"}}],"id":"821dde07-66bd-473e-8e7d-3154713f5fd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/branches","description":"<h2 id=\"summary\">Summary</h2>\n<p>List active branches. Supports geo sort when <code>lat</code> + <code>lng</code> provided.</p>\n<h2 id=\"query-parameters\">Query parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Param</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>district_id</td>\n<td>int</td>\n<td>Filter by district</td>\n</tr>\n<tr>\n<td>category_id</td>\n<td>int</td>\n<td>Filter by parent category</td>\n</tr>\n<tr>\n<td>subcategory_id</td>\n<td>int</td>\n<td>Single subcategory</td>\n</tr>\n<tr>\n<td>subcategory_ids</td>\n<td>string</td>\n<td>Comma-separated IDs</td>\n</tr>\n<tr>\n<td>q</td>\n<td>string</td>\n<td>Search name/address</td>\n</tr>\n<tr>\n<td>lat</td>\n<td>float</td>\n<td>With <code>lng</code> enables distance sort</td>\n</tr>\n<tr>\n<td>lng</td>\n<td>float</td>\n<td>With <code>lat</code> enables distance sort</td>\n</tr>\n<tr>\n<td>radius</td>\n<td>float</td>\n<td>Km radius (default 20)</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>string</td>\n<td><code>distance</code> when lat/lng set</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-fields\">Response fields</h2>\n<p><code>id</code>, <code>name</code>, <code>slug</code>, <code>logo</code>, <code>coverImage</code>, <code>distanceKm</code>, <code>isOpen</code>, <code>subcategoryIds</code></p>\n","urlObject":{"path":["branches"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"821dde07-66bd-473e-8e7d-3154713f5fd0"},{"name":"Branches nearby","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('branchesId', String(rows[0].id));","pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"494e5003-ff32-4019-a3d7-a4fe9520769e"}}],"id":"ce24f984-0210-440e-a202-edc2cbf37d22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"?lat=40.4093&lng=49.8671&radius=20&sort=distance","description":"<h2 id=\"summary\">Summary</h2>\n<p>Branches sorted by distance from Baku centre (example coordinates).</p>\n","urlObject":{"query":[{"description":{"content":"<p>Latitude</p>\n","type":"text/plain"},"key":"lat","value":"40.4093"},{"description":{"content":"<p>Longitude</p>\n","type":"text/plain"},"key":"lng","value":"49.8671"},{"description":{"content":"<p>Max distance in km</p>\n","type":"text/plain"},"key":"radius","value":"20"},{"description":{"content":"<p>Sort by proximity</p>\n","type":"text/plain"},"key":"sort","value":"distance"}],"variable":[]}},"response":[],"_postman_id":"ce24f984-0210-440e-a202-edc2cbf37d22"},{"name":"Branch detail","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"4507af1c-92ae-4b2d-84d7-82d18696fd40"}}],"id":"3f8b2b3b-1130-4e0f-be2a-73303635775f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/branches/1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Full branch profile: about, amenities, menus, promos, loyalty cards, gallery.</p>\n<h2 id=\"path\">Path</h2>\n<p><code>branchesId</code> collection variable (default <code>1</code>)</p>\n<h2 id=\"includes\">Includes</h2>\n<p><code>aboutSections</code>, <code>amenities</code>, <code>images</code>, <code>menuTargets</code>, <code>promos</code>, <code>loyaltyCards</code>, <code>subBranches</code>, <code>wifiNetworks</code></p>\n","urlObject":{"path":["branches","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[{"id":"aca81562-f626-4b54-8ebc-57fc9a9995ab","name":"Branch detail","originalRequest":{"method":"GET","header":[],"url":"https://api.loya.cc/api/v1/branches/9"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 9,\n        \"name\": \"KFC Narimanov\",\n        \"slug\": \"kfc-narimanov\",\n        \"logo\": \"https://cdn.loya.cc/.../branches/logos/kfc-narimanov.png\",\n        \"coverImage\": \"https://cdn.loya.cc/.../branches/covers/kfc-narimanov.png\",\n        \"distanceKm\": 0.4,\n        \"isOpen\": true,\n        \"todayHours\": \"09:00-23:00\",\n        \"menuUrl\": \"https://cdn.loya.cc/.../menus/kfc-narimanov-menu.pdf\"\n    }\n}"}],"_postman_id":"3f8b2b3b-1130-4e0f-be2a-73303635775f"},{"name":"Sub-branch detail","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"23838b0a-ffe6-400b-af38-3814f6f80a23"}}],"id":"a6d4993b-e4d5-419c-9fa6-a3155ae6099c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/branches/1/sub-branches/1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Sub-brand unit inside a branch (e.g. café zone) with services and loyalty.</p>\n","urlObject":{"path":["branches","1","sub-branches","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6d4993b-e4d5-419c-9fa6-a3155ae6099c"},{"name":"Service detail","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"9b29bf00-4a4c-47bc-9516-9606017f64be"}}],"id":"1cd92142-a8be-4e8d-9f5c-d75df122a76a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/branches/1/services/1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Individual service unit menu, hours, promos, and loyalty cards.</p>\n","urlObject":{"path":["branches","1","services","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1cd92142-a8be-4e8d-9f5c-d75df122a76a"},{"name":"Promos","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('promoId', String(rows[0].id));","pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"d793aaaa-a5e5-4a72-8ddc-81a680f34c1d"}}],"id":"42815b05-f4ed-4a1d-965d-78ee29ead2bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/promos","description":"<h2 id=\"summary\">Summary</h2>\n<p>Public promo catalog. When logged in, includes per-user activation state.</p>\n","urlObject":{"path":["promos"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"42815b05-f4ed-4a1d-965d-78ee29ead2bd"},{"name":"Loyalty cards","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('loyalty-cardsId', String(rows[0].id));","pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"2e6e3164-b6a6-4f53-a419-ca286a2d92ca"}}],"id":"69d332b9-8113-455b-b54f-daae3ed77f42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/loyalty-cards","description":"<h2 id=\"summary\">Summary</h2>\n<p>Visible loyalty programs across branches.</p>\n","urlObject":{"path":["loyalty-cards"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"69d332b9-8113-455b-b54f-daae3ed77f42"},{"name":"Home banners","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"50c1078e-30e7-46ff-b836-66cf0709213e"}}],"id":"082f3728-107b-4a4a-b990-1676e44c0471","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/home-banners","description":"<h2 id=\"summary\">Summary</h2>\n<p>Carousel banners with <code>imageUrl</code> and deep-link (<code>linkType</code>, <code>linkId</code>).</p>\n","urlObject":{"path":["home-banners"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"082f3728-107b-4a4a-b990-1676e44c0471"},{"name":"Media file","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"59a8bf39-6d72-41fd-8f94-a60677d152b3"}}],"id":"11f37540-1a9f-4eda-907f-c59bcc058520","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/media/branches/logos/kfc-narimanov.png","description":"<h2 id=\"summary\">Summary</h2>\n<p>Proxy/serve a storage file when CDN is unavailable.</p>\n<h2 id=\"path-variable\">Path variable</h2>\n<p><code>mediaPath</code> — storage path without <code>storage/</code> prefix, e.g. <code>branches/logos/kfc-narimanov.png</code></p>\n","urlObject":{"path":["media","branches/logos/kfc-narimanov.png"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"11f37540-1a9f-4eda-907f-c59bcc058520"}],"id":"20968505-70c1-4f7e-9522-4d3180ed1e9b","description":"<p>Catalog endpoints used on home, search, category, and branch screens. <strong>No auth required.</strong></p>\n","_postman_id":"20968505-70c1-4f7e-9522-4d3180ed1e9b"},{"name":"Promos","item":[{"name":"Activate promo","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('activationId', String(rows[0].id));","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"89e31c35-6c73-42af-a4f3-f934c4e3b92a"}}],"id":"ebcbe985-057d-4088-97d3-f543bd73e8ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promos/1/activate","description":"<h2 id=\"summary\">Summary</h2>\n<p>Start a promo activation. Returns QR <code>code</code> for validator scan.</p>\n<h2 id=\"auth\">Auth</h2>\n<p>Bearer <code></code></p>\n<h2 id=\"variables\">Variables</h2>\n<p>Saves <code>activationId</code> from response when present</p>\n","urlObject":{"path":["promos","1","activate"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ebcbe985-057d-4088-97d3-f543bd73e8ed"},{"name":"Get activation","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"d9ea15d7-7d5d-45a9-9fba-8d59960765bc"}}],"id":"79b96b3a-2b1b-4b4a-8958-2fed057b1d3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-activations/1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Poll activation status (<code>pending</code>, <code>confirmed</code>, <code>rejected</code>, <code>expired</code>).</p>\n","urlObject":{"path":["promo-activations","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"79b96b3a-2b1b-4b4a-8958-2fed057b1d3a"}],"id":"7f82277f-0c95-4ce1-a4d4-fe01addc29b0","description":"<p>Customer promo activation flow (QR code generation). Requires <code>customerToken</code>.</p>\n","_postman_id":"7f82277f-0c95-4ce1-a4d4-fe01addc29b0"},{"name":"Profile","item":[{"name":"Stats","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"05ce537a-073b-4bf4-8205-63d064d9d043"}}],"id":"a0b9b6ce-8fb3-4292-ad48-9e5400654ea1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/stats","description":"<h2 id=\"summary\">Summary</h2>\n<p>Dashboard counters (favorites, loyalty, visits).</p>\n","urlObject":{"path":["customer","stats"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a0b9b6ce-8fb3-4292-ad48-9e5400654ea1"},{"name":"History","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"18f7c9e9-abef-40dc-90ef-b92a236df123"}}],"id":"0f5d0930-fd0b-4ea9-802d-5dcd88df8f88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/history","description":"<h2 id=\"summary\">Summary</h2>\n<p>Promo activations and loyalty events timeline.</p>\n","urlObject":{"path":["customer","history"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f5d0930-fd0b-4ea9-802d-5dcd88df8f88"},{"name":"Favorites","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"e4528caa-bc75-4127-a5aa-b1dcd8c76280"}}],"id":"d2aaa83e-d823-40e4-a722-21a5a8403f4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/favorites","description":"<h2 id=\"summary\">Summary</h2>\n<p>Saved branches with nested <code>branch</code> resource.</p>\n","urlObject":{"path":["customer","favorites"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2aaa83e-d823-40e4-a722-21a5a8403f4f"},{"name":"Add favorite","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"e2f636a5-e2e6-43c6-b3f2-1b316946922c"}}],"id":"e6e24024-e421-48e1-b16a-8dd1d6b766de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"branchId\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/customer/favorites","description":"<h2 id=\"body\">Body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>branchId</td>\n<td>integer</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customer","favorites"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6e24024-e421-48e1-b16a-8dd1d6b766de"},{"name":"Remove favorite","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"1d130506-6ab1-4e24-86dc-8f1df13abe71"}}],"id":"2a7008f3-0d44-4638-b1ee-b9538618fd25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/favorites/1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Remove branch from favorites.</p>\n","urlObject":{"path":["customer","favorites","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a7008f3-0d44-4638-b1ee-b9538618fd25"},{"name":"My loyalty cards","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"3a3feb4f-6067-4c7a-b2e6-8588068ef238"}}],"id":"0fe8bc4c-63ac-4832-bd83-10b8f5e1f3bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/loyalty-cards","description":"<h2 id=\"summary\">Summary</h2>\n<p>Customer enrollments with punch progress.</p>\n","urlObject":{"path":["customer","loyalty-cards"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fe8bc4c-63ac-4832-bd83-10b8f5e1f3bb"},{"name":"Update profile","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"5cfc1e10-a0c0-4ec0-9f6d-662a0d475ab1"}}],"id":"d8c5b13a-22bf-495e-b40a-087cd42c773a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"James\",\n    \"lastName\": \"Updated\",\n    \"locale\": \"en\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/customer/profile","description":"<h2 id=\"summary\">Summary</h2>\n<p>Update profile fields. Send <code>multipart/form-data</code> for avatar upload.</p>\n<h2 id=\"json-body-fields\">JSON body fields</h2>\n<p><code>firstName</code>, <code>lastName</code>, <code>gender</code>, <code>birthday</code>, <code>locale</code></p>\n","urlObject":{"path":["customer","profile"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d8c5b13a-22bf-495e-b40a-087cd42c773a"}],"id":"a2d30b5f-17a6-416a-9915-c637ac26c907","description":"<p>Account, favorites, history, and enrolled loyalty cards.</p>\n","_postman_id":"a2d30b5f-17a6-416a-9915-c637ac26c907"},{"name":"Loyalty","item":[{"name":"Get branch invite","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"71e5e546-4650-4060-8fc5-6f2da8d8a84c"}}],"id":"d3a60961-d47b-4bd1-9ef7-8cb137537459","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/branches/1/loyalty-invites","description":"<h2 id=\"summary\">Summary</h2>\n<p>Invitation metadata before joining a branch loyalty program.</p>\n","urlObject":{"path":["customer","branches","1","loyalty-invites"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3a60961-d47b-4bd1-9ef7-8cb137537459"},{"name":"Accept branch invite","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"32b5b946-9aad-4aa4-b4cb-b50e36dccb46"}}],"id":"18e349f1-8d6e-4f76-816b-b2fe96fdae1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/branches/1/loyalty-invites","description":"<h2 id=\"summary\">Summary</h2>\n<p>Accept invite and link customer to branch loyalty.</p>\n","urlObject":{"path":["customer","branches","1","loyalty-invites"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"18e349f1-8d6e-4f76-816b-b2fe96fdae1c"},{"name":"Enroll in card","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"a0e6c59f-d6ae-4837-a9db-09ff12304da1"}}],"id":"afce55f4-d49d-438e-9d11-fceb434687b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/loyalty-cards/1/enroll","description":"<h2 id=\"summary\">Summary</h2>\n<p>Enroll in a specific loyalty card program.</p>\n","urlObject":{"path":["customer","loyalty-cards","1","enroll"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"afce55f4-d49d-438e-9d11-fceb434687b0"},{"name":"Get enrollment","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"8571c13f-ea5f-4318-b95d-9fe2da438726"}}],"id":"2323f073-9765-4068-93cb-04ea404f6e07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/loyalty-cards/1/enrollment","description":"<h2 id=\"summary\">Summary</h2>\n<p>Current punch count and reward eligibility.</p>\n","urlObject":{"path":["customer","loyalty-cards","1","enrollment"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2323f073-9765-4068-93cb-04ea404f6e07"},{"name":"Check in","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('loyaltyCheckInId', String(rows[0].id));","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"759f26a7-7e7f-45af-9717-8049eb1e8234"}}],"id":"58ea1efb-a8fc-40eb-bc94-a6e2306ecddf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/loyalty-cards/1/check-in","description":"<h2 id=\"summary\">Summary</h2>\n<p>Record a visit punch. Returns QR code for validator confirmation.</p>\n","urlObject":{"path":["customer","loyalty-cards","1","check-in"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"58ea1efb-a8fc-40eb-bc94-a6e2306ecddf"},{"name":"Get check-in","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"ff10ba9a-e67a-40c4-a759-33755e8bb76f"}}],"id":"f521377d-00f6-45a9-b153-9a7f4ef5eb46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/loyalty-check-ins/1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Check-in status after validator scan.</p>\n","urlObject":{"path":["customer","loyalty-check-ins","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f521377d-00f6-45a9-b153-9a7f4ef5eb46"},{"name":"Redeem reward","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('loyaltyRedemptionId', String(rows[0].id));","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"ed010522-c346-49dc-a336-902c88048f3d"}}],"id":"8c20c83a-3b35-4259-8297-ccf95242e772","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/loyalty-cards/1/redeem","description":"<h2 id=\"summary\">Summary</h2>\n<p>Redeem completed punch card. Returns QR for validator.</p>\n","urlObject":{"path":["customer","loyalty-cards","1","redeem"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c20c83a-3b35-4259-8297-ccf95242e772"},{"name":"Get redemption","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"498bfdfe-5388-492c-9496-d36007369144"}}],"id":"25694bbd-af7b-43e1-af73-8481b2742fea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/loyalty-redemptions/1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Redemption status (<code>pending</code>, <code>confirmed</code>, <code>rejected</code>).</p>\n","urlObject":{"path":["customer","loyalty-redemptions","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"25694bbd-af7b-43e1-af73-8481b2742fea"}],"id":"1d3172bd-5e92-4a33-9d87-11d241c0e194","description":"<p>Invite → enroll → check-in → redeem flow.</p>\n","_postman_id":"1d3172bd-5e92-4a33-9d87-11d241c0e194"},{"name":"Notifications & devices","item":[{"name":"List notifications","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"3493279b-717d-4a41-bf03-08000c869301"}}],"id":"d6a4a267-9e8e-478d-8026-1e9310ffc85e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/notifications","description":"<h2 id=\"summary\">Summary</h2>\n<p>In-app notification feed.</p>\n","urlObject":{"path":["customer","notifications"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6a4a267-9e8e-478d-8026-1e9310ffc85e"},{"name":"Mark notification read","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"bc684aee-ba90-4f66-ac6b-8b1ef42ec8b9"}}],"id":"1c6b8de7-9ad2-4577-9de7-7bff6cf06c98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/customer/notifications/1/read","description":"<h2 id=\"summary\">Summary</h2>\n<p>Mark a single notification as read.</p>\n","urlObject":{"path":["customer","notifications","1","read"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c6b8de7-9ad2-4577-9de7-7bff6cf06c98"},{"name":"Register push device","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"616848c8-443f-4680-b792-073350ea2918"}}],"id":"eb1e65d0-4370-441e-9775-87ccb5466e39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"pushToken\": \"fcm-token-example\",\n    \"platform\": \"ios\",\n    \"deviceId\": \"UUID-DEVICE\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/customer/devices","description":"<h2 id=\"body\">Body</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pushToken</td>\n<td>string</td>\n<td>FCM token</td>\n</tr>\n<tr>\n<td>platform</td>\n<td>string</td>\n<td><code>ios</code> · <code>android</code></td>\n</tr>\n<tr>\n<td>deviceId</td>\n<td>string</td>\n<td>Unique device ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["customer","devices"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb1e65d0-4370-441e-9775-87ccb5466e39"}],"id":"b2d8b259-5567-4ca6-aa62-bea8717ad3c4","_postman_id":"b2d8b259-5567-4ca6-aa62-bea8717ad3c4","description":""},{"name":"Security","item":[{"name":"Change password","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"d2df2bb7-7ced-40d3-9829-0e04ca2affb2"}}],"id":"0ab7325a-984b-496c-bb89-fc92902e46f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"currentPassword\": \"password\",\n    \"password\": \"newpassword\",\n    \"password_confirmation\": \"newpassword\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/auth/customer/password/change","description":"<h2 id=\"summary\">Summary</h2>\n<p>Change password while logged in.</p>\n","urlObject":{"path":["auth","customer","password","change"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ab7325a-984b-496c-bb89-fc92902e46f5"},{"name":"Change phone","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"9787437d-161f-43c3-8d47-613263f1719f"}}],"id":"762006af-d8c6-43b8-92f9-e0ddf8f5ff18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"phone\": \"+994509876544\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/auth/customer/phone","description":"<h2 id=\"summary\">Summary</h2>\n<p>Change phone number (must be OTP-verified first).</p>\n","urlObject":{"path":["auth","customer","phone"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"762006af-d8c6-43b8-92f9-e0ddf8f5ff18"}],"id":"d43196be-1de5-468a-a175-81501e297fa4","_postman_id":"d43196be-1de5-468a-a175-81501e297fa4","description":""},{"name":"Partner dashboard","item":[{"name":"My branches","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"b0ff5703-4272-4f19-becf-4831a585595b"}}],"id":"90ea94ee-a43b-48b3-b9ce-0dfbc5d89c82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/branches","description":"<h2 id=\"summary\">Summary</h2>\n<p>Branches owned by the logged-in partner.</p>\n","urlObject":{"path":["branches"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"90ea94ee-a43b-48b3-b9ce-0dfbc5d89c82"},{"name":"Branch detail","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"4cac6efa-23c9-47e2-9c2d-080e1a0c6bbe"}}],"id":"6d8f2d6c-d77f-4c27-8170-3a930bcb970b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/branches/1","description":"<h2 id=\"summary\">Summary</h2>\n<p>Partner branch detail (same resource as public).</p>\n","urlObject":{"path":["branches","1"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"6d8f2d6c-d77f-4c27-8170-3a930bcb970b"},{"name":"My promos","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"3c21e7dd-f1b9-499c-b805-e6750725b270"}}],"id":"ba3d00d1-a7c3-410d-9a8e-1d59b4130a38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promos","description":"<h2 id=\"summary\">Summary</h2>\n<p>Promos for partner branches.</p>\n","urlObject":{"path":["promos"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba3d00d1-a7c3-410d-9a8e-1d59b4130a38"}],"id":"89275293-a9cb-440d-8b34-bf3e9927f490","description":"<p>Read-only views when <code>role</code> is <code>partner</code>. Use <code>partnerToken</code>.</p>\n","_postman_id":"89275293-a9cb-440d-8b34-bf3e9927f490"},{"name":"UI messages","item":[{"name":"Get user-panel messages","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"c0a3f19d-a36e-4cce-ab8a-e5d7d53dbe77"}}],"id":"72a46a2d-016e-4e5a-89df-3cd80372de32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"}],"url":"https://api.loya.cc/api/v1/ui-messages/user-panel/en","description":"<h2 id=\"summary\">Summary</h2>\n<p>Localized UI strings for the mobile app (<code>nav.*</code>, <code>auth.*</code>, etc.).</p>\n","urlObject":{"path":["ui-messages","user-panel","en"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"72a46a2d-016e-4e5a-89df-3cd80372de32"}],"id":"874bf6c6-2e5e-488d-ae11-42aa4dca56c2","_postman_id":"874bf6c6-2e5e-488d-ae11-42aa4dca56c2","description":""}],"id":"4fccbad2-7b6e-4fda-8e79-8b7a21a3e0f4","description":"<p>Frontend: <strong>user-panel</strong> (Next.js, port 3002)<br />API base: <code>https://api.loya.cc/api/v1</code><br />Auth guards: <strong>customer</strong> · <strong>partner</strong></p>\n<h3 id=\"recommended-test-flow\">Recommended test flow</h3>\n<ol>\n<li><p><strong>Auth → OTP send</strong> then <strong>OTP verify</strong> (<code>111111</code> when <code>APP_MODE=development</code>)</p>\n</li>\n<li><p><strong>Auth → Register</strong> or <strong>Auth → Login</strong> (saves token automatically)</p>\n</li>\n<li><p><strong>Browse → Branches nearby</strong> then open <strong>Branch detail</strong></p>\n</li>\n<li><p>Use <strong>Promos → Activate promo</strong> with <code>1</code></p>\n</li>\n</ol>\n<h3 id=\"response-format\">Response format</h3>\n<ul>\n<li><p>Plain JSON (<code>application/json</code>), camelCase keys</p>\n</li>\n<li><p>Lists return <code>{ \"data\": [ ... ] }</code></p>\n</li>\n<li><p>Image fields are full CDN URLs (<code>logo</code>, <code>coverImage</code>, <code>logoUrl</code>, etc.)</p>\n</li>\n<li><p>Send <code>Accept-Language: en</code> (<code>en</code>, <code>az</code>, <code>ru</code>) on every request</p>\n</li>\n</ul>\n<p><strong>Endpoints:</strong> 49<br /><strong>Methods:</strong> GET 31 · POST 15 · PATCH 2 · DELETE 1</p>\n<p><strong>Sections:</strong></p>\n<ul>\n<li><p>Auth: 7</p>\n</li>\n<li><p>Browse (public): 16</p>\n</li>\n<li><p>Promos: 2</p>\n</li>\n<li><p>Profile: 7</p>\n</li>\n<li><p>Loyalty: 8</p>\n</li>\n<li><p>Notifications &amp; devices: 3</p>\n</li>\n<li><p>Security: 2</p>\n</li>\n<li><p>Partner dashboard: 3</p>\n</li>\n<li><p>UI messages: 1</p>\n</li>\n</ul>\n","_postman_id":"4fccbad2-7b6e-4fda-8e79-8b7a21a3e0f4"},{"name":"Validator Application (@validator-partner-for-worker)","item":[{"name":"Auth","item":[{"name":"Login","event":[{"listen":"test","script":{"type":"text/javascript","exec":["if ([200, 201].includes(pm.response.code)) {","  const json = pm.response.json();","  if (json.access_token) pm.collectionVariables.set('employeeToken', json.access_token);","}","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"247f22fa-e8b1-4003-8855-607649be78ab"}}],"id":"820b3929-381a-4e6b-898c-a810eef30e16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"validator@papajohns.az\",\n    \"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/auth/employee/login","description":"<h2 id=\"summary\">Summary</h2>\n<p>Employee login for validator app. Demo: <code>validator@papajohns.az</code> / <code>password</code>.</p>\n","urlObject":{"path":["auth","employee","login"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"820b3929-381a-4e6b-898c-a810eef30e16"},{"name":"Me","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is 200', function () {","  pm.response.to.have.status(200);","});"],"id":"52b3d6f7-1187-4698-85b5-8b9f944cf873"}}],"id":"766f8d27-d736-4d48-b385-d34127807048","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/auth/employee/me","description":"<h2 id=\"auth\">Auth</h2>\n<p>Bearer <code></code></p>\n","urlObject":{"path":["auth","employee","me"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"766f8d27-d736-4d48-b385-d34127807048"},{"name":"Logout","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"3ced8c96-03fc-4f3f-8f58-3b75b1bde261"}}],"id":"bb0ad035-43ee-4ace-8491-73195308827a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/auth/employee/logout","description":"<h2 id=\"summary\">Summary</h2>\n<p>End employee session.</p>\n","urlObject":{"path":["auth","employee","logout"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb0ad035-43ee-4ace-8491-73195308827a"}],"id":"56db7ddb-22d3-4eb3-97dc-b5e81e61bd8f","_postman_id":"56db7ddb-22d3-4eb3-97dc-b5e81e61bd8f","description":""},{"name":"Promo validation","item":[{"name":"Scan code","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('activationId', String(rows[0].id));","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"d86ffac5-c0a7-46a2-b441-2062386e224a"}}],"id":"5946fac5-063e-4a05-9626-d475f8441518","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"PAPADEMO\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promo-activations/scan","description":"<h2 id=\"summary\">Summary</h2>\n<p>Look up a promo activation by QR code string.</p>\n","urlObject":{"path":["promo-activations","scan"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5946fac5-063e-4a05-9626-d475f8441518"},{"name":"Confirm activation","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"6966dae7-df67-4842-9c01-4bc952d7caa0"}}],"id":"5bf84ff6-b97e-4b2c-8987-4c8128585a31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/promo-activations/1/confirm","description":"<h2 id=\"summary\">Summary</h2>\n<p>Confirm scanned promo — marks activation as used.</p>\n","urlObject":{"path":["promo-activations","1","confirm"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"5bf84ff6-b97e-4b2c-8987-4c8128585a31"},{"name":"Reject activation","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"de5e6925-eef8-4d57-a6e9-5b61de42409d"}}],"id":"319788fa-3c26-41f7-b6bb-44df5533afa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"Invalid promo code\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/promo-activations/1/reject","description":"<h2 id=\"body\">Body</h2>\n<p><code>reason</code> (optional string)</p>\n","urlObject":{"path":["promo-activations","1","reject"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"319788fa-3c26-41f7-b6bb-44df5533afa7"}],"id":"4aea044b-c904-41d7-91cc-4547d9c9d637","description":"<p>Scan customer promo QR codes and confirm or reject activations.</p>\n","_postman_id":"4aea044b-c904-41d7-91cc-4547d9c9d637"},{"name":"Loyalty check-in validation","item":[{"name":"Scan check-in","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('loyaltyCheckInId', String(rows[0].id));","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"8646b6e0-c482-4b77-8804-984b317ee333"}}],"id":"7a227167-1c9b-4c52-9db5-09f4be4fc89e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"CHECKIN-DEMO\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/loyalty-check-ins/scan","description":"<h2 id=\"summary\">Summary</h2>\n<p>Scan loyalty check-in QR from customer app.</p>\n","urlObject":{"path":["loyalty-check-ins","scan"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a227167-1c9b-4c52-9db5-09f4be4fc89e"},{"name":"Confirm check-in","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"6a4f9411-26a7-42be-8be5-17c7a9d7892f"}}],"id":"7e10ab44-4c4a-438c-b5d0-735ef0a8e7aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/loyalty-check-ins/1/confirm","description":"<h2 id=\"summary\">Summary</h2>\n<p>Confirm punch / visit.</p>\n","urlObject":{"path":["loyalty-check-ins","1","confirm"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e10ab44-4c4a-438c-b5d0-735ef0a8e7aa"},{"name":"Reject check-in","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"b4b071ef-72e2-48f5-929b-8b05b14f6d77"}}],"id":"d6fa8f29-3e1e-4250-8546-f271bd218e2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"Invalid code\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/loyalty-check-ins/1/reject","description":"<h2 id=\"summary\">Summary</h2>\n<p>Reject invalid check-in.</p>\n","urlObject":{"path":["loyalty-check-ins","1","reject"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6fa8f29-3e1e-4250-8546-f271bd218e2f"}],"id":"4691bafb-5879-43ea-ab5a-a2ec908dca0b","_postman_id":"4691bafb-5879-43ea-ab5a-a2ec908dca0b","description":""},{"name":"Loyalty redemption validation","item":[{"name":"Scan redemption","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const json = pm.response.json();","const rows = Array.isArray(json.data) ? json.data : (Array.isArray(json) ? json : []);","if (rows.length && rows[0].id) pm.collectionVariables.set('loyaltyRedemptionId', String(rows[0].id));","pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"c09fd5d6-1e9b-4b28-b8be-65c071f674bc"}}],"id":"765110eb-6c49-41da-8c89-c241d0044633","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"code\": \"REDEEM-DEMO\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/loyalty-redemptions/scan","description":"<h2 id=\"summary\">Summary</h2>\n<p>Scan loyalty reward redemption QR.</p>\n","urlObject":{"path":["loyalty-redemptions","scan"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"765110eb-6c49-41da-8c89-c241d0044633"},{"name":"Confirm redemption","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"684ea873-0a6c-4323-ae89-b1f908bbc719"}}],"id":"f6069ff5-22e2-4871-b461-6ea83f0d645a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "}],"url":"https://api.loya.cc/api/v1/loyalty-redemptions/1/confirm","description":"<h2 id=\"summary\">Summary</h2>\n<p>Confirm reward handover.</p>\n","urlObject":{"path":["loyalty-redemptions","1","confirm"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6069ff5-22e2-4871-b461-6ea83f0d645a"},{"name":"Reject redemption","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test('Status code is successful (200, 201, 204)', function () {","  pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});"],"id":"dd32dade-55ec-46e3-88e2-20651909cde0"}}],"id":"f35caf9f-647d-4629-829a-82a74741f3af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Accept-Language","value":"en"},{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"reason\": \"Invalid code\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.loya.cc/api/v1/loyalty-redemptions/1/reject","description":"<h2 id=\"summary\">Summary</h2>\n<p>Reject invalid redemption.</p>\n","urlObject":{"path":["loyalty-redemptions","1","reject"],"host":["https://api.loya.cc/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f35caf9f-647d-4629-829a-82a74741f3af"}],"id":"d4f33f97-09b5-4f5a-b329-79acb31db0da","_postman_id":"d4f33f97-09b5-4f5a-b329-79acb31db0da","description":""}],"id":"cddc86b3-5db1-41c8-9385-37845660e744","description":"<p>Frontend: <strong>validator-partner-for-worker</strong> (port 3004)\nAPI base: <code>https://api.loya.cc/api/v1</code>\nAuth guard: <strong>employee</strong></p>\n<h3 id=\"flow\">Flow</h3>\n<ol>\n<li><strong>Auth → Login</strong> as branch employee</li>\n<li><strong>Promo validation → Scan code</strong> (customer QR)</li>\n<li><strong>Confirm</strong> or <strong>Reject</strong> activation</li>\n<li>Same pattern for <strong>Loyalty check-ins</strong> and <strong>Loyalty redemptions</strong></li>\n</ol>\n<p><strong>Endpoints:</strong> 12\n<strong>Methods:</strong> GET 1 · POST 11</p>\n<p><strong>Sections:</strong></p>\n<ul>\n<li>Auth: 3</li>\n<li>Promo validation: 3</li>\n<li>Loyalty check-in validation: 3</li>\n<li>Loyalty redemption validation: 3</li>\n</ul>\n","_postman_id":"cddc86b3-5db1-41c8-9385-37845660e744"}],"event":[{"listen":"prerequest","script":{"id":"08510ad9-9abf-4796-b145-a22766c9cc09","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"50de3501-2d4d-4952-83fc-48edf468040e","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.loya.cc/api/v1","description":"API base URL including /api/v1"},{"key":"locale","value":"en","description":"Accept-Language header value"},{"key":"adminToken","value":"","description":"Admin JWT from Auth → Login"},{"key":"customerToken","value":"","description":"Customer JWT from register/login"},{"key":"userToken","value":"","description":"Active customer or partner token for /auth/me"},{"key":"partnerToken","value":"","description":"Partner JWT from unified login"},{"key":"employeeToken","value":"","description":"Employee JWT for validator app"},{"key":"promoId","value":"1","description":"Promo ID for activation"},{"key":"activationId","value":"1","description":"Promo activation ID"},{"key":"customerId","value":"1","description":"Customer record ID"},{"key":"languageId","value":"1","description":"UI message language ID"},{"key":"loyaltyRedemptionId","value":"1","description":"Loyalty redemption ID"},{"key":"loyaltyCheckInId","value":"1","description":"Loyalty check-in ID"},{"key":"subBranchId","value":"1","description":"Sub-branch ID inside a branch"},{"key":"serviceId","value":"1","description":"Service unit ID"},{"key":"notificationId","value":"1","description":"Customer notification ID"},{"key":"mediaPath","value":"branches/logos/kfc-narimanov.png","description":"Storage path for /media/{path}"},{"key":"appSettingId","value":"1","description":"Admin app setting ID"},{"key":"translationId","value":"1","description":"Admin translation record ID"},{"key":"categoriesId","value":"1","description":"Resource ID for categories endpoints"},{"key":"subcategoriesId","value":"1","description":"Resource ID for subcategories endpoints"},{"key":"category-filter-groupsId","value":"1","description":"Resource ID for category-filter-groups endpoints"},{"key":"category-filter-fieldsId","value":"1","description":"Resource ID for category-filter-fields endpoints"},{"key":"category-filter-optionsId","value":"1","description":"Resource ID for category-filter-options endpoints"},{"key":"countriesId","value":"1","description":"Resource ID for countries endpoints"},{"key":"citiesId","value":"1","description":"Resource ID for cities endpoints"},{"key":"districtsId","value":"1","description":"Resource ID for districts endpoints"},{"key":"partnersId","value":"1","description":"Resource ID for partners endpoints"},{"key":"global-parent-companiesId","value":"1","description":"Resource ID for global-parent-companies endpoints"},{"key":"brandsId","value":"1","description":"Resource ID for brands endpoints"},{"key":"country-entitiesId","value":"1","description":"Resource ID for country-entities endpoints"},{"key":"subbrandsId","value":"1","description":"Resource ID for subbrands endpoints"},{"key":"branchesId","value":"1","description":"Resource ID for branches endpoints"},{"key":"branch-about-sectionsId","value":"1","description":"Resource ID for branch-about-sections endpoints"},{"key":"amenitiesId","value":"1","description":"Resource ID for amenities endpoints"},{"key":"promosId","value":"1","description":"Resource ID for promos endpoints"},{"key":"promo-typesId","value":"1","description":"Resource ID for promo-types endpoints"},{"key":"promo-activationsId","value":"1","description":"Resource ID for promo-activations endpoints"},{"key":"promo-activation-logsId","value":"1","description":"Resource ID for promo-activation-logs endpoints"},{"key":"loyalty-cardsId","value":"1","description":"Resource ID for loyalty-cards endpoints"},{"key":"adminsId","value":"1","description":"Resource ID for admins endpoints"},{"key":"customersId","value":"1","description":"Resource ID for customers endpoints"},{"key":"employeesId","value":"1","description":"Resource ID for employees endpoints"},{"key":"customer-devicesId","value":"1","description":"Resource ID for customer-devices endpoints"},{"key":"partner-customersId","value":"1","description":"Resource ID for partner-customers endpoints"},{"key":"home-bannersId","value":"1","description":"Resource ID for home-banners endpoints"},{"key":"cms-pagesId","value":"1","description":"Resource ID for cms-pages endpoints"},{"key":"translationsId","value":"1","description":"Resource ID for translations endpoints"}]}