giga_tcg/requests.md
zman 11ed680347
All checks were successful
Deploy App to Docker / deploy (push) Successful in 19s
f
2025-04-07 16:53:34 -04:00

22 lines
836 B
Markdown

curl -J http://192.168.1.41:8000/api/tcgplayer/inventory/update --remote-name
curl -J -X POST http://192.168.1.41:8000/api/tcgplayer/inventory/add \
-H "Content-Type: application/json" \
-d '{"open_box_ids": ["fcc28f9e-bc8b-4e89-a46e-7da746a96a5b","4a09930f-1830-4b8b-8006-a391e1adca66"]}' \
--remote-name
curl -X POST http://192.168.1.41:8000/api/boxes \
-F "type=collector" \
-F "set_code=TDM" \
-F "sku=1234" \
-F "num_cards_expected=123"
curl -X POST "http://192.168.1.41:8000/api/boxes/d95d26a8-1f82-47f2-89fa-3f88a4636823/open" \
-F "product_id=d95d26a8-1f82-47f2-89fa-3f88a4636823" \
-F "file_ids=0f29efd2-448c-4a05-ba49-1420fd3d524b" \
-F "date_opened=2025-04-04"
curl -X POST "http://192.168.1.41:8000/api/processOrders" \
-H "Content-Type: application/json" \
-d '{"order_ids": ["E576ED4C-AD8CC8-9E57E"]}'