v46

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-011274550.0 KB
Orders

Send Order for Employee

Send an order for a specific employee. Requires API key, login token, and user ID. This endpoint specifically handles employer-to-employee order sending.

post/v1/orders/send

Headers

authorizationstring required

Bearer <API_KEY>

login-tokenstring required

User login token

user-idstring required

User ID

Request body

employeeIdstring required

Employee ID to send order to

employerIdstring required

Employer ID sending the order

servicesIdsstring[] required

Array of service IDs to include in the order

quantitiesobject

Service ID to quantity mapping

providerIdstring

Single provider ID (shortcut when all services map to one provider)

brandIdstring

Brand ID for branded orders

dueDatestring

Due date for the order (date or date-time ISO string)

dueDatesstring[]

Array of due dates per service

providerCreatedboolean

Whether this order is being created by a provider (affects permission checking)

metadataobject

Optional arbitrary metadata to store on the order (non-indexed passthrough, <=10KB when JSON stringified)

expirationDatestring

Expiration date for the order (date or date-time ISO string)

priority'normal' | 'high'

Order priority level

Response

Order sent successfully (single or split)

OR