Skip to main content
POST
Create a new purchase order

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Cuerpo

application/json
supplierReference
string
requerido
name
null | string
code
null | string
notes
null | string
externalReference
null | string
codeForSupplier
null | string
lines
object[]

Respuesta

Created

id
string
requerido
externalReference
null | string
requerido
supplierId
string
requerido
supplier
object | null
requerido
code
string
requerido
name
string
requerido
notes
null | string
requerido
codeForSupplier
null | string
requerido
expectedAt
null | string<date-time>
requerido
status
enum<string>
requerido
Opciones disponibles:
Cancelled,
Draft,
Pending,
PartiallyReceived,
Received
createdAt
string<date-time>
requerido
createdBy
string
requerido
lastModifiedAt
string<date-time>
requerido
lastModifiedBy
string
requerido