Skip to content

Commit 94a9999

Browse files
committed
Create anonymized-real-data.md
1 parent 79e89b3 commit 94a9999

File tree

1 file changed

+258
-0
lines changed

1 file changed

+258
-0
lines changed

openapi/anonymized-real-data.md

Lines changed: 258 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
# Real Data (anonymized & cleaned) (provided by <https://github.com/WolfwithSword>)
2+
3+
```json
4+
// /user/sites?status=approved&fields=id,name,logo,website,status,currency,affiliate_portal,ref_code,referral_link,coupon
5+
{
6+
"sites": [
7+
{
8+
"id": 132230,
9+
"name": "UwU Market",
10+
"logo": "https://creatives.goaffpro.com/132230/files/NDpAegaysoPA.png",
11+
"website": "https://uwumarket.us/",
12+
"status": "approved",
13+
"currency": "USD",
14+
"affiliate_portal": "https://uwumarket.goaffpro.com",
15+
"ref_code": "REFCODE1",
16+
"referral_link": "https://uwumarket.us/?ref=REFCODE1",
17+
"coupon": null
18+
},
19+
{
20+
"id": 165328,
21+
"name": "GamerSupps.GG",
22+
"logo": "https://creatives.goaffpro.com/165328/files/uHUzvTlLJX7n.png",
23+
"website": "https://gamersupps.gg/",
24+
"status": "approved",
25+
"currency": "USD",
26+
"affiliate_portal": "https://gamersupps.goaffpro.com",
27+
"ref_code": "CODE1",
28+
"referral_link": "https://gamersupps.gg/?ref=CODE1",
29+
"coupon": {
30+
"code": "CODE1",
31+
"discount_value": "",
32+
"discount_type": "percentage",
33+
"can_change": false
34+
}
35+
}
36+
],
37+
"count": 2
38+
}
39+
```
40+
41+
```json
42+
// user/stats/aggregate
43+
// values for money have been replaced
44+
// values for total sales have been replaced
45+
{
46+
"data": [
47+
{
48+
"store_name": "GamerSupps.GG",
49+
"website": "gamersupps.gg",
50+
"default_currency": "USD",
51+
"site_id": 165328,
52+
"currency": "USD",
53+
"commission_paid": "1000.23",
54+
"total_sales": 123, // count of sales
55+
"sale_commission_earned": "2000.567000",
56+
"revenue_generated": "5000.45"
57+
},
58+
{
59+
"store_name": "UwU Market",
60+
"website": "uwumarket.us",
61+
"default_currency": "USD",
62+
"site_id": 132230,
63+
"currency": "USD",
64+
"commission_paid": "1000.23",
65+
"total_sales": 456, // count of sales
66+
"sale_commission_earned": "2000.560700",
67+
"revenue_generated": "5000.45"
68+
}
69+
]
70+
}
71+
```
72+
73+
```json
74+
// user/commissions
75+
// used uwumarket id
76+
77+
{
78+
"commissions": [
79+
{
80+
"standard": {
81+
"commission_type": "percentage",
82+
"commission_value": 0,
83+
"commission_on": "order"
84+
},
85+
"special": [
86+
{
87+
"id": 123456,
88+
"commission_value": "10.00000",
89+
"commission_type": "percentage",
90+
"collection": {}
91+
}
92+
],
93+
"royalties": [
94+
{
95+
"id": 234567,
96+
"commission_value": "21.50",
97+
"commission_type": "percentage",
98+
"collection": {
99+
"id": 112233445566,
100+
"name": "Affiliate_Name"
101+
}
102+
}
103+
]
104+
}
105+
]
106+
}
107+
```
108+
109+
```json
110+
// users/feed/orders
111+
112+
{
113+
"orders": [
114+
{
115+
"site_id": 132230, // uwumarket
116+
"id": 12345678,
117+
"number": "#100001",
118+
"subtotal": "40.72",
119+
"total": "58.00",
120+
"sub_id": null,
121+
"conversion_details": null,
122+
"commission": "8.754800",
123+
"currency": "USD",
124+
"created_at": "2026-02-24T11:57:26.000Z",
125+
"website": "uwumarket.us",
126+
"store_name": "UwU Market",
127+
"status": "new",
128+
"line_items": [
129+
{
130+
"id": 20000000000000,
131+
"product_id": 2222222222222,
132+
"variation_id": 23333333333333,
133+
"sku": "SKU_STRING",
134+
"vendor": "UwU Market",
135+
"name": "Product Name",
136+
"quantity": 1,
137+
"refund_quantity": 0,
138+
"price": "40.72",
139+
"total_discount": 0,
140+
"total_price": 40.72,
141+
"total_tax": 0,
142+
"gift_card_amount_used": 0,
143+
"gift_card_percentage": 0,
144+
"total": 40.72,
145+
"exclude_discounts": true,
146+
"commission": 8.7548,
147+
"affiliate_id": 99999999,
148+
"commission_value": "21.50",
149+
"commission_type": "percentage"
150+
}
151+
]
152+
},
153+
{
154+
"site_id": 132230,
155+
"id": 12345999,
156+
"number": "#100000",
157+
"subtotal": "85.09",
158+
"total": "173.24",
159+
"sub_id": null,
160+
"conversion_details": null,
161+
"commission": "18.294350",
162+
"currency": "USD",
163+
"created_at": "2026-01-14T23:59:03.000Z",
164+
"website": "uwumarket.us",
165+
"store_name": "UwU Market",
166+
"status": "approved",
167+
"line_items": [
168+
// I removed many items from this order, so amounts above may not add up
169+
{
170+
"id": 10000000000000,
171+
"product_id": 2222222222220,
172+
"variation_id": 2222222222222,
173+
"sku": "SKU_STRING",
174+
"vendor": "UwU Market",
175+
"name": "Product Name",
176+
"quantity": 1,
177+
"refund_quantity": 0,
178+
"price": "15.23",
179+
"total_discount": 0,
180+
"total_price": 15.23,
181+
"total_tax": 0,
182+
"gift_card_amount_used": 0,
183+
"gift_card_percentage": 0,
184+
"total": 15.23,
185+
"exclude_discounts": true,
186+
"commission": 3.27445,
187+
"affiliate_id": 99999999,
188+
"commission_value": "21.50",
189+
"commission_type": "percentage"
190+
},
191+
{
192+
"id": 10000000000005,
193+
"product_id": 2222222222000,
194+
"variation_id": 2222222111111,
195+
"sku": "SKU_STRING",
196+
"vendor": "UwU Market",
197+
"name": "Product Name 2",
198+
"quantity": 1,
199+
"refund_quantity": 0,
200+
"price": "13.14",
201+
"total_discount": 0,
202+
"total_price": 13.14,
203+
"total_tax": 0,
204+
"gift_card_amount_used": 0,
205+
"gift_card_percentage": 0,
206+
"total": 13.14,
207+
"exclude_discounts": true,
208+
"commission": 2.8251,
209+
"affiliate_id": 99999999,
210+
"commission_value": "21.50",
211+
"commission_type": "percentage"
212+
}
213+
]
214+
}
215+
],
216+
"count": 2,
217+
"offset": 0,
218+
"limit": 2
219+
}
220+
```
221+
222+
```json
223+
// user/feed/traffic
224+
{
225+
"traffic": [
226+
{
227+
"id": 3333333333,
228+
"landing_page": null,
229+
"user_agent": null,
230+
"ip_address": "IPV6_ADDR",
231+
"created_at": "2026-02-24T12:00:31.000Z",
232+
"order_id": 33333333,
233+
"sub_id": null
234+
},
235+
{
236+
"id": 2222222222,
237+
"landing_page": null,
238+
"user_agent": null,
239+
"ip_address": "IPV6_ADDR",
240+
"created_at": "2026-02-18T06:03:22.000Z",
241+
"order_id": 22222222,
242+
"sub_id": null
243+
},
244+
{
245+
"id": 1111111111,
246+
"landing_page": null,
247+
"user_agent": null,
248+
"ip_address": "IPV4_ADDR",
249+
"created_at": "2026-02-18T03:39:33.000Z",
250+
"order_id": 11111111,
251+
"sub_id": null
252+
}
253+
],
254+
"count": 3,
255+
"limit": 3,
256+
"offset": 0
257+
}
258+
```

0 commit comments

Comments
 (0)