giga_tcg/requests.md
zman 1bb842ea3f
All checks were successful
Deploy App to Docker / deploy (push) Successful in 22s
f
2025-04-08 11:26:18 -04:00

25 lines
970 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-EBD55A-27AE6","E576ED4C-CC32F2-76408"]}'
curl -X POST "http://192.168.1.41:8000/api/processOrders" \
-H "Content-Type: application/json" \
-d '{}'