Skip to navigation

Create order

View as Markdown
Creates a sale and generates the corresponding inventory exits.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
itemslist of objectsRequired
customer_idinteger or nullOptional>=1

Response

Order created successfully.
idinteger
totalstring or double
userobject
customerobject or null
itemslist of objects

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error