Courier confirmed cash collected on delivery.
Transitions a COD order from payment_status='pending' to
'paid' and stamps payment_confirmed_at. Idempotent — a second
call on an already-collected order is a no-op. Refuses on non-COD
orders (returns 400) and on COD orders not in pending state
(returns 409).
Documentation Index
Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response
Schema for an order in responses.
Most Optional fields are sourced from the ORM where SQLAlchemy
auto-resolves null columns to None, so the missing-default footgun
wouldn't actually fire today. Defaults are still set explicitly
here for symmetry with LineItemResponse and to guard against
future callers that might validate from dicts.
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Schema for address. Fields are optional to support simpler address formats from AI widget.
Schema for address. Fields are optional to support simpler address formats from AI widget.