ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/edi/documents/sales-orders/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
documents
:
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
clientId
:
string
;
createdAt
:
Date
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
deliveryDate
:
Date
|
null
;
id
:
string
;
lines
:
{
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
id
:
string
;
quantity
:
number
;
totalPrice
:
number
;
unitPrice
:
number
;
}
[]
;
number
:
string
;
orderDate
:
Date
;
status
:
SalesOrderStatus
;
totalAmount
:
number
;
}
[]
;
count
:
number
;
}
,
>
,
>
GET /api/edi/documents/sales-orders Récupère les Sales Orders filtrées par client
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
documents
:
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
clientId
:
string
;
createdAt
:
Date
;
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
deliveryDate
:
Date
|
null
;
id
:
string
;
lines
:
{
finishedProduct
:
{
code
:
string
;
id
:
string
;
name
:
string
}
|
null
;
id
:
string
;
quantity
:
number
;
totalPrice
:
number
;
unitPrice
:
number
;
}
[]
;
number
:
string
;
orderDate
:
Date
;
status
:
SalesOrderStatus
;
totalAmount
:
number
;
}
[]
;
count
:
number
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
GET /api/edi/documents/sales-orders Récupère les Sales Orders filtrées par client