Sign in

Create item adjustment

documented

Create an item adjustment.

POST /ItemAdjustmentItemsno implementation yet0 runs
No 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.saasu.com/ItemAdjustment?FileId={{FILE_ID}}&wsAccessKey={{WS_ACCESS_KEY}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{\"Date\": \"{{$date}}\", \"Summary\": \"{{$summary}}\", \"Notes\": \"{{$notes}}\", \"Tags\": [\"{{$tags}}\"], \"RequiresFollowUp\": {{$requires_follow_up}}, \"AdjustmentItems\": [ {\"Quantity\": {{$quantity}}, \"ItemId\": {{$item_id}}, \"AccountId\": {{$account_id}}, \"UnitPrice\": {{$unit_price}}, \"TotalPrice\": {{$total_price}} } ] }'