JavaScript
import BlueHive from '@bluehive/sdk'; const client = new BlueHive({ apiKey: 'My API Key', }); const response = await client.orders.updateStatus('orderId', { status: 'order_sent' }); console.log(response.message);
{ "success": true, "message": "<string>" }
Update the status of an existing order
API key for accessing BlueHive API endpoints. Format: "ApiKey " or "Bearer "
order_sent
order_accepted
order_refused
employee_confirmed
order_fulfilled
order_complete
Default Response
Was this page helpful?