Skip to main content
Skip to main content

validateFulfillmentOption - Fulfillment Module Reference

This documentation provides a reference to the validateFulfillmentOption method. This belongs to the Fulfillment Module.

This method validates a fulfillment option with the provider it belongs to.

Example

const isValid =
await fulfillmentModuleService.validateFulfillmentOption(
"webshipper",
{
code: "express",
}
)

Parameters

providerIdstringRequired
The fulfillment provider's ID.
dataRecord<string, unknown>Required
The fulfillment option to validate.

Returns

PromisePromise<boolean>Required
Whether the fulfillment option is valid with the specified provider.
Was this section helpful?