@bigcommerce/checkout-sdk / ShippingRequestOptions
A set of options for configuring any requests related to the shipping step of the current checkout flow.
Some payment methods have their own shipping configuration flow. Therefore, you need to specify the method you intend to use if you want to trigger a specific flow for setting the shipping address or option. Otherwise, these options are not required.
Name | Type |
---|---|
T |
{} |
-
↳
ShippingRequestOptions
• Optional
methodId: string
• Optional
params: T
The parameters of the request, if required.
• Optional
timeout: default
Provide this option if you want to cancel or time out the request. If the timeout object completes before the request, the request will be cancelled.