Create Shipping Policy
post
https://api.flxpoint.com/shipping/shipping-policyUse this when you want to create 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.
Create a shipping policy
Request
Body
application/jsonnamestringrequiredExample request
post
/shipping/shipping-policycurl -X POST "https://api.flxpoint.com/shipping/shipping-policy" \
-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
idintegernamestringrequireddeletedAtstring (date-time)Example response
{
"id": 0,
"name": "string",
"deletedAt": "2026-04-20T00:00:00Z"
}400Shipping policy with the provided name already exists
No schema documented for this status.
401Unauthorized
No schema documented for this status.
OpenAPI fragment
{
"post": {
"summary": "Create Shipping Policy",
"description": "Create a shipping policy",
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateShippingPolicyRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ShippingPolicy"
}
}
}
},
"400": {
"description": "Shipping policy with the provided name already exists"
},
"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