@decocms/apps-nuvemshop 7.74.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/package.json +48 -0
  2. package/src/__fixtures__/browse-category.json +813 -0
  3. package/src/__fixtures__/categories.json +60 -0
  4. package/src/__fixtures__/checkout.json +3 -0
  5. package/src/__fixtures__/product-custom-fields.json +199 -0
  6. package/src/__fixtures__/product.json +313 -0
  7. package/src/__fixtures__/search.json +636 -0
  8. package/src/__fixtures__/shipping-options.json +9 -0
  9. package/src/__tests__/client.test.ts +118 -0
  10. package/src/__tests__/loaders.test.ts +220 -0
  11. package/src/__tests__/mod.test.ts +51 -0
  12. package/src/actions/createCheckout.ts +36 -0
  13. package/src/client.ts +165 -0
  14. package/src/hooks/__tests__/useCart.test.ts +81 -0
  15. package/src/hooks/useCart.ts +115 -0
  16. package/src/index.ts +23 -0
  17. package/src/loaders/categories.ts +27 -0
  18. package/src/loaders/productDetailsPage.ts +30 -0
  19. package/src/loaders/productList.ts +49 -0
  20. package/src/loaders/productListingPage.ts +94 -0
  21. package/src/loaders/relatedProducts.ts +41 -0
  22. package/src/loaders/shippingOptions.ts +29 -0
  23. package/src/loaders/suggestions.ts +24 -0
  24. package/src/manifest.gen.ts +31 -0
  25. package/src/mod.ts +42 -0
  26. package/src/registry.ts +9 -0
  27. package/src/utils/__tests__/listing.test.ts +167 -0
  28. package/src/utils/__tests__/transform.test.ts +212 -0
  29. package/src/utils/instrumentedFetch.ts +40 -0
  30. package/src/utils/listing.ts +183 -0
  31. package/src/utils/operationRouter.ts +21 -0
  32. package/src/utils/request.ts +17 -0
  33. package/src/utils/transform.ts +231 -0
  34. package/src/utils/types.ts +141 -0
  35. package/tsconfig.json +7 -0
@@ -0,0 +1,813 @@
1
+ {
2
+ "data": [
3
+ {
4
+ "id": 372190453,
5
+ "name": "Camisa Xadrez Lenhador Azul",
6
+ "handle": "camisa-xadrez-lenhador-azul",
7
+ "description": "<p>Camisa xadrez de flanela macia, com bolsos frontais e botões de pressão. Ideal para os dias mais frescos, por cima de uma camiseta ou fechada.</p><p><strong>Cores disponíveis:</strong> Azul e Preto, Vermelho e Preto<br><strong>Tamanhos:</strong> P / M / G / GG</p><p><strong>Cuidados:</strong></p><ul><li>Lavar à mão ou na máquina em ciclo delicado</li><li>Não usar alvejante</li><li>Passar em temperatura média</li></ul>",
8
+ "images": [
9
+ {
10
+ "id": 1289344969,
11
+ "src": "https://dcdn-us.mitiendanube.com/stores/008/336/778/products/1-0dc6e3225f75c6be6617912360695512-1024-1024.webp",
12
+ "alt": "",
13
+ "height": 1000,
14
+ "width": 1000
15
+ },
16
+ {
17
+ "id": 1289344973,
18
+ "src": "https://dcdn-us.mitiendanube.com/stores/008/336/778/products/2-c444e295855213e1e117912360699859-1024-1024.webp",
19
+ "alt": "",
20
+ "height": 1000,
21
+ "width": 1000
22
+ }
23
+ ],
24
+ "variants": [
25
+ {
26
+ "id": 1612648502,
27
+ "image_id": 1289344969,
28
+ "product_id": 372190453,
29
+ "position": 1,
30
+ "price": "189.90",
31
+ "price_without_taxes": null,
32
+ "compare_at_price": "189.90",
33
+ "promotional_price": null,
34
+ "stock_management": true,
35
+ "stock": 17,
36
+ "weight": "0.350",
37
+ "width": "0.00",
38
+ "height": "0.00",
39
+ "depth": "0.00",
40
+ "sku": "MD001-1-P",
41
+ "values": ["P", "Azul e Preto"],
42
+ "barcode": null,
43
+ "mpn": null,
44
+ "age_group": null,
45
+ "gender": null,
46
+ "created_at": "2026-10-05T21:34:27+0000",
47
+ "updated_at": "2026-10-05T21:34:30+0000",
48
+ "cost": null,
49
+ "visible": true,
50
+ "inventory_levels": [
51
+ {
52
+ "id": 1243980509,
53
+ "variant_id": 1612648502,
54
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
55
+ "stock": 17
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "id": 1612648503,
61
+ "image_id": 1289344969,
62
+ "product_id": 372190453,
63
+ "position": 2,
64
+ "price": "189.90",
65
+ "price_without_taxes": null,
66
+ "compare_at_price": "189.90",
67
+ "promotional_price": null,
68
+ "stock_management": true,
69
+ "stock": 20,
70
+ "weight": "0.350",
71
+ "width": "0.00",
72
+ "height": "0.00",
73
+ "depth": "0.00",
74
+ "sku": "MD001-1-M",
75
+ "values": ["M", "Azul e Preto"],
76
+ "barcode": null,
77
+ "mpn": null,
78
+ "age_group": null,
79
+ "gender": null,
80
+ "created_at": "2026-10-05T21:34:28+0000",
81
+ "updated_at": "2026-10-05T21:34:30+0000",
82
+ "cost": null,
83
+ "visible": true,
84
+ "inventory_levels": [
85
+ {
86
+ "id": 1243980547,
87
+ "variant_id": 1612648503,
88
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
89
+ "stock": 20
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "id": 1612648506,
95
+ "image_id": 1289344969,
96
+ "product_id": 372190453,
97
+ "position": 3,
98
+ "price": "189.90",
99
+ "price_without_taxes": null,
100
+ "compare_at_price": "189.90",
101
+ "promotional_price": null,
102
+ "stock_management": true,
103
+ "stock": 23,
104
+ "weight": "0.350",
105
+ "width": "0.00",
106
+ "height": "0.00",
107
+ "depth": "0.00",
108
+ "sku": "MD001-1-G",
109
+ "values": ["G", "Azul e Preto"],
110
+ "barcode": null,
111
+ "mpn": null,
112
+ "age_group": null,
113
+ "gender": null,
114
+ "created_at": "2026-10-05T21:34:28+0000",
115
+ "updated_at": "2026-10-05T21:34:30+0000",
116
+ "cost": null,
117
+ "visible": true,
118
+ "inventory_levels": [
119
+ {
120
+ "id": 1243980553,
121
+ "variant_id": 1612648506,
122
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
123
+ "stock": 23
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "id": 1612648508,
129
+ "image_id": 1289344969,
130
+ "product_id": 372190453,
131
+ "position": 4,
132
+ "price": "189.90",
133
+ "price_without_taxes": null,
134
+ "compare_at_price": "189.90",
135
+ "promotional_price": null,
136
+ "stock_management": true,
137
+ "stock": 26,
138
+ "weight": "0.350",
139
+ "width": "0.00",
140
+ "height": "0.00",
141
+ "depth": "0.00",
142
+ "sku": "MD001-1-GG",
143
+ "values": ["GG", "Azul e Preto"],
144
+ "barcode": null,
145
+ "mpn": null,
146
+ "age_group": null,
147
+ "gender": null,
148
+ "created_at": "2026-10-05T21:34:28+0000",
149
+ "updated_at": "2026-10-05T21:34:30+0000",
150
+ "cost": null,
151
+ "visible": true,
152
+ "inventory_levels": [
153
+ {
154
+ "id": 1243980556,
155
+ "variant_id": 1612648508,
156
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
157
+ "stock": 26
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ "id": 1612648511,
163
+ "image_id": 1289344969,
164
+ "product_id": 372190453,
165
+ "position": 5,
166
+ "price": "189.90",
167
+ "price_without_taxes": null,
168
+ "compare_at_price": "189.90",
169
+ "promotional_price": null,
170
+ "stock_management": true,
171
+ "stock": 29,
172
+ "weight": "0.350",
173
+ "width": "0.00",
174
+ "height": "0.00",
175
+ "depth": "0.00",
176
+ "sku": "MD001-2-P",
177
+ "values": ["P", "Vermelho e Preto"],
178
+ "barcode": null,
179
+ "mpn": null,
180
+ "age_group": null,
181
+ "gender": null,
182
+ "created_at": "2026-10-05T21:34:28+0000",
183
+ "updated_at": "2026-10-05T21:34:30+0000",
184
+ "cost": null,
185
+ "visible": true,
186
+ "inventory_levels": [
187
+ {
188
+ "id": 1243980557,
189
+ "variant_id": 1612648511,
190
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
191
+ "stock": 29
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "id": 1612648513,
197
+ "image_id": 1289344969,
198
+ "product_id": 372190453,
199
+ "position": 6,
200
+ "price": "189.90",
201
+ "price_without_taxes": null,
202
+ "compare_at_price": "189.90",
203
+ "promotional_price": null,
204
+ "stock_management": true,
205
+ "stock": 32,
206
+ "weight": "0.350",
207
+ "width": "0.00",
208
+ "height": "0.00",
209
+ "depth": "0.00",
210
+ "sku": "MD001-2-M",
211
+ "values": ["M", "Vermelho e Preto"],
212
+ "barcode": null,
213
+ "mpn": null,
214
+ "age_group": null,
215
+ "gender": null,
216
+ "created_at": "2026-10-05T21:34:28+0000",
217
+ "updated_at": "2026-10-05T21:34:30+0000",
218
+ "cost": null,
219
+ "visible": true,
220
+ "inventory_levels": [
221
+ {
222
+ "id": 1243980560,
223
+ "variant_id": 1612648513,
224
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
225
+ "stock": 32
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "id": 1612648515,
231
+ "image_id": 1289344969,
232
+ "product_id": 372190453,
233
+ "position": 7,
234
+ "price": "189.90",
235
+ "price_without_taxes": null,
236
+ "compare_at_price": "189.90",
237
+ "promotional_price": null,
238
+ "stock_management": true,
239
+ "stock": 10,
240
+ "weight": "0.350",
241
+ "width": "0.00",
242
+ "height": "0.00",
243
+ "depth": "0.00",
244
+ "sku": "MD001-2-G",
245
+ "values": ["G", "Vermelho e Preto"],
246
+ "barcode": null,
247
+ "mpn": null,
248
+ "age_group": null,
249
+ "gender": null,
250
+ "created_at": "2026-10-05T21:34:29+0000",
251
+ "updated_at": "2026-10-05T21:34:30+0000",
252
+ "cost": null,
253
+ "visible": true,
254
+ "inventory_levels": [
255
+ {
256
+ "id": 1243980563,
257
+ "variant_id": 1612648515,
258
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
259
+ "stock": 10
260
+ }
261
+ ]
262
+ },
263
+ {
264
+ "id": 1612648518,
265
+ "image_id": 1289344969,
266
+ "product_id": 372190453,
267
+ "position": 8,
268
+ "price": "189.90",
269
+ "price_without_taxes": null,
270
+ "compare_at_price": "189.90",
271
+ "promotional_price": null,
272
+ "stock_management": true,
273
+ "stock": 13,
274
+ "weight": "0.350",
275
+ "width": "0.00",
276
+ "height": "0.00",
277
+ "depth": "0.00",
278
+ "sku": "MD001-2-GG",
279
+ "values": ["GG", "Vermelho e Preto"],
280
+ "barcode": null,
281
+ "mpn": null,
282
+ "age_group": null,
283
+ "gender": null,
284
+ "created_at": "2026-10-05T21:34:29+0000",
285
+ "updated_at": "2026-10-05T21:34:30+0000",
286
+ "cost": null,
287
+ "visible": true,
288
+ "inventory_levels": [
289
+ {
290
+ "id": 1243980565,
291
+ "variant_id": 1612648518,
292
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
293
+ "stock": 13
294
+ }
295
+ ]
296
+ }
297
+ ],
298
+ "brand": null,
299
+ "tags": "",
300
+ "categories": [
301
+ {
302
+ "id": 41376194,
303
+ "name": "Camisas",
304
+ "handle": "camisas",
305
+ "parent": null,
306
+ "google_shopping_category": ""
307
+ }
308
+ ],
309
+ "attributes": ["Tamanho", "Cor"],
310
+ "seo_title": "",
311
+ "seo_description": "",
312
+ "free_shipping": false,
313
+ "video_url": null,
314
+ "created_at": "2026-10-05T21:34:27+0000"
315
+ },
316
+ {
317
+ "id": 372190471,
318
+ "name": "Camisa Flanela Montanha",
319
+ "handle": "camisa-flanela-montanha",
320
+ "description": "<p>Flanela 100% algodão escovado, modelagem regular e punhos com dois botões. Peça curinga para o inverno urbano.</p><p><strong>Cores disponíveis:</strong> Azul e Preto, Cinza<br><strong>Tamanhos:</strong> P / M / G / GG</p><p><strong>Cuidados:</strong></p><ul><li>Lavar à mão ou na máquina em ciclo delicado</li><li>Não usar alvejante</li><li>Passar em temperatura média</li></ul>",
321
+ "images": [
322
+ {
323
+ "id": 1289345019,
324
+ "src": "https://dcdn-us.mitiendanube.com/stores/008/336/778/products/3-4b416e44890523a64717912360748492-1024-1024.webp",
325
+ "alt": "",
326
+ "height": 1000,
327
+ "width": 1000
328
+ },
329
+ {
330
+ "id": 1289345025,
331
+ "src": "https://dcdn-us.mitiendanube.com/stores/008/336/778/products/4-9660770857c9471fd217912360753441-1024-1024.webp",
332
+ "alt": "",
333
+ "height": 1000,
334
+ "width": 1000
335
+ }
336
+ ],
337
+ "variants": [
338
+ {
339
+ "id": 1612648542,
340
+ "image_id": 1289345019,
341
+ "product_id": 372190471,
342
+ "position": 1,
343
+ "price": "199.90",
344
+ "price_without_taxes": null,
345
+ "compare_at_price": "199.90",
346
+ "promotional_price": "169.90",
347
+ "stock_management": true,
348
+ "stock": 24,
349
+ "weight": "0.380",
350
+ "width": "0.00",
351
+ "height": "0.00",
352
+ "depth": "0.00",
353
+ "sku": "MD002-1-P",
354
+ "values": ["P", "Azul e Preto"],
355
+ "barcode": null,
356
+ "mpn": null,
357
+ "age_group": null,
358
+ "gender": null,
359
+ "created_at": "2026-10-05T21:34:32+0000",
360
+ "updated_at": "2026-10-05T21:34:35+0000",
361
+ "cost": null,
362
+ "visible": true,
363
+ "inventory_levels": [
364
+ {
365
+ "id": 1243980590,
366
+ "variant_id": 1612648542,
367
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
368
+ "stock": 24
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "id": 1612648545,
374
+ "image_id": 1289345019,
375
+ "product_id": 372190471,
376
+ "position": 2,
377
+ "price": "199.90",
378
+ "price_without_taxes": null,
379
+ "compare_at_price": "199.90",
380
+ "promotional_price": "169.90",
381
+ "stock_management": true,
382
+ "stock": 27,
383
+ "weight": "0.380",
384
+ "width": "0.00",
385
+ "height": "0.00",
386
+ "depth": "0.00",
387
+ "sku": "MD002-1-M",
388
+ "values": ["M", "Azul e Preto"],
389
+ "barcode": null,
390
+ "mpn": null,
391
+ "age_group": null,
392
+ "gender": null,
393
+ "created_at": "2026-10-05T21:34:32+0000",
394
+ "updated_at": "2026-10-05T21:34:35+0000",
395
+ "cost": null,
396
+ "visible": true,
397
+ "inventory_levels": [
398
+ {
399
+ "id": 1243980593,
400
+ "variant_id": 1612648545,
401
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
402
+ "stock": 27
403
+ }
404
+ ]
405
+ },
406
+ {
407
+ "id": 1612648550,
408
+ "image_id": 1289345019,
409
+ "product_id": 372190471,
410
+ "position": 3,
411
+ "price": "199.90",
412
+ "price_without_taxes": null,
413
+ "compare_at_price": "199.90",
414
+ "promotional_price": "169.90",
415
+ "stock_management": true,
416
+ "stock": 30,
417
+ "weight": "0.380",
418
+ "width": "0.00",
419
+ "height": "0.00",
420
+ "depth": "0.00",
421
+ "sku": "MD002-1-G",
422
+ "values": ["G", "Azul e Preto"],
423
+ "barcode": null,
424
+ "mpn": null,
425
+ "age_group": null,
426
+ "gender": null,
427
+ "created_at": "2026-10-05T21:34:32+0000",
428
+ "updated_at": "2026-10-05T21:34:35+0000",
429
+ "cost": null,
430
+ "visible": true,
431
+ "inventory_levels": [
432
+ {
433
+ "id": 1243980597,
434
+ "variant_id": 1612648550,
435
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
436
+ "stock": 30
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "id": 1612648553,
442
+ "image_id": 1289345019,
443
+ "product_id": 372190471,
444
+ "position": 4,
445
+ "price": "199.90",
446
+ "price_without_taxes": null,
447
+ "compare_at_price": "199.90",
448
+ "promotional_price": "169.90",
449
+ "stock_management": true,
450
+ "stock": 33,
451
+ "weight": "0.380",
452
+ "width": "0.00",
453
+ "height": "0.00",
454
+ "depth": "0.00",
455
+ "sku": "MD002-1-GG",
456
+ "values": ["GG", "Azul e Preto"],
457
+ "barcode": null,
458
+ "mpn": null,
459
+ "age_group": null,
460
+ "gender": null,
461
+ "created_at": "2026-10-05T21:34:33+0000",
462
+ "updated_at": "2026-10-05T21:34:35+0000",
463
+ "cost": null,
464
+ "visible": true,
465
+ "inventory_levels": [
466
+ {
467
+ "id": 1243980600,
468
+ "variant_id": 1612648553,
469
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
470
+ "stock": 33
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "id": 1612648556,
476
+ "image_id": 1289345019,
477
+ "product_id": 372190471,
478
+ "position": 5,
479
+ "price": "199.90",
480
+ "price_without_taxes": null,
481
+ "compare_at_price": "199.90",
482
+ "promotional_price": "169.90",
483
+ "stock_management": true,
484
+ "stock": 11,
485
+ "weight": "0.380",
486
+ "width": "0.00",
487
+ "height": "0.00",
488
+ "depth": "0.00",
489
+ "sku": "MD002-2-P",
490
+ "values": ["P", "Cinza"],
491
+ "barcode": null,
492
+ "mpn": null,
493
+ "age_group": null,
494
+ "gender": null,
495
+ "created_at": "2026-10-05T21:34:33+0000",
496
+ "updated_at": "2026-10-05T21:34:35+0000",
497
+ "cost": null,
498
+ "visible": true,
499
+ "inventory_levels": [
500
+ {
501
+ "id": 1243980603,
502
+ "variant_id": 1612648556,
503
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
504
+ "stock": 11
505
+ }
506
+ ]
507
+ },
508
+ {
509
+ "id": 1612648559,
510
+ "image_id": 1289345019,
511
+ "product_id": 372190471,
512
+ "position": 6,
513
+ "price": "199.90",
514
+ "price_without_taxes": null,
515
+ "compare_at_price": "199.90",
516
+ "promotional_price": "169.90",
517
+ "stock_management": true,
518
+ "stock": 14,
519
+ "weight": "0.380",
520
+ "width": "0.00",
521
+ "height": "0.00",
522
+ "depth": "0.00",
523
+ "sku": "MD002-2-M",
524
+ "values": ["M", "Cinza"],
525
+ "barcode": null,
526
+ "mpn": null,
527
+ "age_group": null,
528
+ "gender": null,
529
+ "created_at": "2026-10-05T21:34:33+0000",
530
+ "updated_at": "2026-10-05T21:34:35+0000",
531
+ "cost": null,
532
+ "visible": true,
533
+ "inventory_levels": [
534
+ {
535
+ "id": 1243980606,
536
+ "variant_id": 1612648559,
537
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
538
+ "stock": 14
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "id": 1612648561,
544
+ "image_id": 1289345019,
545
+ "product_id": 372190471,
546
+ "position": 7,
547
+ "price": "199.90",
548
+ "price_without_taxes": null,
549
+ "compare_at_price": "199.90",
550
+ "promotional_price": "169.90",
551
+ "stock_management": true,
552
+ "stock": 17,
553
+ "weight": "0.380",
554
+ "width": "0.00",
555
+ "height": "0.00",
556
+ "depth": "0.00",
557
+ "sku": "MD002-2-G",
558
+ "values": ["G", "Cinza"],
559
+ "barcode": null,
560
+ "mpn": null,
561
+ "age_group": null,
562
+ "gender": null,
563
+ "created_at": "2026-10-05T21:34:34+0000",
564
+ "updated_at": "2026-10-05T21:34:35+0000",
565
+ "cost": null,
566
+ "visible": true,
567
+ "inventory_levels": [
568
+ {
569
+ "id": 1243980607,
570
+ "variant_id": 1612648561,
571
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
572
+ "stock": 17
573
+ }
574
+ ]
575
+ },
576
+ {
577
+ "id": 1612648570,
578
+ "image_id": 1289345019,
579
+ "product_id": 372190471,
580
+ "position": 8,
581
+ "price": "199.90",
582
+ "price_without_taxes": null,
583
+ "compare_at_price": "199.90",
584
+ "promotional_price": "169.90",
585
+ "stock_management": true,
586
+ "stock": 20,
587
+ "weight": "0.380",
588
+ "width": "0.00",
589
+ "height": "0.00",
590
+ "depth": "0.00",
591
+ "sku": "MD002-2-GG",
592
+ "values": ["GG", "Cinza"],
593
+ "barcode": null,
594
+ "mpn": null,
595
+ "age_group": null,
596
+ "gender": null,
597
+ "created_at": "2026-10-05T21:34:34+0000",
598
+ "updated_at": "2026-10-05T21:34:35+0000",
599
+ "cost": null,
600
+ "visible": true,
601
+ "inventory_levels": [
602
+ {
603
+ "id": 1243980610,
604
+ "variant_id": 1612648570,
605
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
606
+ "stock": 20
607
+ }
608
+ ]
609
+ }
610
+ ],
611
+ "brand": null,
612
+ "tags": "",
613
+ "categories": [
614
+ {
615
+ "id": 41376194,
616
+ "name": "Camisas",
617
+ "handle": "camisas",
618
+ "parent": null,
619
+ "google_shopping_category": ""
620
+ }
621
+ ],
622
+ "attributes": ["Tamanho", "Cor"],
623
+ "seo_title": "",
624
+ "seo_description": "",
625
+ "free_shipping": false,
626
+ "video_url": null,
627
+ "created_at": "2026-10-05T21:34:31+0000"
628
+ },
629
+ {
630
+ "id": 372190495,
631
+ "name": "Camiseta Gamer Preta Estampada",
632
+ "handle": "camiseta-gamer-preta-estampada",
633
+ "description": "<p>Camiseta de malha penteada com estampa frontal em silk de alta durabilidade. Gola careca reforçada e caimento confortável.</p><p><strong>Cores disponíveis:</strong> Preto<br><strong>Tamanhos:</strong> P / M / G / GG</p><p><strong>Cuidados:</strong></p><ul><li>Lavar à mão ou na máquina em ciclo delicado</li><li>Não usar alvejante</li><li>Passar em temperatura média</li></ul>",
634
+ "images": [
635
+ {
636
+ "id": 1289345055,
637
+ "src": "https://dcdn-us.mitiendanube.com/stores/008/336/778/products/1-a011a2010c783f78e517912360790906-1024-1024.webp",
638
+ "alt": "",
639
+ "height": 1000,
640
+ "width": 1000
641
+ },
642
+ {
643
+ "id": 1289345064,
644
+ "src": "https://dcdn-us.mitiendanube.com/stores/008/336/778/products/2-2953d021dbe2dc99e517912360795274-1024-1024.webp",
645
+ "alt": "",
646
+ "height": 1000,
647
+ "width": 1000
648
+ }
649
+ ],
650
+ "variants": [
651
+ {
652
+ "id": 1612648597,
653
+ "image_id": 1289345055,
654
+ "product_id": 372190495,
655
+ "position": 1,
656
+ "price": "89.90",
657
+ "price_without_taxes": null,
658
+ "compare_at_price": "89.90",
659
+ "promotional_price": null,
660
+ "stock_management": true,
661
+ "stock": 31,
662
+ "weight": "0.200",
663
+ "width": "0.00",
664
+ "height": "0.00",
665
+ "depth": "0.00",
666
+ "sku": "MD003-1-P",
667
+ "values": ["P", "Preto"],
668
+ "barcode": null,
669
+ "mpn": null,
670
+ "age_group": null,
671
+ "gender": null,
672
+ "created_at": "2026-10-05T21:34:37+0000",
673
+ "updated_at": "2026-10-05T21:34:39+0000",
674
+ "cost": null,
675
+ "visible": true,
676
+ "inventory_levels": [
677
+ {
678
+ "id": 1243980643,
679
+ "variant_id": 1612648597,
680
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
681
+ "stock": 31
682
+ }
683
+ ]
684
+ },
685
+ {
686
+ "id": 1612648600,
687
+ "image_id": 1289345055,
688
+ "product_id": 372190495,
689
+ "position": 2,
690
+ "price": "89.90",
691
+ "price_without_taxes": null,
692
+ "compare_at_price": "89.90",
693
+ "promotional_price": null,
694
+ "stock_management": true,
695
+ "stock": 34,
696
+ "weight": "0.200",
697
+ "width": "0.00",
698
+ "height": "0.00",
699
+ "depth": "0.00",
700
+ "sku": "MD003-1-M",
701
+ "values": ["M", "Preto"],
702
+ "barcode": null,
703
+ "mpn": null,
704
+ "age_group": null,
705
+ "gender": null,
706
+ "created_at": "2026-10-05T21:34:38+0000",
707
+ "updated_at": "2026-10-05T21:34:39+0000",
708
+ "cost": null,
709
+ "visible": true,
710
+ "inventory_levels": [
711
+ {
712
+ "id": 1243980646,
713
+ "variant_id": 1612648600,
714
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
715
+ "stock": 34
716
+ }
717
+ ]
718
+ },
719
+ {
720
+ "id": 1612648610,
721
+ "image_id": 1289345055,
722
+ "product_id": 372190495,
723
+ "position": 3,
724
+ "price": "89.90",
725
+ "price_without_taxes": null,
726
+ "compare_at_price": "89.90",
727
+ "promotional_price": null,
728
+ "stock_management": true,
729
+ "stock": 12,
730
+ "weight": "0.200",
731
+ "width": "0.00",
732
+ "height": "0.00",
733
+ "depth": "0.00",
734
+ "sku": "MD003-1-G",
735
+ "values": ["G", "Preto"],
736
+ "barcode": null,
737
+ "mpn": null,
738
+ "age_group": null,
739
+ "gender": null,
740
+ "created_at": "2026-10-05T21:34:38+0000",
741
+ "updated_at": "2026-10-05T21:34:39+0000",
742
+ "cost": null,
743
+ "visible": true,
744
+ "inventory_levels": [
745
+ {
746
+ "id": 1243980651,
747
+ "variant_id": 1612648610,
748
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
749
+ "stock": 12
750
+ }
751
+ ]
752
+ },
753
+ {
754
+ "id": 1612648613,
755
+ "image_id": 1289345055,
756
+ "product_id": 372190495,
757
+ "position": 4,
758
+ "price": "89.90",
759
+ "price_without_taxes": null,
760
+ "compare_at_price": "89.90",
761
+ "promotional_price": null,
762
+ "stock_management": true,
763
+ "stock": 15,
764
+ "weight": "0.200",
765
+ "width": "0.00",
766
+ "height": "0.00",
767
+ "depth": "0.00",
768
+ "sku": "MD003-1-GG",
769
+ "values": ["GG", "Preto"],
770
+ "barcode": null,
771
+ "mpn": null,
772
+ "age_group": null,
773
+ "gender": null,
774
+ "created_at": "2026-10-05T21:34:38+0000",
775
+ "updated_at": "2026-10-05T21:34:40+0000",
776
+ "cost": null,
777
+ "visible": true,
778
+ "inventory_levels": [
779
+ {
780
+ "id": 1243980654,
781
+ "variant_id": 1612648613,
782
+ "location_id": "01M46ZD8MN4T7KKYQNDV2NDS7J",
783
+ "stock": 15
784
+ }
785
+ ]
786
+ }
787
+ ],
788
+ "brand": null,
789
+ "tags": "",
790
+ "categories": [
791
+ {
792
+ "id": 41376194,
793
+ "name": "Camisas",
794
+ "handle": "camisas",
795
+ "parent": null,
796
+ "google_shopping_category": ""
797
+ }
798
+ ],
799
+ "attributes": ["Tamanho", "Cor"],
800
+ "seo_title": "",
801
+ "seo_description": "",
802
+ "free_shipping": false,
803
+ "video_url": null,
804
+ "created_at": "2026-10-05T21:34:37+0000"
805
+ }
806
+ ],
807
+ "pagination": {
808
+ "page": 1,
809
+ "per_page": 3,
810
+ "total": 10,
811
+ "total_pages": 4
812
+ }
813
+ }