{"info":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","description":"<html><head></head><body><p>This collection provides a set of API endpoints to interact with the <a href=\"https://G4A4.com\">G4A4.com</a> website. The available endpoints allow you to fetch categories, products and their variations, add new orders, and check the status of existing orders.</p>\n<h3 id=\"authorization\">Authorization</h3>\n<p>To authenticate, you must first register on the <a href=\"https://G4A4.com\">G4A4.com</a> website and then contact support to activate the API service for your account. Once the API service is activated, an <strong>api-key</strong> will be provided to you.</p>\n<p>You must include the <strong>api-key</strong> in the <strong>header</strong> for authentication for all endpoints.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17367971","collectionId":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","publishedId":"2sA3s1nrTi","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0071df"},"publishDate":"2024-08-09T00:31:27.000Z"},"item":[{"name":"product","item":[{"name":"get-categories","id":"57a2931a-f067-41b0-b671-7b8990fec8a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://g4a4.com/wp-json/reseller/v1/product/get-categories","description":"<h1 id=\"get-product-categories\">Get Product Categories</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint retrieves all available product categories from the system. Each category is returned with its unique identifier and name, allowing you to reference categories when working with products.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>This endpoint requires API key authentication. Based on the error examples, an invalid or missing API key will result in an authentication error.</p>\n<p><strong>Authentication Method:</strong> API Key<br /><strong>Required:</strong> Yes</p>\n<p>Make sure to include a valid API key in your request. Check the request's Auth tab or headers for the specific authentication configuration.</p>\n<h2 id=\"request-details\">Request Details</h2>\n<p><strong>Method:</strong> <code>GET</code><br /><strong>Endpoint:</strong> <code>https://g4a4.com/wp-json/reseller/v1/product/get-categories</code></p>\n<h3 id=\"headers\">Headers</h3>\n<ul>\n<li><p>Authentication header (API key) - Required</p>\n</li>\n<li><p><code>Content-Type: application/json</code> (if applicable)</p>\n</li>\n</ul>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<p>No query parameters are required for this endpoint.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This endpoint does not require a request body.</p>\n<h2 id=\"response-format\">Response Format</h2>\n<h3 id=\"success-response-200-ok\">Success Response (200 OK)</h3>\n<p>When successful, the endpoint returns a list of all available categories.</p>\n<p><strong>Response Structure:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"categories\": [\n    {\n      \"id\": \"string or number\",\n      \"name\": \"string\"\n    }\n  ]\n}\n\n</code></pre>\n<p>Each category object contains:</p>\n<ul>\n<li><p><strong>id</strong>: Unique identifier for the category</p>\n</li>\n<li><p><strong>name</strong>: Display name of the category</p>\n</li>\n</ul>\n<h2 id=\"error-handling\">Error Handling</h2>\n<h3 id=\"invalid-api-key-401403\">Invalid API Key (401/403)</h3>\n<p>If the API key is invalid, missing, or expired, you'll receive an authentication error.</p>\n<p><strong>Common causes:</strong></p>\n<ul>\n<li><p>API key not included in the request</p>\n</li>\n<li><p>API key is incorrect or malformed</p>\n</li>\n<li><p>API key has been revoked or expired</p>\n</li>\n<li><p>Insufficient permissions for the API key</p>\n</li>\n</ul>\n<p><strong>Resolution:</strong></p>\n<ul>\n<li><p>Verify your API key is correct</p>\n</li>\n<li><p>Ensure the API key is properly included in the authentication header</p>\n</li>\n<li><p>Check that your API key has the necessary permissions</p>\n</li>\n<li><p>Generate a new API key if the current one is invalid</p>\n</li>\n</ul>\n<h3 id=\"other-potential-errors\">Other Potential Errors</h3>\n<ul>\n<li><p><strong>500 Internal Server Error</strong>: Server-side issue, retry the request</p>\n</li>\n<li><p><strong>429 Too Many Requests</strong>: Rate limit exceeded, wait before retrying</p>\n</li>\n</ul>\n<h2 id=\"testing\">Testing</h2>\n<p>This endpoint includes saved examples:</p>\n<ul>\n<li><p><strong>Success (test mode)</strong>: Demonstrates a successful response with category data</p>\n</li>\n<li><p><strong>Invalid API key</strong>: Shows the error response when authentication fails</p>\n</li>\n</ul>\n<p>Use these examples to understand the expected behavior and test your integration.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}},"urlObject":{"path":["product","get-categories"],"host":["https://g4a4.com/wp-json/reseller/v1"],"query":[{"disabled":true,"description":{"content":"<p>Send it if you want to use test mode.</p>\n","type":"text/plain"},"key":"test_mode","value":"false"}],"variable":[]}},"response":[{"id":"cdb52d26-75e2-4b09-9724-7448dcec2b3b","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://g4a4.com/wp-json/reseller/v1/product/get-categories"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"categories\": [\n            {\n                \"id\": 18280,\n                \"name\": \"آیتم های اورواچ ۲\"\n            },\n            {\n                \"id\": 18225,\n                \"name\": \"آیتم های بتل نت\"\n            },\n            {\n                \"id\": 18171,\n                \"name\": \"آیتم های دد بای دیلایت\"\n            },\n            {\n                \"id\": 18393,\n                \"name\": \"آیتم‌های پلاتو\"\n            },\n            {\n                \"id\": 18405,\n                \"name\": \"آیتم‌های دیابلو\"\n            },\n            {\n                \"id\": 18410,\n                \"name\": \"آیتم‌های زنلس زون زیرو\"\n            },\n            {\n                \"id\": 18424,\n                \"name\": \"آیتم‌های سوپرسل\"\n            },\n            {\n                \"id\": 18404,\n                \"name\": \"آیتم‌های گنشین ایمپکت\"\n            },\n            {\n                \"id\": 18453,\n                \"name\": \"آیتم‌های ماینکرافت\"\n            },\n            {\n                \"id\": 18398,\n                \"name\": \"آیتم‌های های رایس\"\n            },\n            {\n                \"id\": 18423,\n                \"name\": \"آیتم‌های وارتاندر\"\n            },\n            {\n                \"id\": 18396,\n                \"name\": \"آیتم‌های وارزون\"\n            },\n            {\n                \"id\": 18392,\n                \"name\": \"آیتم‌های وایلد ریفت\"\n            },\n            {\n                \"id\": 18436,\n                \"name\": \"اکانت‌های اسکیپ فرام تارکو - Escape From Tarkov\"\n            },\n            {\n                \"id\": 18431,\n                \"name\": \"اکانت‌های بلاد استرایک - Blood Strike\"\n            },\n            {\n                \"id\": 18437,\n                \"name\": \"اکانت‌های پلی استیشن - Playstation\"\n            },\n            {\n                \"id\": 18428,\n                \"name\": \"اکانت‌های فری فایر - Free Fire\"\n            },\n            {\n                \"id\": 18427,\n                \"name\": \"اکانت‌های کالاف دیوتی موبایل - Call of Duty: Mobile\"\n            },\n            {\n                \"id\": 18430,\n                \"name\": \"اکانت‌های کلش اف کلنز - Clash of Clans\"\n            },\n            {\n                \"id\": 18450,\n                \"name\": \"اکانت‌های کلش رویال - Clash Royale\"\n            },\n            {\n                \"id\": 18442,\n                \"name\": \"اکانت‌های وادرینگ ویوز - Wuthering Waves\"\n            },\n            {\n                \"id\": 18438,\n                \"name\": \"اکانت‌های وایلد ریفت - Wild Rift\"\n            },\n            {\n                \"id\": 18353,\n                \"name\": \"خدمات گیفتینگ\"\n            },\n            {\n                \"id\": 18391,\n                \"name\": \"سی پی کالاف دیوتی\"\n            },\n            {\n                \"id\": 1387,\n                \"name\": \"بازی های اورجینال\"\n            },\n            {\n                \"id\": 1391,\n                \"name\": \"بازی‌های بتل نت\"\n            },\n            {\n                \"id\": 1390,\n                \"name\": \"بازی های یوبی‌سافت\"\n            },\n            {\n                \"id\": 17466,\n                \"name\": \"بازی‌های پلی‌استیشن\"\n            },\n            {\n                \"id\": 17708,\n                \"name\": \"بازی های ایکس باکس\"\n            },\n            {\n                \"id\": 14895,\n                \"name\": \"بازی های اپیک گیمز\"\n            },\n            {\n                \"id\": 1389,\n                \"name\": \"بازی های اوریجین\"\n            },\n            {\n                \"id\": 47,\n                \"name\": \"گیم پوینت\"\n            },\n            {\n                \"id\": 15688,\n                \"name\": \"ولورانت پوینت\"\n            },\n            {\n                \"id\": 73,\n                \"name\": \"آیتم‌های لیگ آو لجندز\"\n            },\n            {\n                \"id\": 13629,\n                \"name\": \"آیتم‌های فورتنایت\"\n            },\n            {\n                \"id\": 18032,\n                \"name\": \"آیتم های اپیک گیمز\"\n            },\n            {\n                \"id\": 13687,\n                \"name\": \"آیتم‌های اپکس لجندز\"\n            },\n            {\n                \"id\": 17086,\n                \"name\": \"آیتم‌های یوبی‌سافت\"\n            },\n            {\n                \"id\": 18115,\n                \"name\": \"آیتم های اوریجین\"\n            },\n            {\n                \"id\": 17885,\n                \"name\": \"آیتم های Rainbow Six Siege\"\n            },\n            {\n                \"id\": 17709,\n                \"name\": \"آیتم های پلی استیشن\"\n            },\n            {\n                \"id\": 17710,\n                \"name\": \"آیتم های ایکس باکس\"\n            },\n            {\n                \"id\": 136,\n                \"name\": \"محصولات ورلد آو وارکرفت\"\n            },\n            {\n                \"id\": 14747,\n                \"name\": \"آیتم های پالادینز\"\n            },\n            {\n                \"id\": 716,\n                \"name\": \"آیتم های اسمایت\"\n            },\n            {\n                \"id\": 53,\n                \"name\": \"گیفت کارت\"\n            },\n            {\n                \"id\": 2805,\n                \"name\": \"سرویس بوستینگ\"\n            },\n            {\n                \"id\": 2806,\n                \"name\": \"بوستینگ لیگ آو لجندز\"\n            },\n            {\n                \"id\": 16406,\n                \"name\": \"بوستینگ ولورانت\"\n            },\n            {\n                \"id\": 15687,\n                \"name\": \"بوستینگ Teamfight Tactics\"\n            },\n            {\n                \"id\": 15686,\n                \"name\": \"بوستینگ اپکس لجندز\"\n            },\n            {\n                \"id\": 13772,\n                \"name\": \"بوستینگ فورتنایت\"\n            },\n            {\n                \"id\": 6113,\n                \"name\": \"اکانت‌ها\"\n            },\n            {\n                \"id\": 18069,\n                \"name\": \"اکانت‌های فورتنایت – Fortnite\"\n            },\n            {\n                \"id\": 18068,\n                \"name\": \"اکانت‌های گنشین ایمپکت - Genshin Impact\"\n            },\n            {\n                \"id\": 18066,\n                \"name\": \"اکانت‌های ولورانت - Valorant\"\n            },\n            {\n                \"id\": 6114,\n                \"name\": \"اکانت‌های استیم - Steam\"\n            },\n            {\n                \"id\": 5627,\n                \"name\": \"اکانت‌های لیگ آو لجندز - League of Legends\"\n            },\n            {\n                \"id\": 89,\n                \"name\": \"سرویس کاهش پینگ\"\n            },\n            {\n                \"id\": 17707,\n                \"name\": \"خدمات پرداخت ارزی\"\n            },\n            {\n                \"id\": 15199,\n                \"name\": \"پرایم گیمینگ\"\n            },\n            {\n                \"id\": 16919,\n                \"name\": \"بازی‌های موبایل\"\n            },\n            {\n                \"id\": 6508,\n                \"name\": \"مدیریتی\"\n            },\n            {\n                \"id\": 18063,\n                \"name\": \"ثبت آگهی اکانت\"\n            }\n        ]\n    }\n}"},{"id":"4962ad1f-ed5c-4ace-90e6-aad174396bd1","name":"Success (test mode)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://g4a4.com/wp-json/reseller/v1/product/get-categories?test_mode=true","host":["https://g4a4.com/wp-json/reseller/v1"],"path":["product","get-categories"],"query":[{"key":"test_mode","value":"true","description":"Send it if you want to use test mode."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"categories\": [\n            {\n                \"id\": 6508,\n                \"name\": \"مدیریتی\"\n            }\n        ],\n        \"test_mode\": true\n    }\n}"},{"id":"5a1e68db-2686-49c4-bdc3-e01b9a710134","name":"Invalid API key","originalRequest":{"method":"GET","header":[],"url":"https://g4a4.com/wp-json/reseller/v1/product/get-categories"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403,\n    \"message\": \"Invalid API key\",\n    \"data\": {\n        \"status\": 403\n    }\n}"}],"_postman_id":"57a2931a-f067-41b0-b671-7b8990fec8a3"},{"name":"get-products","id":"0e9d0b94-378a-4074-9905-68584c068987","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/product/get-products?category_id=89","description":"<h1 id=\"get-products\">Get Products</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>You can retrieve all available products within a category. One of the two parameters, <code>category_id</code> or <code>term</code>, must be provided for the search. If both are sent, <code>category_id</code> will be ignored and the search will be performed using the <code>term</code> parameter.</p>\n<p>This endpoint allows you to browse the product catalog either by filtering products within a specific category or by performing a keyword search across all products.</p>\n<h2 id=\"parameters\">Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>category_id</code></td>\n<td>integer</td>\n<td>Conditional*</td>\n<td>The unique identifier of the category to retrieve products from. Example: <code>89</code></td>\n</tr>\n<tr>\n<td><code>term</code></td>\n<td>string</td>\n<td>Conditional*</td>\n<td>Search keyword to find products by name, description, or other attributes</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong> At least one parameter (<code>category_id</code> or <code>term</code>) must be provided. If both parameters are sent in the same request, <code>category_id</code> will be ignored and the search will be performed using the <code>term</code> parameter.</p>\n<h2 id=\"response-format\">Response Format</h2>\n<p>The endpoint returns a JSON response containing an array of product objects. Each product includes:</p>\n<ul>\n<li><p>Product identification details</p>\n</li>\n<li><p>Category information</p>\n</li>\n<li><p>Pricing and availability</p>\n</li>\n<li><p>Product attributes and specifications</p>\n</li>\n</ul>\n<h2 id=\"example-usage-scenarios\">Example Usage Scenarios</h2>\n<h3 id=\"scenario-1-browse-products-by-category\">Scenario 1: Browse Products by Category</h3>\n<p>Retrieve all products in a specific category (e.g., Electronics, Clothing):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://g4a4.com/wp-json/reseller/v1/product/get-products?category_id=89\n\n</code></pre><h3 id=\"scenario-2-search-products-by-keyword\">Scenario 2: Search Products by Keyword</h3>\n<p>Find products matching a search term:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://g4a4.com/wp-json/reseller/v1/product/get-products?term=steam\n\n</code></pre><h3 id=\"scenario-3-priority-behavior\">Scenario 3: Priority Behavior</h3>\n<p>When both parameters are provided, the search term takes precedence:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://g4a4.com/wp-json/reseller/v1/product/get-products?category_id=89&amp;term=steam\n\n</code></pre><p><em>This will search for \"steam\" across all categories, ignoring category_id=89</em></p>\n<h2 id=\"important-notes\">Important Notes</h2>\n<ul>\n<li><p><strong>Parameter Priority</strong>: The <code>term</code> parameter takes precedence over <code>category_id</code> when both are provided. If both parameters are sent, <code>category_id</code> will be ignored.</p>\n</li>\n<li><p><strong>Required Parameters</strong>: At least one search parameter (<code>category_id</code> or <code>term</code>) must be included in the request.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}},"urlObject":{"path":["product","get-products"],"host":["https://g4a4.com/wp-json/reseller/v1"],"query":[{"description":{"content":"<p>Category ID that is obtained from the get-categories endpoint.</p>\n","type":"text/plain"},"key":"category_id","value":"89"},{"disabled":true,"description":{"content":"<p>The search phrase for products is optional; if it is provided, the search will be performed.</p>\n","type":"text/plain"},"key":"term","value":"گیفت کارت"},{"disabled":true,"description":{"content":"<p>Send it if you want to use test mode.</p>\n","type":"text/plain"},"key":"test_mode","value":"false"}],"variable":[]}},"response":[{"id":"937d6918-3751-42c7-81aa-b307741f3ff5","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://g4a4.com/wp-json/reseller/v1/product/get-products?category_id=89","host":["https://g4a4.com/wp-json/reseller/v1"],"path":["product","get-products"],"query":[{"key":"category_id","value":"89","description":"Category ID that is obtained from the get-categories endpoint."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"count\": 4,\n        \"products\": [\n            {\n                \"id\": 376606,\n                \"name\": \"کاهش پینگ نو پینگ\"\n            },\n            {\n                \"id\": 255553,\n                \"name\": \"کاهش پینگ گیرآپ بوستر\"\n            },\n            {\n                \"id\": 19869,\n                \"name\": \"کاهش پینگ اگزیت لگ\"\n            },\n            {\n                \"id\": 11940,\n                \"name\": \"کاهش پینگ WTFast (نسخه حرفه\\u200cای)\"\n            }\n        ]\n    }\n}"},{"id":"f812212b-e8db-45a7-a3b5-f366e7283a4b","name":"Success Search","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://g4a4.com/wp-json/reseller/v1/product/get-products?term=گیفت کارت","host":["https://g4a4.com/wp-json/reseller/v1"],"path":["product","get-products"],"query":[{"key":"term","value":"گیفت کارت","description":"The search phrase for products is optional; if it is provided, the search will be performed."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"count\": 50,\n        \"products\": [\n            {\n                \"id\": 75233,\n                \"name\": \"گیفت کارت اپل آیتونز\"\n            },\n            {\n                \"id\": 52526,\n                \"name\": \"گیفت کارت گوگل پلی\"\n            },\n            {\n                \"id\": 47027,\n                \"name\": \"گیفت کارت استیم والت\"\n            },\n            {\n                \"id\": 5939,\n                \"name\": \"گیفت کارت پلی استیشن\"\n            },\n            {\n                \"id\": 6023,\n                \"name\": \"گیفت کارت ایکس باکس لایو\"\n            },\n            {\n                \"id\": 5900,\n                \"name\": \"گیفت کارت بتل نت\"\n            },\n            {\n                \"id\": 8546,\n                \"name\": \"گیفت کارت eBay\"\n            },\n            {\n                \"id\": 75430,\n                \"name\": \"گیفت کارت ریزر گلد\"\n            },\n            {\n                \"id\": 228815,\n                \"name\": \"گیفت کارت فورتنایت\"\n            },\n            {\n                \"id\": 199618,\n                \"name\": \"گیفت کارت بایننس\"\n            },\n            {\n                \"id\": 144628,\n                \"name\": \"گیفت کارت روبلاکس\"\n            },\n            {\n                \"id\": 219466,\n                \"name\": \"گیفت کارت اسپاتیفای\"\n            },\n            {\n                \"id\": 147691,\n                \"name\": \"گیفت کارت Airbnb\"\n            },\n            {\n                \"id\": 6247,\n                \"name\": \"گیفت کارت EA Play\"\n            },\n            {\n                \"id\": 200502,\n                \"name\": \"گیفت کارت هتل دات کام\"\n            },\n            {\n                \"id\": 6045,\n                \"name\": \"گیفت کارت نینتندو\"\n            },\n            {\n                \"id\": 27431,\n                \"name\": \"گیفت کارت آمازون\"\n            },\n            {\n                \"id\": 143889,\n                \"name\": \"گیفت کارت مایکروسافت\"\n            },\n            {\n                \"id\": 599726,\n                \"name\": \"گیفت کارت تارگت\"\n            },\n            {\n                \"id\": 560096,\n                \"name\": \"گیفت کارت دیوید جونز\"\n            },\n            {\n                \"id\": 203816,\n                \"name\": \"گیفت کارت فری فایر\"\n            },\n            {\n                \"id\": 5909,\n                \"name\": \"گیفت کارت لیگ آو لجندز\"\n            },\n            {\n                \"id\": 203856,\n                \"name\": \"گیفت کارت پابجی موبایل\"\n            },\n            {\n                \"id\": 144547,\n                \"name\": \"گیفت کارت توییچ\"\n            },\n            {\n                \"id\": 144853,\n                \"name\": \"گیفت کارت هولو\"\n            },\n            {\n                \"id\": 535773,\n                \"name\": \"گیفت کارت رایت اکسس\"\n            },\n            {\n                \"id\": 6098,\n                \"name\": \"گیفت کارت Nexon\"\n            },\n            {\n                \"id\": 601571,\n                \"name\": \"گیفت کارت یالا لودو\"\n            },\n            {\n                \"id\": 593414,\n                \"name\": \"گیفت کارت بازی های کالاف دیوتی (ایکس باکس )\"\n            },\n            {\n                \"id\": 75146,\n                \"name\": \"گیفت کارت نتفلیکس\"\n            },\n            {\n                \"id\": 602915,\n                \"name\": \"گیفت کارت پوکو لایو\"\n            },\n            {\n                \"id\": 621599,\n                \"name\": \"گیفت کارت نت ایز\"\n            },\n            {\n                \"id\": 26785,\n                \"name\": \"خدمات گیفت وایلد ریفت\"\n            },\n            {\n                \"id\": 48013,\n                \"name\": \"خدمات گیفت پلاتو\"\n            },\n            {\n                \"id\": 44052,\n                \"name\": \"خدمات گیفت لیگ آو لجندز\"\n            },\n            {\n                \"id\": 125356,\n                \"name\": \"پرداخت در سایت\\u200cهای خارجی\"\n            },\n            {\n                \"id\": 30247,\n                \"name\": \"مولتی گیم کارت\"\n            },\n            {\n                \"id\": 204491,\n                \"name\": \"خدمات گیفت فورتنایت\"\n            },\n            {\n                \"id\": 164603,\n                \"name\": \"مستر کارت مجازی\"\n            },\n            {\n                \"id\": 338395,\n                \"name\": \"خدمات گیفت های رایس\"\n            },\n            {\n                \"id\": 632752,\n                \"name\": \"تایم کارت ۶۰ روزه ورلد آو وارکرفت ترکیه\"\n            },\n            {\n                \"id\": 6126,\n                \"name\": \"تایم کارت ۶۰ روزه ورلد آو وارکرفت اروپا\"\n            },\n            {\n                \"id\": 113693,\n                \"name\": \"آیتم\\u200cهای هارت استون\"\n            },\n            {\n                \"id\": 24497,\n                \"name\": \"وایلد کور بازی لیگ آو لجندز: وایلد ریفت\"\n            },\n            {\n                \"id\": 10650,\n                \"name\": \"بتل\\u200cپس فورتنایت\"\n            },\n            {\n                \"id\": 10636,\n                \"name\": \"وی\\u200cباکس فورتنایت\"\n            },\n            {\n                \"id\": 6063,\n                \"name\": \"رایت پوینت اروپا\"\n            },\n            {\n                \"id\": 354376,\n                \"name\": \"پک فروزن لجندز فورتنایت\"\n            },\n            {\n                \"id\": 12700,\n                \"name\": \"ورد آو وارکرافت 3\"\n            },\n            {\n                \"id\": 36018,\n                \"name\": \"سی پی کالاف دیوتی (ایکس باکس)\"\n            }\n        ]\n    }\n}"},{"id":"f852e479-7fbc-4010-aa80-e2a16fa212f6","name":"Invalid API key","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"category_id\":  \"89\" //from get-categories\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/product/get-products"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403,\n    \"message\": \"Invalid API key\",\n    \"data\": {\n        \"status\": 403\n    }\n}"}],"_postman_id":"0e9d0b94-378a-4074-9905-68584c068987"},{"name":"get-product","id":"821116a6-eff1-4a4a-a19e-a0a76411ffa4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/product/get-product?product_id=1034330","description":"<h1 id=\"get-product-details\">Get Product Details</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>Retrieve comprehensive product information including all variations, pricing details, and attributes for a specific product. This endpoint allows you to fetch product data with optional filtering by attributes.</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>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>product_id</code></td>\n<td>string</td>\n<td><strong>Yes</strong></td>\n<td>The unique identifier of the product to retrieve. Example: <code>103433</code></td>\n</tr>\n<tr>\n<td><code>attribute_key</code></td>\n<td>string</td>\n<td>No</td>\n<td>Filter results by a specific product attribute key. Example: <code>pa_region</code></td>\n</tr>\n<tr>\n<td><code>attribute_value</code></td>\n<td>string</td>\n<td>No</td>\n<td>The value of the attribute to filter by. Must be used with <code>attribute_key</code>. Example: <code>us</code></td>\n</tr>\n<tr>\n<td><code>test_mode</code></td>\n<td>boolean</td>\n<td>No</td>\n<td>Enable test mode for the request. Set to <code>true</code> or <code>false</code>. Default: <code>false</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-format\">Response Format</h2>\n<p>The endpoint returns a JSON object containing:</p>\n<ul>\n<li><p>Product details (name, description, SKU)</p>\n</li>\n<li><p>All available variations</p>\n</li>\n<li><p>Pricing information for each variation</p>\n</li>\n<li><p>Product attributes and their values</p>\n</li>\n<li><p>Stock availability</p>\n</li>\n</ul>\n<h3 id=\"understanding-response-fields\">Understanding Response Fields</h3>\n<h4 id=\"fields-content\">Fields Content</h4>\n<p>The <code>fields</code> property in the response defines the required data that must be submitted when placing an order for this product. For example, if you're purchasing a game top-up product, the fields might include a user ID or game account identifier that needs to be provided during checkout.</p>\n<h4 id=\"delivery-types\">Delivery Types</h4>\n<p>Each product variation includes a <code>delivery_type</code> field that indicates how the product will be delivered:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Delivery Type</th>\n<th>Description</th>\n<th>Typical Delivery Time</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>manual</code></td>\n<td>Manual delivery by the seller</td>\n<td>Up to 4 business hours</td>\n</tr>\n<tr>\n<td><code>code</code></td>\n<td>Code-based delivery (e.g., gift cards, voucher codes)</td>\n<td>Instant, usually less than 10 minutes</td>\n</tr>\n<tr>\n<td><code>topup</code></td>\n<td>Automatic game account top-up</td>\n<td>Usually completed in under 30 minutes</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"pricing-information\">Pricing Information</h4>\n<ul>\n<li><p><strong>Price Value</strong>: The <code>price</code> field represents the exact amount that will be charged at the time of purchase. This is the final price you will pay.</p>\n</li>\n<li><p><strong>Discount Value</strong>: The <code>discount</code> field indicates the percentage discount applied to your account. This discount is already reflected in the final price shown, so no additional calculation is needed.</p>\n</li>\n</ul>\n<h2 id=\"example-use-cases\">Example Use Cases</h2>\n<h3 id=\"1-get-all-product-variations\">1. Get All Product Variations</h3>\n<p>Retrieve all variations and prices for a product:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://g4a4.com/wp-json/reseller/v1/product/get-product?product_id=103433\n\n</code></pre><h3 id=\"2-filter-by-attribute\">2. Filter by Attribute</h3>\n<p>Get product variations filtered by a specific attribute (e.g., region):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://g4a4.com/wp-json/reseller/v1/product/get-product?product_id=103433&amp;attribute_key=pa_region&amp;attribute_value=us\n\n</code></pre><h3 id=\"3-test-mode-request\">3. Test Mode Request</h3>\n<p>Retrieve product data in test mode:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://g4a4.com/wp-json/reseller/v1/product/get-product?product_id=103433&amp;test_mode=true\n\n</code></pre><h2 id=\"important-notes\">Important Notes</h2>\n<ul>\n<li><p><strong>Authentication Required</strong>: This endpoint requires a valid API key. Ensure your API key is included in the request headers.</p>\n</li>\n<li><p><strong>Attribute Filtering</strong>: When using <code>attribute_key</code>, you must also provide <code>attribute_value</code> for the filter to work correctly.</p>\n</li>\n<li><p><strong>Product ID</strong>: The <code>product_id</code> parameter is mandatory. Requests without it will fail.</p>\n</li>\n<li><p><strong>Test Mode</strong>: Use <code>test_mode</code> parameter to test the endpoint without affecting live data.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}},"urlObject":{"path":["product","get-product"],"host":["https://g4a4.com/wp-json/reseller/v1"],"query":[{"description":{"content":"<p>Product ID that is obtained from the get-products endpoint.</p>\n","type":"text/plain"},"key":"product_id","value":"1034330"},{"disabled":true,"description":{"content":"<p>The desired attribute key used to filter variables.</p>\n","type":"text/plain"},"key":"attribute_key","value":"pa_region"},{"disabled":true,"description":{"content":"<p>The attribute value used for filtering.</p>\n","type":"text/plain"},"key":"attribute_value","value":"us"},{"disabled":true,"description":{"content":"<p>Send it if you want to use test mode.</p>\n","type":"text/plain"},"key":"test_mode","value":"false"}],"variable":[]}},"response":[{"id":"28170ca0-a809-4c36-a142-bc2070ee0ea3","name":"Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://g4a4.com/wp-json/reseller/v1/product/get-product?product_id=103433","host":["https://g4a4.com/wp-json/reseller/v1"],"path":["product","get-product"],"query":[{"key":"product_id","value":"103433","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"product\": {\n            \"id\": 103433,\n            \"name\": \"کوین بازی اورواچ ۲\",\n            \"variations\": [\n                {\n                    \"id\": 462109,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, 4500 Coin\",\n                    \"price\": 4332000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"4500 Coin\",\n                            \"label\": \"4500 Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 462120,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, 6900Coin\",\n                    \"price\": 6498000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"6900Coin\",\n                            \"label\": \"6900Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 122570,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, 500 Coin\",\n                    \"price\": 541500,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"500 Coin\",\n                            \"label\": \"500 Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 359079,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت, Soldier: 76 Complete Mythic Weapon Skin Bundle\",\n                    \"price\": 5320000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net\",\n                            \"label\": \"بتل‌نت\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"Soldier: 76 Complete Mythic Weapon Skin Bundle\",\n                            \"label\": \"Soldier: 76 Complete Mythic Weapon Skin Bundle\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 189309,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت, Ultimate Battle Pass Bundle\",\n                    \"price\": 5320000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net\",\n                            \"label\": \"بتل‌نت\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"Ultimate Battle Pass Bundle\",\n                            \"label\": \"Ultimate Battle Pass Bundle\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 169528,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت, Invasion Bundle\",\n                    \"price\": 1995000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net\",\n                            \"label\": \"بتل‌نت\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"Invasion Bundle\",\n                            \"label\": \"Invasion Bundle\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 206638,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, Starter Pack\",\n                    \"price\": 782800,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"Starter Pack\",\n                            \"label\": \"Starter Pack\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_username\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام کاربری\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 172419,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, Invasion Bundle\",\n                    \"price\": 1177050,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"Invasion Bundle\",\n                            \"label\": \"Invasion Bundle\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 122567,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, Starter Pack\",\n                    \"price\": 782800,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"Starter Pack\",\n                            \"label\": \"Starter Pack\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 122571,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, 1000 Coin\",\n                    \"price\": 1083000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"1000 Coin\",\n                            \"label\": \"1000 Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_username\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام کاربری\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 122572,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, 2200 Coin\",\n                    \"price\": 2166000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"2200 Coin\",\n                            \"label\": \"2200 Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 122575,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, 11600 Coin\",\n                    \"price\": 10829050,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"11600 Coin\",\n                            \"label\": \"11600 Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 104308,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت, Starter Pack\",\n                    \"price\": 1330000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net\",\n                            \"label\": \"بتل‌نت\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"Starter Pack\",\n                            \"label\": \"Starter Pack\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 103434,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت, 500 Coin\",\n                    \"price\": 665000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net\",\n                            \"label\": \"بتل‌نت\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"500 Coin\",\n                            \"label\": \"500 Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 103435,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت, 1000 Coin\",\n                    \"price\": 1330000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net\",\n                            \"label\": \"بتل‌نت\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"1000 Coin\",\n                            \"label\": \"1000 Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 103436,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت, 2200 Coin\",\n                    \"price\": 2660000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net\",\n                            \"label\": \"بتل‌نت\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"2200 Coin\",\n                            \"label\": \"2200 Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 103438,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت, 11600 Coin\",\n                    \"price\": 13299050,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net\",\n                            \"label\": \"بتل‌نت\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"11600 Coin\",\n                            \"label\": \"11600 Coin\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 342526,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت, خرید پک\",\n                    \"price\": 135850,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net\",\n                            \"label\": \"بتل‌نت\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"خرید پک\",\n                            \"label\": \"خرید پک\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        },\n                        {\n                            \"data_name\": \"pack_price\",\n                            \"type\": \"measure_input\",\n                            \"required\": true,\n                            \"name\": \"قیمت پک در بازی\"\n                        },\n                        {\n                            \"data_name\": \"pack_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام پک\"\n                        },\n                        {\n                            \"data_name\": \"pack_screenshot\",\n                            \"type\": \"upload\",\n                            \"required\": false,\n                            \"name\": \"اسکرین‌شات پک\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": 342527,\n                    \"name\": \"کوین بازی اورواچ ۲ - بتل‌نت ترکیه, خرید پک\",\n                    \"price\": 135850,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"manual\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_platform\",\n                            \"name\": \"پلتفرم\",\n                            \"value\": \"battle-net-tr\",\n                            \"label\": \"بتل‌نت ترکیه\"\n                        },\n                        {\n                            \"key\": \"مقدار-کوین\",\n                            \"name\": \"مقدار کوین\",\n                            \"value\": \"خرید پک\",\n                            \"label\": \"خرید پک\"\n                        }\n                    ],\n                    \"fields\": [\n                        {\n                            \"data_name\": \"game_password\",\n                            \"type\": \"password\",\n                            \"required\": true,\n                            \"name\": \"رمز عبور (Password)\"\n                        },\n                        {\n                            \"data_name\": \"game_email\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"ایمیل (Email)\"\n                        },\n                        {\n                            \"data_name\": \"player_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام داخل بازی (Player name)\"\n                        },\n                        {\n                            \"data_name\": \"pack_price\",\n                            \"type\": \"measure_input\",\n                            \"required\": true,\n                            \"name\": \"قیمت پک در بازی\"\n                        },\n                        {\n                            \"data_name\": \"pack_name\",\n                            \"type\": \"text\",\n                            \"required\": true,\n                            \"name\": \"نام پک\"\n                        },\n                        {\n                            \"data_name\": \"pack_screenshot\",\n                            \"type\": \"upload\",\n                            \"required\": false,\n                            \"name\": \"اسکرین‌شات پک\"\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"},{"id":"ed24774f-924b-4ad9-bb9f-d5f8fc96e743","name":"Success (with attribute filter)","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://g4a4.com/wp-json/reseller/v1/product/get-product?product_id=5939&attribute_key=pa_region&attribute_value=us","host":["https://g4a4.com/wp-json/reseller/v1"],"path":["product","get-product"],"query":[{"key":"product_id","value":"5939","description":"Product ID that is obtained from the get-products endpoint."},{"key":"attribute_key","value":"pa_region","description":"The desired attribute key used to filter variables.","type":"text"},{"key":"attribute_value","value":"us","description":"The attribute value used for filtering.","type":"text"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"product\": {\n            \"id\": 5939,\n            \"name\": \"گیفت کارت پلی استیشن\",\n            \"variations\": [\n                {\n                    \"id\": 607055,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۱۵۰ دلار\",\n                    \"price\": 17352700,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۱۵۰ دلار\",\n                            \"label\": \"۱۵۰ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 607056,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۲۰۰ دلار\",\n                    \"price\": 23137250,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۲۰۰ دلار\",\n                            \"label\": \"۲۰۰ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 607058,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۲۵۰ دلار\",\n                    \"price\": 28920850,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۲۵۰ دلار\",\n                            \"label\": \"۲۵۰ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 542528,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۳ دلار\",\n                    \"price\": 395200,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۳ دلار\",\n                            \"label\": \"۳ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 542530,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۴ دلار\",\n                    \"price\": 608000,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۴ دلار\",\n                            \"label\": \"۴ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 530800,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۵ دلار\",\n                    \"price\": 746700,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۵ دلار\",\n                            \"label\": \"۵ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 141412,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۱۰ دلار\",\n                    \"price\": 1157100,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۱۰ دلار\",\n                            \"label\": \"۱۰ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 577427,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۲۰ دلار\",\n                    \"price\": 2314200,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۲۰ دلار\",\n                            \"label\": \"۲۰ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 141413,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۲۵ دلار\",\n                    \"price\": 2892750,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۲۵ دلار\",\n                            \"label\": \"۲۵ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 141414,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۵۰ دلار\",\n                    \"price\": 5784550,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۵۰ دلار\",\n                            \"label\": \"۵۰ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 141415,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۷۵ دلار\",\n                    \"price\": 8676350,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۷۵ دلار\",\n                            \"label\": \"۷۵ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 141416,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, ۱۰۰ دلار\",\n                    \"price\": 11569100,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"۱۰۰ دلار\",\n                            \"label\": \"۱۰۰ دلار\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 419962,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, پرمیوم ۱ ماهه\",\n                    \"price\": 2292350,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"پرمیوم ۱ ماهه\",\n                            \"label\": \"پرمیوم ۱ ماهه\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 419964,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, پرمیوم ۳ ماهه\",\n                    \"price\": 5729450,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"پرمیوم ۳ ماهه\",\n                            \"label\": \"پرمیوم ۳ ماهه\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 419965,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, اکسترا ۱ ماهه\",\n                    \"price\": 2292350,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"اکسترا ۱ ماهه\",\n                            \"label\": \"اکسترا ۱ ماهه\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 419972,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, اکسترا ۳ ماهه\",\n                    \"price\": 4583750,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"اکسترا ۳ ماهه\",\n                            \"label\": \"اکسترا ۳ ماهه\"\n                        }\n                    ],\n                    \"fields\": []\n                },\n                {\n                    \"id\": 419977,\n                    \"name\": \"گیفت کارت پلی استیشن - امریکا, اسنشال ۳ ماهه\",\n                    \"price\": 2865200,\n                    \"currency\": \"IRT\",\n                    \"discount\": 5,\n                    \"in_stock\": true,\n                    \"delivery_type\": \"code\",\n                    \"attributes\": [\n                        {\n                            \"key\": \"pa_region\",\n                            \"name\": \"ریجن (منطقه)\",\n                            \"value\": \"us\",\n                            \"label\": \"امریکا\"\n                        },\n                        {\n                            \"key\": \"amount\",\n                            \"name\": \"مقدار\",\n                            \"value\": \"اسنشال ۳ ماهه\",\n                            \"label\": \"اسنشال ۳ ماهه\"\n                        }\n                    ],\n                    \"fields\": []\n                }\n            ]\n        }\n    }\n}"},{"id":"07292b5f-372d-40b7-9b78-784631063386","name":"Invalid API key","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"product_id\":  \"103433\" //from get-products\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/product/get-product"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403,\n    \"message\": \"Invalid API key\",\n    \"data\": {\n        \"status\": 403\n    }\n}"}],"_postman_id":"821116a6-eff1-4a4a-a19e-a0a76411ffa4"},{"name":"get-variation","id":"82e2a64f-9d0b-45f2-b3a1-97eecd982bb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/product/get-variation?variation_id=366068","description":"<h1 id=\"get-product-variation\">Get Product Variation</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint retrieves detailed information about a specific product variation, including its price and attributes. Use this endpoint when you need to fetch data for a particular variation of a product in your catalog.</p>\n<h2 id=\"required-parameters\">Required Parameters</h2>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>variation_id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>The unique identifier of the product variation you want to retrieve</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>variation_id=366068\n\n</code></pre><h2 id=\"request-example\">Request Example</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">GET https://g4a4.com/wp-json/reseller/v1/product/get-variation?variation_id=366068\n\n</code></pre>\n<h2 id=\"response-format\">Response Format</h2>\n<h3 id=\"success-response-200-ok\">Success Response (200 OK)</h3>\n<p>When the request is successful, the API returns the variation details including pricing information and attributes.</p>\n<h3 id=\"error-responses\">Error Responses</h3>\n<h4 id=\"invalid-api-key-401403\">Invalid API Key (401/403)</h4>\n<p>Returned when the provided API key is invalid or missing.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"error\": \"Invalid API key\",\n  \"message\": \"The API key provided is not valid\"\n}\n\n</code></pre>\n<h2 id=\"use-cases\">Use Cases</h2>\n<ol>\n<li><p><strong>Product Detail Pages</strong>: Retrieve specific variation information to display on product detail pages</p>\n</li>\n<li><p><strong>Inventory Management</strong>: Fetch variation data to check availability and pricing</p>\n</li>\n<li><p><strong>Price Comparison</strong>: Get current pricing for specific product variations</p>\n</li>\n<li><p><strong>Order Processing</strong>: Validate variation details before processing orders</p>\n</li>\n</ol>\n<h2 id=\"error-handling\">Error Handling</h2>\n<ul>\n<li><p><strong>Invalid API Key</strong>: Ensure your API key is correctly configured and has not expired</p>\n</li>\n<li><p><strong>Missing variation_id</strong>: The <code>variation_id</code> parameter is required; requests without it will fail</p>\n</li>\n<li><p><strong>Variation Not Found</strong>: If the specified variation_id doesn't exist, an appropriate error will be returned</p>\n</li>\n</ul>\n<h2 id=\"notes\">Notes</h2>\n<ul>\n<li><p>The <code>variation_id</code> must be a valid identifier from your product catalog</p>\n</li>\n<li><p>Response times may vary based on the complexity of the variation data</p>\n</li>\n<li><p>Consider caching variation data to reduce API calls for frequently accessed variations</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}},"urlObject":{"path":["product","get-variation"],"host":["https://g4a4.com/wp-json/reseller/v1"],"query":[{"description":{"content":"<p>Variation ID that is obtained from the get-product endpoint.</p>\n","type":"text/plain"},"key":"variation_id","value":"366068"},{"disabled":true,"description":{"content":"<p>Send it if you want to use test mode.</p>\n","type":"text/plain"},"key":"test_mode","value":"false"}],"variable":[]}},"response":[{"id":"f2cde0e2-6aa0-4311-847f-d5baa2717c0f","name":"get-variation","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://g4a4.com/wp-json/reseller/v1/product/get-variation?variation_id=366068","host":["https://g4a4.com/wp-json/reseller/v1"],"path":["product","get-variation"],"query":[{"key":"variation_id","value":"366068","description":"Variation ID that is obtained from the get-product endpoint."}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"variation\": {\n            \"id\": 366068,\n            \"name\": \"بازی ماینکرافت (ایکس باکس) - Minecraft, Minecraft Triple Bundle\",\n            \"price\": 5885250,\n            \"currency\": \"IRT\",\n            \"discount\": 5,\n            \"in_stock\": true,\n            \"delivery_type\": \"code\",\n            \"attributes\": [\n                {\n                    \"key\": \"عنوان-بازی\",\n                    \"name\": \"عنوان بازی\",\n                    \"value\": \"Minecraft\",\n                    \"label\": \"Minecraft\"\n                },\n                {\n                    \"key\": \"amount\",\n                    \"name\": \"مقدار\",\n                    \"value\": \"Minecraft Triple Bundle\",\n                    \"label\": \"Minecraft Triple Bundle\"\n                }\n            ],\n            \"fields\": []\n        }\n    }\n}"},{"id":"6e4f5352-b33e-4066-a71b-76d74f289f4e","name":"Invalid API key","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"product_id\":  \"103433\" //from get-products\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/product/get-product"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403,\n    \"message\": \"Invalid API key\",\n    \"data\": {\n        \"status\": 403\n    }\n}"}],"_postman_id":"82e2a64f-9d0b-45f2-b3a1-97eecd982bb7"},{"name":"get-regions","id":"aa17a547-79ff-43e7-94bd-862b6af5cdb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://g4a4.com/wp-json/reseller/v1/product/get-regions","description":"<h1 id=\"get-regions\">Get Regions</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint returns the list of available region keys and names on the website. The regions represent geographical areas or locations that are used to categorize and filter products.</p>\n<h2 id=\"purpose\">Purpose</h2>\n<p>The primary purpose of this endpoint is to provide a reference list of all available regions. These regions can be used as a reference for filtering product variations based on the <code>pa_region</code> attribute when querying products.</p>\n<h2 id=\"request-details\">Request Details</h2>\n<ul>\n<li><p><strong>Method:</strong> <code>GET</code></p>\n</li>\n<li><p><strong>Endpoint:</strong> <code>https://g4a4.com/wp-json/reseller/v1/product/get-regions</code></p>\n</li>\n<li><p><strong>Parameters:</strong> None required</p>\n</li>\n</ul>\n<h2 id=\"response-format\">Response Format</h2>\n<p>The endpoint returns a list of region objects, each containing:</p>\n<ul>\n<li><p><strong>Key:</strong> The unique identifier for the region (used in filtering)</p>\n</li>\n<li><p><strong>Name:</strong> The human-readable display name of the region</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"key\": \"region_key\",\n    \"name\": \"Region Name\"\n  }\n]\n\n</code></pre>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}},"urlObject":{"path":["product","get-regions"],"host":["https://g4a4.com/wp-json/reseller/v1"],"query":[],"variable":[]}},"response":[{"id":"9fd92461-afb1-4402-9233-c8cae5fc3a93","name":"get-regions","originalRequest":{"method":"GET","header":[],"url":"https://g4a4.com/wp-json/reseller/v1/product/get-regions"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"regions\": [\n            {\n                \"key\": \"other\",\n                \"label\": \"Other\"\n            },\n            {\n                \"key\": \"global\",\n                \"label\": \"آزاد (آمریکا، آرژانتین، ترکیه)\"\n            },\n            {\n                \"key\": \"latam\",\n                \"label\": \"آمریکا لاتین\"\n            },\n            {\n                \"key\": \"free\",\n                \"label\": \"آزاد\"\n            },\n            {\n                \"key\": \"united_nations\",\n                \"label\": \"خاورمیانه (MENA)\"\n            },\n            {\n                \"key\": \"me\",\n                \"label\": \"Middle East\"\n            },\n            {\n                \"key\": \"us\",\n                \"label\": \"امریکا\"\n            },\n            {\n                \"key\": \"eu\",\n                \"label\": \"اروپا\"\n            },\n            {\n                \"key\": \"ua\",\n                \"label\": \"اوکراین\"\n            },\n            {\n                \"key\": \"tr\",\n                \"label\": \"ترکیه\"\n            },\n            {\n                \"key\": \"gb\",\n                \"label\": \"انگلیس\"\n            },\n            {\n                \"key\": \"br\",\n                \"label\": \"برزیل\"\n            },\n            {\n                \"key\": \"ar\",\n                \"label\": \"آرژانتین\"\n            },\n            {\n                \"key\": \"cn\",\n                \"label\": \"چین\"\n            },\n            {\n                \"key\": \"hmt\",\n                \"label\": \"HMT\"\n            },\n            {\n                \"key\": \"ee\",\n                \"label\": \"استونی\"\n            },\n            {\n                \"key\": \"pe\",\n                \"label\": \"پرو\"\n            },\n            {\n                \"key\": \"sea\",\n                \"label\": \"جنوب شرقی آسیا\"\n            },\n            {\n                \"key\": \"jp\",\n                \"label\": \"ژاپن\"\n            },\n            {\n                \"key\": \"iq\",\n                \"label\": \"عراق\"\n            },\n            {\n                \"key\": \"kz\",\n                \"label\": \"قزاقستان\"\n            },\n            {\n                \"key\": \"co\",\n                \"label\": \"کلمبیا\"\n            },\n            {\n                \"key\": \"lb\",\n                \"label\": \"لبنان\"\n            },\n            {\n                \"key\": \"lv\",\n                \"label\": \"لتونی\"\n            },\n            {\n                \"key\": \"lu\",\n                \"label\": \"لوکزامبورگ\"\n            },\n            {\n                \"key\": \"lt\",\n                \"label\": \"لیتوانی\"\n            },\n            {\n                \"key\": \"hu\",\n                \"label\": \"مجارستان\"\n            },\n            {\n                \"key\": \"ma\",\n                \"label\": \"مراکش\"\n            },\n            {\n                \"key\": \"eg\",\n                \"label\": \"مصر\"\n            },\n            {\n                \"key\": \"ng\",\n                \"label\": \"نیجریه\"\n            },\n            {\n                \"key\": \"za\",\n                \"label\": \"آفریقای جنوبی\"\n            },\n            {\n                \"key\": \"de\",\n                \"label\": \"آلمان\"\n            },\n            {\n                \"key\": \"at\",\n                \"label\": \"اتریش\"\n            },\n            {\n                \"key\": \"es\",\n                \"label\": \"اسپانیا\"\n            },\n            {\n                \"key\": \"sk\",\n                \"label\": \"اسلواکی\"\n            },\n            {\n                \"key\": \"it\",\n                \"label\": \"ایتالیا\"\n            },\n            {\n                \"key\": \"ie\",\n                \"label\": \"ایرلند\"\n            },\n            {\n                \"key\": \"bh\",\n                \"label\": \"بحرین\"\n            },\n            {\n                \"key\": \"be\",\n                \"label\": \"بلژیک\"\n            },\n            {\n                \"key\": \"pt\",\n                \"label\": \"پرتغال\"\n            },\n            {\n                \"key\": \"th\",\n                \"label\": \"تایلند\"\n            },\n            {\n                \"key\": \"tw\",\n                \"label\": \"تایوان\"\n            },\n            {\n                \"key\": \"cz\",\n                \"label\": \"جمهوری چک\"\n            },\n            {\n                \"key\": \"dk\",\n                \"label\": \"دانمارک\"\n            },\n            {\n                \"key\": \"ro\",\n                \"label\": \"رومانی\"\n            },\n            {\n                \"key\": \"sg\",\n                \"label\": \"سنگاپور\"\n            },\n            {\n                \"key\": \"se\",\n                \"label\": \"سوئد\"\n            },\n            {\n                \"key\": \"ch\",\n                \"label\": \"سوئیس\"\n            },\n            {\n                \"key\": \"cl\",\n                \"label\": \"شیلی\"\n            },\n            {\n                \"key\": \"sa\",\n                \"label\": \"عربستان سعودی\"\n            },\n            {\n                \"key\": \"om\",\n                \"label\": \"عمان\"\n            },\n            {\n                \"key\": \"fr\",\n                \"label\": \"فرانسه\"\n            },\n            {\n                \"key\": \"fi\",\n                \"label\": \"فنلاند\"\n            },\n            {\n                \"key\": \"ph\",\n                \"label\": \"فیلیپین\"\n            },\n            {\n                \"key\": \"qa\",\n                \"label\": \"قطر\"\n            },\n            {\n                \"key\": \"kr\",\n                \"label\": \"کره جنوبی\"\n            },\n            {\n                \"key\": \"hr\",\n                \"label\": \"کرواسی\"\n            },\n            {\n                \"key\": \"kw\",\n                \"label\": \"کویت\"\n            },\n            {\n                \"key\": \"pl\",\n                \"label\": \"لهستان\"\n            },\n            {\n                \"key\": \"mx\",\n                \"label\": \"مکزیک\"\n            },\n            {\n                \"key\": \"no\",\n                \"label\": \"نروژ\"\n            },\n            {\n                \"key\": \"nz\",\n                \"label\": \"نیوزلند\"\n            },\n            {\n                \"key\": \"nl\",\n                \"label\": \"هلند\"\n            },\n            {\n                \"key\": \"gr\",\n                \"label\": \"یونان\"\n            },\n            {\n                \"key\": \"ae\",\n                \"label\": \"امارات\"\n            },\n            {\n                \"key\": \"ru\",\n                \"label\": \"روسیه\"\n            },\n            {\n                \"key\": \"ca\",\n                \"label\": \"کانادا\"\n            },\n            {\n                \"key\": \"in\",\n                \"label\": \"هند\"\n            },\n            {\n                \"key\": \"au\",\n                \"label\": \"استرالیا\"\n            },\n            {\n                \"key\": \"no-region\",\n                \"label\": \"ست نشده\"\n            },\n            {\n                \"key\": \"gift-eu\",\n                \"label\": \"گیفت - اروپا\"\n            },\n            {\n                \"key\": \"vn\",\n                \"label\": \"ویتنام\"\n            },\n            {\n                \"key\": \"hk\",\n                \"label\": \"هنگ کنگ\"\n            },\n            {\n                \"key\": \"id\",\n                \"label\": \"اندونزی\"\n            },\n            {\n                \"key\": \"mc\",\n                \"label\": \"مالزی\"\n            },\n            {\n                \"key\": \"uy\",\n                \"label\": \"اروگوئه\"\n            },\n            {\n                \"key\": \"cr\",\n                \"label\": \"کاستاریکا\"\n            }\n        ]\n    }\n}"}],"_postman_id":"aa17a547-79ff-43e7-94bd-862b6af5cdb7"}],"id":"429582d8-1c5e-4c9c-860d-c74c7e132dc7","description":"<p>This section pertains to products. You can review categories, products, and prices using these endpoints</p>\n","_postman_id":"429582d8-1c5e-4c9c-860d-c74c7e132dc7","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}}},{"name":"order","item":[{"name":"add-order","id":"61872f5c-3adb-447d-ac45-4f02aa52ec04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"client_reference\": \"YOUR-UNIQUE-REFERENCE-FOR-THIS-ORDER\", \r\n  // Optional: A unique reference provided by the client for tracking this order\r\n\r\n  \"variation_id\": \"206638\",\r\n  // Required: The ID of the selected product variation\r\n\r\n  \"quantity\": 2,\r\n  // Optional: Number of items to order (default is 1)\r\n\r\n  \"customer\": {\r\n    // Optional: Customer information\r\n    \"first_name\": \"FIRSTNAME\",\r\n    \"last_name\": \"LASTNAME\",\r\n    \"email\": \"EMAIL@EMAIL.COM\",\r\n    \"phone\": \"09121211221\"\r\n  },\r\n\r\n  \"data\": {\r\n    // Required if the selected variation requires additional fields\r\n    // The required fields depend on the variation configuration\r\n    \"email\": \"mail@gmail.com\",\r\n    \"game_password\": \"12345$54321\",\r\n    \"player_name\": \"g4a4Gamer\"\r\n  },\r\n\r\n  \"test_mode\": false\r\n  // Optional: If you want to place a test order, you can set this to true. Otherwise, do not send this field.\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/add-order","description":"<h1 id=\"add-order\">Add Order</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint creates a new order in the system. Use this endpoint to place orders for products by specifying the variation ID, quantity, customer information, and any additional data required by the selected product variation.</p>\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<h3 id=\"client_reference-string-optional\"><code>client_reference</code> (String, Optional)</h3>\n<p>A unique reference provided by the client for tracking this order. This can be used to identify and retrieve the order later using your own internal reference system.</p>\n<p><strong>Example:</strong> <code>\"YOUR-UNIQUE-REFERENCE-FOR-THIS-ORDER\"</code></p>\n<hr />\n<h3 id=\"variation_id-string-required\"><code>variation_id</code> (String, Required)</h3>\n<p>The ID of the selected product variation that you want to order. This identifies the specific product configuration being purchased.</p>\n<p><strong>Example:</strong> <code>\"206638\"</code></p>\n<hr />\n<h3 id=\"quantity-integer-optional\"><code>quantity</code> (Integer, Optional)</h3>\n<p>The number of items to order. If not specified, defaults to 1.</p>\n<p><strong>Example:</strong> <code>2</code></p>\n<hr />\n<h3 id=\"customer-object-optional\"><code>customer</code> (Object, Optional)</h3>\n<p>Customer information for the order. All fields within this object are optional.</p>\n<h4 id=\"customer-object-fields\">Customer Object Fields:</h4>\n<ul>\n<li><p><strong><code>first_name</code></strong> (String, Optional): Customer's first name</p>\n</li>\n<li><p><strong><code>last_name</code></strong> (String, Optional): Customer's last name</p>\n</li>\n<li><p><strong><code>email</code></strong> (String, Optional): Customer's email address</p>\n</li>\n<li><p><strong><code>phone</code></strong> (String, Optional): Customer's phone number</p>\n</li>\n</ul>\n<p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\",\n  \"email\": \"john.doe@example.com\",\n  \"phone\": \"09121211221\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"data-object-conditional\"><code>data</code> (Object, Conditional)</h3>\n<p>Additional data required for order processing. <strong>This field is required if the selected variation requires additional fields.</strong> The specific fields needed within this object depend on the variation configuration.</p>\n<p>Common fields may include:</p>\n<ul>\n<li><p><strong><code>email</code></strong>: Email address for the service/game account</p>\n</li>\n<li><p><strong><code>game_password</code></strong>: Password for the game account</p>\n</li>\n<li><p><strong><code>player_name</code></strong>: In-game player name or username</p>\n</li>\n</ul>\n<p><strong>Note:</strong> The required fields in this object vary based on the product variation. Check the variation details to determine which fields are mandatory.</p>\n<p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"mail@gmail.com\",\n  \"game_password\": \"12345$54321\",\n  \"player_name\": \"g4a4Gamer\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"test_mode-boolean-optional\"><code>test_mode</code> (Boolean, Optional)</h3>\n<p>Set this to <code>true</code> if you want to place a test order without actually processing it. This is useful for testing your integration. If you want to place a real order, either set this to <code>false</code> or omit this field entirely.</p>\n<p><strong>Default:</strong> <code>false</code> (if not provided)</p>\n<p><strong>Example:</strong> <code>true</code> for test orders, <code>false</code> or omitted for real orders</p>\n<hr />\n<h2 id=\"response\">Response</h2>\n<p>Upon successful order creation, the API will return the order details including the order ID and status. Check the examples for different response scenarios including success and error cases.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}},"urlObject":{"path":["order","add-order"],"host":["https://g4a4.com/wp-json/reseller/v1"],"query":[],"variable":[]}},"response":[{"id":"c4c99a31-f6bc-4ff5-b04a-ea63c9b776ac","name":"example(1)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"variation_id\": \"189309\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/add-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"order_id\": 310409,\n        \"total\": 2569750,\n        \"currency\": \"IRT\"\n    }\n}"},{"id":"363f0897-1ba3-47ca-90de-0aa6128f4827","name":"example(2)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"variation_id\": \"19869\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/add-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"order_id\": 310414,\n        \"total\": 274550,\n        \"currency\": \"IRT\"\n    }\n}"},{"id":"63efafbc-c3d2-4be2-9e80-e694dfd59f12","name":"example(3)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"variation_id\": \"206638\",\r\n    \"quantity\": 1, //default=>1\r\n    \"customer\":{ //additional\r\n        \"first_name\":\"FIRSTNAME\",\r\n        \"last_name\":\"LASTNAME\",\r\n        \"email\":\"EMAIL@EMAIL.COM\",\r\n        \"phone\":\"09121211221\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/add-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"order_id\": 310445,\n        \"total\": 492100,\n        \"currency\": \"IRT\"\n    }\n}"},{"id":"6cca30c2-b052-431d-a3be-269fd8dbcb63","name":"example(4)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"variation_id\": \"206638\",\r\n    \"quantity\": 1, //default=>1\r\n    \"customer\":{ //additional\r\n        \"first_name\":\"FIRSTNAME\",\r\n        \"last_name\":\"LASTNAME\",\r\n        \"email\":\"EMAIL@EMAIL.COM\",\r\n        \"phone\":\"09121211221\"\r\n    },\r\n    \"data\":{//based on product and variation\r\n        \"email\":\"mail@gmail.com\",\r\n        \"game_password\":\"12345$54321\",\r\n        \"player_name\":\"g4a4Gamer\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/add-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"order_id\": 310449,\n        \"total\": 492100,\n        \"currency\": \"IRT\"\n    }\n}"},{"id":"9e59c81e-e49d-48cb-975b-8e2f166e62b6","name":"Insufficient balance","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"variation_id\": \"206638\",\r\n    \"quantity\": 2000\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/add-order"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 400,\n    \"message\": \"Insufficient balance\",\n    \"data\": {\n        \"status\": 400\n    }\n}"},{"id":"5b6326d2-1a1f-4968-888f-bd76278e2d92","name":"Invalid API key","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"variation_id\": \"206638\",\r\n    \"quantity\": 1, //default=>1\r\n    \"customer\":{ //additional\r\n        \"first_name\":\"FIRSTNAME\",\r\n        \"last_name\":\"LASTNAME\",\r\n        \"email\":\"EMAIL@EMAIL.COM\",\r\n        \"phone\":\"09121211221\"\r\n    },\r\n    \"data\":{//based on product and varia\r\n        \"email\":\"mail@gmail.com\",\r\n        \"game_password\":\"12345$54321\",\r\n        \"player_nam\":\"g4a4Gamer\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/add-order"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403,\n    \"message\": \"Invalid API key\",\n    \"data\": {\n        \"status\": 403\n    }\n}"}],"_postman_id":"61872f5c-3adb-447d-ac45-4f02aa52ec04"},{"name":"get-order","id":"18083707-b93f-44bf-a6af-72a0f9c84201","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/get-order?order_id=310445","description":"<h1 id=\"get-order-details\">Get Order Details</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>Retrieves detailed information about a specific order using its unique order identifier. This endpoint returns comprehensive order data including order status, customer information, product details, and other relevant order attributes.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>This endpoint requires a valid API key for authentication. Requests without proper authentication will receive an \"Invalid API key\" error response.</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>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>order_id</code></td>\n<td>integer</td>\n<td>Conditional*</td>\n<td>The unique identifier of the order to retrieve. Example values: <code>310445</code>, <code>32253</code></td>\n</tr>\n<tr>\n<td><code>client_reference</code></td>\n<td>string</td>\n<td>Conditional*</td>\n<td>If you provided client_reference during the order creation, you can use it to track the order.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong> At least one parameter (<code>order_id</code> or <code>client_reference</code>) must be provided. Both parameters can be sent in the same request, but neither can be empty. If <code>client_reference</code> was provided during order creation, it can be used to retrieve the order.</p>\n<h2 id=\"response-information\">Response Information</h2>\n<p>The successful response includes:</p>\n<ul>\n<li><p>Order identification and status</p>\n</li>\n<li><p>Customer information associated with the order</p>\n</li>\n<li><p>Product/item details included in the order</p>\n</li>\n<li><p>Pricing and payment information</p>\n</li>\n<li><p>Shipping and delivery details</p>\n</li>\n<li><p>Order timestamps (created, updated, etc.)</p>\n</li>\n<li><p>Any additional order metadata</p>\n</li>\n</ul>\n<h2 id=\"possible-responses\">Possible Responses</h2>\n<h3 id=\"success-200-ok\">Success (200 OK)</h3>\n<p>Returns the complete order details for the specified <code>order_id</code>.</p>\n<h3 id=\"invalid-api-key-401403\">Invalid API Key (401/403)</h3>\n<p>Returned when the API key is missing, invalid, or expired. Ensure you're using a valid API key in your request headers.</p>\n<h3 id=\"invalid-order-id-404\">Invalid Order ID (404)</h3>\n<p>Returned when the specified <code>order_id</code> does not exist or cannot be found in the system.</p>\n<h3 id=\"other-errors-4xx5xx\">Other Errors (4xx/5xx)</h3>\n<p>Various error responses may be returned for malformed requests, server errors, or other issues.</p>\n<h2 id=\"additional-notes\">Additional Notes</h2>\n<ul>\n<li><p>To get <strong>codes</strong> from notes, you can use <code>copyToClipboard\\(`([^`]+)`\\)</code> regex.</p>\n</li>\n<li><p>Ensure the <code>order_id</code> parameter is included in every request as it is required for order retrieval.</p>\n</li>\n<li><p>The base URL should be configured in your environment variables as <code>https://g4a4.com/wp-json/reseller/v1</code>.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}},"urlObject":{"path":["order","get-order"],"host":["https://g4a4.com/wp-json/reseller/v1"],"query":[{"description":{"content":"<p>Your order id</p>\n","type":"text/plain"},"key":"order_id","value":"310445"},{"disabled":true,"description":{"content":"<p>If you provided client_reference during the order creation, you can use it to track the order.</p>\n","type":"text/plain"},"key":"client_reference","value":"YOUR-UNIQUE-REFERENCE-FOR-ORDER"}],"variable":[]}},"response":[{"id":"8a2fc1eb-ac9d-41cb-a4d7-926bc00f8816","name":"example(1-1)","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"order_id\": \"310409\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/get-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"order\": {\n            \"id\": 310409,\n            \"status\": \"processing\",\n            \"total\": \"2569750\",\n            \"currency\": \"IRT\",\n            \"created_at\": \"2024-08-09 01:36:45\",\n            \"notes\": \"\"\n        }\n    }\n}"},{"id":"353c2258-9bc2-43c8-9727-3bee2200ad40","name":"example(1-2)","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"order_id\": \"310409\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/get-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"order\": {\n            \"id\": 310409,\n            \"status\": \"completed\",\n            \"total\": \"2569750\",\n            \"currency\": \"IRT\",\n            \"items\": [\n                {\n                    \"name\": \"کوین بازی اورواچ ۲\",\n                    \"quantity\": 1\n                }\n            ],\n            \"created_at\": \"2024-08-09 01:36:45\",\n            \"notes\": []\n        }\n    }\n}"},{"id":"5f18a61d-19b6-4d6d-a043-4336aee577b9","name":"example(2)","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"order_id\": \"310414\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/get-order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"order\": {\n            \"id\": 310414,\n            \"status\": \"completed\",\n            \"total\": \"274550\",\n            \"currency\": \"IRT\",\n            \"items\": [\n                {\n                    \"name\": \"کاهش پینگ اگزیت لگ یک ماهه\",\n                    \"quantity\": 1\n                }\n            ],\n            \"created_at\": \"2024-08-09 01:47:05\",\n            \"notes\": [\n                {\n                    \"note\": \"<div><p class=\\\"code-title\\\">ExitLag 1 Month Subscription Key:\\n</p><div class='delivered-section'><p><span>code</span><pre class=\\\"instant-delivery\\\" onclick=\\\"copyToClipboard(`exl-dsispM4SbCxq`)\\\">exl-dsispM4SbCxq</pre></p></div></div>\",\n                    \"created_at\": \"2024-08-09 01:51:59\"\n                }\n            ]\n        }\n    }\n}"},{"id":"1ee27b51-a302-4c03-a998-8ac9f375ab4f","name":"Invalid API key","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"order_id\": \"310445\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://g4a4.com/wp-json/reseller/v1/order/get-order"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403,\n    \"message\": \"Invalid API key\",\n    \"data\": {\n        \"status\": 403\n    }\n}"}],"_postman_id":"18083707-b93f-44bf-a6af-72a0f9c84201"}],"id":"a20286fb-0af8-48a7-80db-d2728e4465d7","description":"<p>This section pertains to orders. You can add and review your orders</p>\n","_postman_id":"a20286fb-0af8-48a7-80db-d2728e4465d7","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}}},{"name":"get-balance","id":"e7ea6f91-8deb-44bc-9911-62533a3da8da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://g4a4.com/wp-json/reseller/v1/get-balance","description":"<p>You can get your current balance</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","id":"6989f5c6-ac9c-4922-add1-7fc82bb4b16a","name":"G4A4-Reseller","type":"collection"}},"urlObject":{"path":["get-balance"],"host":["https://g4a4.com/wp-json/reseller/v1"],"query":[],"variable":[]}},"response":[{"id":"627a1b90-a7c9-4402-bdae-a35e9711d1ba","name":"success","originalRequest":{"method":"GET","header":[],"url":"https://g4a4.com/wp-json/reseller/v1/get-balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"balance\": 7430250,\n        \"currency\": \"IRT\"\n    }\n}"},{"id":"01fb02b5-e629-4da9-95b8-6711fb1d2eb6","name":"Invalid API key","originalRequest":{"method":"GET","header":[],"url":"https://g4a4.com/wp-json/reseller/v1/get-balance"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 403,\n    \"message\": \"Invalid API key\",\n    \"data\": {\n        \"status\": 403\n    }\n}"}],"_postman_id":"e7ea6f91-8deb-44bc-9911-62533a3da8da"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api-key"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"77f3976f-01d8-41d5-884c-cb0031a03ef5","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"3515b1ca-ee3d-477b-b40d-bdd783c8668d","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"base_url","value":"https://g4a4.com/wp-json/reseller/v1"}]}