Receive RMA Shipment
patch
https://api.flxpoint.com/rma-shipments/{id}/receiveUse this when you want to update rma data through the API.
๐ X-API-TOKENโฑ 2 req/sToken: Account ยท Source ยท Channel
This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.
Request
Body
application/jsonarray[ReceiveRmaShipmentItem]
idintegerrequiredId of rma shipment item
rmaItemIdintegerreceivedQuantityintegervoidedQuantityintegerExample request
patch
/rma-shipments/{id}/receivecurl -X PATCH "https://api.flxpoint.com/rma-shipments/{id}/receive" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '[
{
"id": 0,
"rmaItemId": 0,
"receivedQuantity": 0,
"voidedQuantity": 0
}
]'Example body ยท application/json
[
{
"id": 0,
"rmaItemId": 0,
"receivedQuantity": 0,
"voidedQuantity": 0
}
]Responses
204No Content
No schema documented for this status.
400Bad Request
No schema documented for this status.
401Unauthorized
No schema documented for this status.
404Not Found
No schema documented for this status.
OpenAPI fragment
{
"patch": {
"summary": "Receive RMA Shipment",
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReceiveRmaShipmentItem"
}
}
}
}
},
"responses": {
"204": {
"description": "No Content"
},
"400": {
"description": "Bad Request"
},
"401": {
"description": "Unauthorized"
},
"404": {
"description": "Not Found"
}
}
}
}Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight