This commit is contained in:
zman 2025-02-07 22:14:08 -05:00
parent 06f539aea2
commit 893b229cc6

23
requests.md Normal file
View File

@ -0,0 +1,23 @@
curl -J http://192.168.1.41:8000/api/tcgplayer/inventory/update --remote-name
curl -J -X POST \ -H "Content-Type: application/json" \
-d '{"open_box_ids": ["e20cc342-23cb-4593-89cb-56a0cb3ed3f3"]}' \
http://192.168.1.41:8000/api/tcgplayer/inventory/add --remote-name
curl -X POST http://192.168.1.41:8000/api/boxes \
-H "Content-Type: application/json" \
-d '{
"type": "collector",
"set_code": "MOM",
"sku": "ABC123",
"num_cards_expected": 15
}'
curl -X POST http://192.168.1.41:8000/api/boxes/box123/open \
-H "Content-Type: application/json" \
-d '{
"product_id": "box123",
"file_ids": ["file1", "file2"],
"num_cards_actual": 15,
"date_opened": "2025-02-07T12:00:00Z"
}'