sdk.order.approve()
elements.sdk.api.order
Approve an order.
Approve a pending order to begin processing. Once approved, the order will be submitted to the data provider.
Parameters
- order_id (str) - The order ID to approve
- comment (str) - A comment explaining the approval
Returns
None
Example(s)
# Approve a pending order
await sdk.order.approve(
order_id="order-uuid-here",
comment="Approved for project X"
)Updated 6 months ago