Update inventory
documentedUpdate stock levels and related properties for inventory SKUs.
POST /v2/inventoryInventoryno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.shipstation.com/v2/inventory" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "api-key: {{SHIPSTATION_API_KEY}}" \
-d '{"transaction_type":"{{$transaction_type}}","sku":"{{$sku}}","quantity":{{$quantity}},"inventory_location_id":"{{$inventory_location_id}}","cost":{"amount":{{$cost_amount}},"currency":"{{$cost_currency}}"},"lot":"{{$lot}}","usable_start_date":"{{$usable_start_date}}","usable_end_date":"{{$usable_end_date}}","effective_at":"{{$effective_at}}","reason":"{{$reason}}","notes":"{{$notes}}","new_inventory_location_id":"{{$new_inventory_location_id}}","new_cost":{"amount":{{$new_cost_amount}},"currency":"{{$new_cost_currency}}"},"new_condition":"{{$new_condition}}"}'