Skip to content

HighLevel: Create order fulfillment

HighLevel payments.createOrderFulfillment: arguments, response, policy and SDK examples.

← Payments operations · Get started

Operation gohighlevel.create_order_fulfillment

Provider route: POST /payments/orders/{orderId}/fulfillments. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/gohighlevel with npm, or alter-sdk-gohighlevel with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { HighLevelIntegration } from "@alter-ai/gohighlevel";
async function execute(input: Parameters<HighLevelIntegration["payments"]["createOrderFulfillment"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new HighLevelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.payments.createOrderFulfillment(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_gohighlevel import HighLevelIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = HighLevelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.payments.create_order_fulfillment(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.orderIdstringRequired within parent
bodyModelRequired within parentExpand Create order fulfillment — request body — body

Referenced models: Create order fulfillment — request body — body

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Create order fulfillment — response body

Referenced models: Create order fulfillment — response body

2 more schemas are linked from the tables above, on the schema pages.

Create order fulfillment — request body — body
FieldTypePresenceDescription and constraints
$objectRoot
altIdstringRequired within parentLocation Id or Agency Id
altTypestringRequired within parentOne of: location
itemsarrayRequired within parentFulfilled items
items[]ModelEach itemExpand Create order fulfillment — request body — body items item
notifyCustomerbooleanRequired within parentNeed to send a notification to customer
trackingsarrayRequired within parentFulfillment tracking information
trackings[]ModelEach itemExpand Create order fulfillment — request body — body trackings item

Referenced models: Create order fulfillment — request body — body items item, Create order fulfillment — request body — body trackings item

Create order fulfillment — response body
FieldTypePresenceDescription and constraints
$objectRoot
dataJSONRequired within parentfulfillment data
data (allOf 1)ModelAll variants applyExpand List fulfillment — response body — data item
statusbooleanRequired within parentStatus of api action

Referenced models: List fulfillment — response body — data item

Create order fulfillment — request body — body items item
FieldTypePresenceDescription and constraints
$objectRoot
priceIdstringRequired within parentThe id of product price
qtynumberRequired within parentThe no of quantity of the item
Create order fulfillment — request body — body trackings item
FieldTypePresenceDescription and constraints
$objectRoot
shippingCarrierstringOptionalShipping carrier name
trackingNumberstringOptionalTracking number provided by the shipping carrier
trackingUrlstringOptionalTracking URL
List fulfillment — response body — data item
FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the fulfillment item.
altIdstringRequired within parentLocation Id or Agency Id
altTypestringRequired within parentKnown values: location
createdAtstringRequired within parentcreated at
itemsarrayRequired within parentFulfilled items
items[]ModelEach itemExpand List fulfillment — response body — data item items item
trackingsarrayRequired within parentFulfillment tracking information
trackings[]ModelEach itemExpand Create order fulfillment — request body — body trackings item
updatedAtstringRequired within parentupdated at

Referenced models: Create order fulfillment — request body — body trackings item, List fulfillment — response body — data item items item

List fulfillment — response body — data item items item
FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe id of product price
namestringRequired within parentName
priceJSONRequired within parentPrice details
price (allOf 1)ModelAll variants applyExpand Create Price for a Product — response body
productJSONRequired within parentProduct details
product (allOf 1)ModelAll variants applyExpand Create Product — response body
qtyJSONRequired within parent
qty (anyOf 1)numberAlternativeThe no of quantity of the current fulfilled item
qty (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create Product — response body, Create Price for a Product — response body

Create Product — response body
FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the product.
automaticTaxCategoryIdstringOptionalTax category ID for Automatic taxes calculation.
availableInStorebooleanOptionalIndicates whether the product is available in-store.
collectionIdsarrayOptionalAn array of category Ids for the product
collectionIds[]stringEach item
createdAtstringRequired within parentThe creation timestamp of the product.
Format: date-time
descriptionstringOptionalproduct description
imagestringOptionalThe URL for the product image.
isTaxesEnabledbooleanOptionalThe field indicates whether taxes are enabled for the product or not.
Default: false
labelJSONOptionalThe Product label details
label (allOf 1)ModelAll variants applyExpand Create Product — response body — label end Date, start Date, title
locationIdstringRequired within parentThe unique identifier for the location.
namestringRequired within parentThe name of the product.
productTypestringRequired within parentThe type of the product (e.g., PHYSICAL).
slugstringOptionalThe slug of the product by which the product will be navigated
statementDescriptorstringOptionalThe statement descriptor for the product.
taxesarrayOptionalAn array of ids of Taxes attached to the Product. If the expand query includes tax, the taxes will be of type `ProductTaxDto`. Please refer to the `ProductTaxDto` for additional details.
taxes[]stringEach item
updatedAtstringRequired within parentThe last update timestamp of the product.
Format: date-time
variantsarrayOptionalAn array of variants for the product.
variants[]ModelEach itemExpand Create Product — response body — variants item

Referenced models: Create Product — response body — label end Date, start Date, title, Create Product — response body — variants item

Create Product — response body — label end Date, start Date, title
FieldTypePresenceDescription and constraints
$objectRoot
endDatestringOptionalStart date in YYYY-MM-DDTHH:mm:ssZ format
startDatestringOptionalStart date in YYYY-MM-DDTHH:mm:ssZ format
titlestringRequired within parentThe content for the product label.
Create Product — response body — variants item
FieldTypePresenceDescription and constraints
$objectRoot
idstringRequired within parentA unique identifier for the variant.
namestringRequired within parentThe name of the variant.
optionsarrayRequired within parentAn array of options for the variant.
options[]ModelEach itemExpand Create Product — response body — variants item options item

Referenced models: Create Product — response body — variants item options item

Create Price for a Product — response body — membership Offers item
FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentThe unique identifier for the membership offer.
labelstringRequired within parentMembership offer label
valuestringRequired within parentMembership offer label
Create Price for a Product — response body — recurring / interval: day, month, week, year
FieldTypePresenceDescription and constraints
$objectRoot
intervalstringRequired within parentThe interval at which the recurring event occurs.
Known values: day, month, week, year
intervalCountJSONRequired within parent
intervalCount (anyOf 1)numberAlternativeThe number of intervals between each occurrence of the event.
intervalCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

SDK function policy ID: gohighlevel.create_order_fulfillment. Catalog operation: create-order-fulfillment. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["payments/orders.write"]

Pinned headers: {"Version": "v3"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.