{"lexicon":1,"id":"money.atmosphere.order.list","defs":{"main":{"type":"query","description":"List the calling app's canonical routed commerce orders, newest movement first. Requires app service-auth; results are scoped to orders where the caller is the sales channel or fulfillment owner. Each order carries its current revision so an app can reconcile missed events outside the retained event window.","parameters":{"type":"params","required":["environment"],"properties":{"environment":{"type":"string","knownValues":["live","test"],"maxLength":16},"fulfillmentStatus":{"type":"string","knownValues":["unfulfilled","ready","on-hold","processing","partially-fulfilled","fulfilled","failed","canceled"],"maxLength":32},"financialStatus":{"type":"string","knownValues":["not-required","pending","paid","partially-refunded","refunded","disputed","chargeback","failed","canceled"],"maxLength":32},"updatedSince":{"type":"string","format":"datetime","description":"Only orders whose canonical state changed at or after this time."},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50},"cursor":{"type":"string","maxLength":2048}}},"output":{"encoding":"application/json","schema":{"type":"object","required":["orders"],"properties":{"orders":{"type":"array","items":{"type":"ref","ref":"money.atmosphere.order.defs#order"}},"cursor":{"type":"string","maxLength":2048}}}},"errors":[{"name":"AppNotRegistered"},{"name":"InvalidCursor"},{"name":"RateLimited"}]}}}