Returns
Body
Responses
200Success
application/json
post
POST /v1/om/returns HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"params": {
"lineId": "text",
"orderId": "text",
"invoiceId": "text",
"quantity": 1,
"reasonId": "text",
"waste": true
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"uid": "text"
}
}
Path parameters
idstringRequired
Body
Responses
200Success
application/json
patch
PATCH /v1/om/returns/{id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"params": {
"uid": "text",
"waste": true,
"reasonId": "text",
"quantity": 1
}
}
200Success
{
"app": "text",
"service": "text",
"warnings": [
{}
],
"instanceId": "text",
"requestId": "text",
"data": {
"succeed": true
}
}
Was this helpful?