inventory bug

This commit is contained in:
2025-02-10 20:12:20 -05:00
parent edf76708b3
commit c896a6ea0f
2 changed files with 25 additions and 18 deletions

View File

@@ -1,8 +1,9 @@
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 -J -X POST http://192.168.1.41:8000/api/tcgplayer/inventory/add \
-H "Content-Type: application/json" \
-d '{"open_box_ids": ["620fdeec-072d-4dd3-aef0-8a8a66de0c5f"]}' \
--remote-name
curl -X POST http://192.168.1.41:8000/api/boxes \
-F "type=draft" \
@@ -10,11 +11,15 @@ curl -X POST http://192.168.1.41:8000/api/boxes \
-F "sku=195166231631" \
-F "num_cards_expected=540"
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"
}'
curl -X POST http://192.168.1.41:8000/api/boxes/588dddad-0661-4541-a16c-beba1c564b4f/open \
-F "product_id=588dddad-0661-4541-a16c-beba1c564b4f" \
-F "file_ids=b06c8808-d024-4bb4-8b77-89d4f8b92938,8349456c-d588-4c50-bfd4-f5895d3b4a43,33fee9cf-790a-4f50-91b9-dfdf1adc75c7,12f848c7-80b9-4ce2-8be8-1f36e714bd6f,f5b6513c-97e3-423c-9f4d-73f058529e4f,995249ac-97df-40be-a779-3acca32eb186" \
-F "date_opened=2025-02-10"
b06c8808-d024-4bb4-8b77-89d4f8b92938
8349456c-d588-4c50-bfd4-f5895d3b4a43
33fee9cf-790a-4f50-91b9-dfdf1adc75c7
12f848c7-80b9-4ce2-8be8-1f36e714bd6f
f5b6513c-97e3-423c-9f4d-73f058529e4f
995249ac-97df-40be-a779-3acca32eb186