Sign in

Create multiple on-hand schedule changes

documented

Create multiple on-hand schedule changes.

POST /api/environment/{environmentId}/onhand/changeschedule/bulkInventory Visibilityno 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://inventoryservice.{{$region}}-il301.gateway.prod.island.powerapps.com/api/environment/{{$environmentId}}/onhand/changeschedule/bulk" \
  -X POST \
  -H "Api-Version: 1.0" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '[{"id":"{{$changeId}}","organizationId":"{{$organizationId}}","productId":"{{$productId}}","dimensions": {"SiteId": "{{$siteId}}", "LocationId": "{{$locationId}}", "ColorId": "{{$colorId}}", "SizeId": "{{$sizeId}}"},"dimensionDataSource":"{{$dimensionDataSource}}","quantityDataSource":"{{$quantityDataSource}}","quantitiesByDate": {"{{$date}}": {"{{$dataSourceName}}": {"{{$quantityKey}}": {{$quantityValue}}}}}]'"