Joint
Autorizações
Parâmetros de rota
idstringObrigatório
Respostas
200
OK
application/json
404
OrderJoint was not found
application/json
500
An internal server error was thrown
application/json
get
GET /api/sales/orders/joint/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"id": "text",
"order_id": "text",
"external_id": "text"
}
Autorizações
Parâmetros de rota
idstringObrigatório
Corpo
order_idstringObrigatório
external_idstringObrigatório
Respostas
200
OK
application/json
404
OrderJoint was not found
application/json
422
A validation error was thrown
application/json
500
An internal server error was thrown
application/json
put
PUT /api/sales/orders/joint/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"order_id": "text",
"external_id": "text"
}
{
"id": "text"
}
Autorizações
Parâmetros de rota
idstringObrigatório
Respostas
204
OK
application/json
Respostaobject
404
OrderJoint was not removed
application/json
500
An internal server error was thrown
application/json
delete
DELETE /api/sales/orders/joint/{id} HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{}
Autorizações
Parâmetros de consulta
searchstringOpcionalDefault:
""
pageinteger · int32OpcionalDefault:
0
perPageinteger · int32OpcionalDefault:
25
sortstringOpcionalDefault:
""
dirstringOpcionalDefault:
asc
Respostas
200
OK
application/json
404
OrderJoint was not found
application/json
500
An internal server error was thrown
application/json
get
GET /api/sales/orders/joint HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Accept: */*
{
"currentPage": 1,
"perPage": 1,
"total": 1,
"items": [
{
"id": "text",
"order_id": "text",
"external_id": "text"
}
]
}
Autorizações
Corpo
idstringOpcional
order_idstringObrigatório
external_idstringObrigatório
Respostas
201
OrderJoint created successfully
application/json
422
A validation error was thrown
application/json
500
An internal server error was thrown
application/json
post
POST /api/sales/orders/joint HTTP/1.1
Host: api.zydon.com.br
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"id": "text",
"order_id": "text",
"external_id": "text"
}
{
"id": "text"
}