Shipping::Package
Create Package
Changed onAdd a new package to a workspace
post/workspaces/{workspace_id}/shipping/packages
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspace_idstring required
Request body
Example request
{
"shipping_package": {
"shipping_package": {
"package_type": "box",
"height": "4.0",
"width": "2.0",
"length": "2.0",
"distance_unit": "in",
"empty_weight": null,
"weight": "0.0",
"weight_unit": "lb",
"default_package": false,
"name": "Example Package",
"carrier": null
}
}
}Response
Created
Example response
{
"id": 1,
"public_id": "EpuezP",
"package_type": "box",
"height": "4.0",
"width": "2.0",
"length": "2.0",
"distance_unit": "in",
"empty_weight": null,
"weight": "0.0",
"weight_unit": "lb",
"default_package": false,
"name": "Example Package",
"token": null,
"carrier": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Changes
- warning
added the new
undefinedenum value to theresponse property for the response status - warning
added the new
undefinedenum value to theresponse property for the response status - info
for the
pathrequest parameterworkspace_id, the type was generalized fromintegertostring - info
added the new
undefinedenum value to the request property/ - info
added the new
undefinedenum value to the request property/ - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning