Wildfire APIs
Public Commission Sample Data
3 min
if you need a set of sample commission data to test against, there are a few options available if you already have a wildfire application id and secret, you can request sample commissions be created for your application these sample commissions include a very small set of data with a single record in each possible status alternatively, if you need a larger, more diverse set of data, or if you don't have an application created yet, you can use a sample set of commission data this page describes this second option api description { "tab" "examples", "url" "https //api wfi re/v5/public/commission?limit=100", "name" "get sample commission data", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[ { "kind" "optional", "name" "limit", "type" "number", "children" \[], "description" "number of records to include in the result (default is 100)" } ], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "xwooflkk8fbnz9i iqxgn", "code" "{\n \\"commissions\\" \[\n {\n \\"commissionid\\" 1234569625,\n \\"applicationid\\" 0,\n \\"merchantid\\" 1234569625,\n \\"deviceid\\" 0,\n \\"devicexid\\" \\"0189abef\\",\n \\"saleamount\\" {\n \\"amount\\" \\"10 49\\",\n \\"currency\\" \\"brl\\"\n },\n \\"amounts\\" \[\n {\n \\"amount\\" \\"0\\",\n \\"currency\\" \\"usd\\",\n \\"splitpart\\" \\"device\\",\n \\"basecommissionamount\\" \\"0\\",\n \\"boostedcommissionamount\\" \\"0\\"\n }\n ],\n \\"status\\" \\"ready\\",\n \\"trackingcode\\" \\"012345 6780a bcdef0 50527\\",\n \\"eventdate\\" \\"2025 05 09t17 57 08z\\",\n \\"lockingdate\\" \\"2025 05 09t17 57 08z\\",\n \\"createddate\\" \\"2025 05 09t17 57 08 580189z\\",\n \\"modifieddate\\" \\"2025 05 09t18 02 08 580189z\\",\n \\"merchantorderid\\" \\"1234513110\\",\n \\"merchantsku\\" \\"c62 2770 006 04\\",\n \\"couponcodes\\" \\"\\",\n \\"shoppingtripcode\\" \\"stc 79066\\"\n }\n ]\n}", "language" "200", "customlabel" "" } ], "selectedlanguageid" "xwooflkk8fbnz9i iqxgn" }, "examples" { "languages" \[ { "id" "xptlckcwwg iaa8fdrr0x", "code" "curl location request get 'https //api wfi re/v5/public/commission?limit=10' \\\\\n header 'accept application/json'", "language" "curl", "customlabel" "" }, { "id" "fxcwa vb2yl2zaspims6o", "code" "var request = require('request');\nvar options = {\n 'method' 'get',\n 'url' 'https //api wfi re/v5/public/commission?limit=10',\n 'headers' {\n 'accept' 'application/json'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new error(error);\n console log(response body);\n});\n", "language" "nodejs", "customlabel" "" }, { "id" "mmbdabkf6lfjn6zxg3d g", "code" "var myheaders = new headers();\nmyheaders append(\\"accept\\", \\"application/json\\");\n\nvar requestoptions = {\n method 'get',\n headers myheaders,\n redirect 'follow'\n};\n\nfetch(\\"https //api wfi re/v5/public/commission?limit=10\\", requestoptions)\n then(response => response text())\n then(result => console log(result))\n catch(error => console log('error', error));", "language" "javascript", "customlabel" "" }, { "id" "jzgxvfqqg7vavaz3nmnhi", "code" "import requests\n\nurl = \\"https //api wfi re/v5/public/commission?limit=10\\"\n\npayload={}\nheaders = {\n 'accept' 'application/json'\n}\n\nresponse = requests request(\\"get\\", url, headers=headers, data=payload)\n\nprint(response text)\n", "language" "python", "customlabel" "" }, { "id" "hi3bf2ss7 chkleny9gwi", "code" "require \\"uri\\"\nrequire \\"net/http\"\n\nurl = uri(\\"https //api wfi re/v5/public/commission?limit=10\\")\n\nhttps = net http new(url host, url port)\nhttps use ssl = true\n\nrequest = net http get new(url)\nrequest\[\\"accept\\"] = \\"application/json\\"\n\nresponse = https request(request)\nputs response read body\n", "language" "ruby", "customlabel" "" } ], "selectedlanguageid" "hi3bf2ss7 chkleny9gwi" }, "description" "retrieve a sample set of commission data", "currentnewparameter" { "label" "query parameter", "value" "queryparameters" } } response details these records will represent a normal commission with the following exceptions the applicationid will always show as 0 the device id will always show as 0 the status is randomized (you'll see cases where a brand new commission record is marked paid which would never happen in the practice) you can find the other description of fields in the following article syncing commission data via api and callbacks docid\ kfgi2mirk7rikymt72ljp
