validateShippingOption - Fulfillment Module Reference
This documentation provides a reference to the validateShippingOption
method. This belongs to the Fulfillment Module.
This method checks whether a shipping option can be used for a specified context.
Example
Parameters
shippingOptionId
stringRequiredThe shipping option's ID.
context
Record<string, unknown>RequiredThe context to check.
Returns
Promise
Promise<boolean>RequiredWhether the shipping option is valid for the specified context.
Promise
Promise<boolean>RequiredWas this section helpful?