Return
Create return
Creates a new return.
post/api/v1/returns
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"date": "2023-03-16",
"salesOrder": {
"id": "17",
"positions": [
{
"id": "17",
"quantity": 14,
"returnReason": {
"id": "17"
}
}
]
},
"shippingMethod": {
"id": "2"
}
}Response
Resource successfully created response
Changes
No recorded changes to this operation across all 2 revisions of this API.