FlxpointAPI Help CenterBeta

Update Shipping Policy

puthttps://api.flxpoint.com/shipping/shipping-policy/{id}

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

Update a shipping policy by ID

Request

Bodyapplication/json
namestringrequired

Example request

put/shipping/shipping-policy/{id}
curl -X PUT "https://api.flxpoint.com/shipping/shipping-policy/{id}" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
         "name": "string"
       }'
Example body ยท application/json
{
  "name": "string"
}

Responses

200OKapplication/json
idinteger
namestringrequired
deletedAtstring (date-time)
Example response
{
  "id": 0,
  "name": "string",
  "deletedAt": "2026-04-20T00:00:00Z"
}
400A shipping policy with that name already exists

No schema documented for this status.

401Unauthorized

No schema documented for this status.

404Not Found

No schema documented for this status.

OpenAPI fragment
{
  "put": {
    "summary": "Update Shipping Policy",
    "description": "Update a shipping policy by ID",
    "parameters": [],
    "requestBody": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/UpdateShippingPolicyRequest"
          }
        }
      }
    },
    "responses": {
      "200": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ShippingPolicy"
            }
          }
        }
      },
      "400": {
        "description": "A shipping policy with that name already exists"
      },
      "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