ucp_checkout_set_fulfillment
Sets up shipping and fulfillment for a checkout by automatically selecting the first available shipping address and delivery option. Call before completing checkout if the merchant requires fulfillment.
Instructions
Set up shipping/fulfillment for a checkout. Automatically selects the first available shipping address and delivery option. Must be called before completing checkout if the merchant requires fulfillment.
Args: merchant_url: The base URL of the UCP-enabled merchant checkout_id: The ID of the checkout session
Returns: Dictionary containing: - checkout_id: The checkout session ID - status: Current status - total: Updated total (may include shipping costs) - fulfillment: Details of selected shipping method
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchant_url | Yes | ||
| checkout_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||