Delete Shipment Item Custom Fields
delete
https://api.flxpoint.com/shipment/{shipmentId}/shipment-item/{shipmentItemId}/custom-fieldsUse this when you want to delete shipment 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.
Delete Shipment Item Custom Field(s) by providing the ID(s).
A source token or account token may be used.
Request
Body
application/jsoncustomFieldIdsarray[integer]integer
Example request
delete
/shipment/{shipmentId}/shipment-item/{shipmentItemId}/custom-fieldscurl -X DELETE "https://api.flxpoint.com/shipment/{shipmentId}/shipment-item/{shipmentItemId}/custom-fields" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"customFieldIds": [
0
]
}'Example body ยท application/json
{
"customFieldIds": [
0
]
}Responses
200OK
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
{
"delete": {
"summary": "Delete Shipment Item Custom Fields",
"description": "Delete Shipment Item Custom Field(s) by providing the ID(s).\n\nA source token or account token may be used.",
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"customFieldIds": {
"x-stoplight": {
"id": "6yddn7uprtdb5"
},
"type": "array",
"items": {
"x-stoplight": {
"id": "mt6dvgoqhb0gg"
},
"type": "integer"
}
}
}
}
}
}
},
"responses": {
"200": {
"description": "OK"
},
"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