Skip to main content
PUT
/
v1
/
orders
/
{orderId}
/
status
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>"
}

Authorizations

Authorization
string
header
required

API key for accessing BlueHive API endpoints. Format: "ApiKey <your-api-key>" or "Bearer <your-api-key>"

Path Parameters

orderId
string
required

Body

application/json
status
enum<string>
required
Available options:
order_sent,
order_accepted,
order_refused,
employee_confirmed,
order_fulfilled,
order_complete
message
string

Response

200 - application/json

Default Response

success
boolean
message
string
I