Fulfillment
Create Fulfillment
Changed onFulfill an order or a part of an order. More information in our Fulfillments guide.
post/workspaces/{workspace_id}/fulfillments
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
{
"fulfillment": {
"fulfillment": {
"contact_id": 8,
"tracking_url": "https://usps.com/track/1234567890",
"shipping_provider": "USPS",
"tracking_code": "1234567890",
"location_id": 1,
"ignore_out_of_stock": true,
"notify_customer": true,
"included_orders_invoices_line_items_attributes": [
{
"invoices_line_item_id": 1,
"quantity": 1
},
{
"invoices_line_item_id": 2,
"quantity": 2
}
]
}
}
}Response
Created
Example response
{
"id": 1,
"public_id": "dcbmDy",
"workspace_id": 42000,
"contact_id": 8,
"status": "fulfilled",
"tracking_url": "https://usps.com/track/1234567890",
"shipping_provider": "USPS",
"tracking_code": "1234567890",
"location_id": 1,
"fulfillment_number": 1,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"included_invoices_line_items": [
{
"id": 1,
"public_id": "PYvAJe",
"fulfillment_id": 1,
"quantity": 1,
"invoices_line_item_id": 125
}
]
}Changes
- info
for the
pathrequest parameterworkspace_id, the type was generalized fromintegertostring - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info