Release All Committed Stock For Fulfillment Request
delete
https://api.flxpoint.com/fulfillment-requests/{fulfillmentRequestId}/committed-stockUse this when you want to delete fulfillment request 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.
Release committed stock for fulfillment request
Request
Body
application/jsononlyReleaseFulfillmentRequestItemIdsarray[integer]List of fulfillment request item IDs to release
integer
onlyReleaseFulfillmentRequestItemSkusarray[string]List of fulfillment request item SKUs to release
string
Example request
delete
/fulfillment-requests/{fulfillmentRequestId}/committed-stockcurl -X DELETE "https://api.flxpoint.com/fulfillment-requests/{fulfillmentRequestId}/committed-stock" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"onlyReleaseFulfillmentRequestItemIds": [
0
],
"onlyReleaseFulfillmentRequestItemSkus": [
"string"
]
}'Example body ยท application/json
{
"onlyReleaseFulfillmentRequestItemIds": [
0
],
"onlyReleaseFulfillmentRequestItemSkus": [
"string"
]
}Responses
200OK
No schema documented for this status.
204No Content
No schema documented for this status.
400Bad Request
No schema documented for this status.
401Unauthorized
No schema documented for this status.
OpenAPI fragment
{
"delete": {
"summary": "Release All Committed Stock For Fulfillment Request",
"description": "Release committed stock for fulfillment request",
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseCommittedStockForFulfillmentRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK"
},
"204": {
"description": "No Content"
},
"400": {
"description": "Bad Request"
},
"401": {
"description": "Unauthorized"
}
}
}
}Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight