FlxpointAPI Help CenterBeta

Bulk Delete Channel Shipping Methods

deletehttps://api.flxpoint.com/shipping/channel-shipping-methods/bulk

Use this when you want to delete shipping 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.

Soft-delete multiple channel shipping methods by ID. Returns the number of methods deleted. Only methods belonging to the authenticated account's channels are deleted.

Request

Bodyapplication/json
idsarray[integer]required
List of channel shipping method IDs to delete.
integer

Example request

delete/shipping/channel-shipping-methods/bulk
curl -X DELETE "https://api.flxpoint.com/shipping/channel-shipping-methods/bulk" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
         "ids": [
           0
         ]
       }'
Example body ยท application/json
{
  "ids": [
    0
  ]
}

Responses

200OKapplication/json
deletedCountintegerrequired
Number of channel shipping methods soft-deleted.
Example response
{
  "deletedCount": 0
}
400Bad Request - empty or invalid ids

No schema documented for this status.

401Unauthorized

No schema documented for this status.

OpenAPI fragment
{
  "delete": {
    "summary": "Bulk Delete Channel Shipping Methods",
    "description": "Soft-delete multiple channel shipping methods by ID. Returns the number of methods deleted. Only methods belonging to the authenticated account's channels are deleted.",
    "parameters": [],
    "requestBody": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/BulkDeleteChannelShippingMethodsRequest"
          }
        }
      }
    },
    "responses": {
      "200": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BulkDeleteChannelShippingMethodsResponse"
            }
          }
        }
      },
      "400": {
        "description": "Bad Request - empty or invalid ids"
      },
      "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