Changes the fulfillment method for a specific shipment to one of the available options
fulfillment_type_options array, and only these values can be set.fulfillment_type_options in the shipment object.Common values include:SHIP_TO_ADDRESS - Standard shipping to customer addressSCHEDULED_DELIVERY - Date/time-specific deliveryPICKUP_IN_STORE - Customer pickup at store location (if supported)fulfillment_type_options array are valid. Attempting to set an unsupported fulfillment type will result in an error.fulfillment_type is PICKUP_IN_STORE. Store location identifier.shipment_id (string): Unique shipment identifierfulfillment_type (object): Current fulfillment configuration
id (string): Fulfillment type identifiername (string): Display namedescription (string): Detailed descriptionfulfillment_type_options (array): Available fulfillment types for this shipmentshipping_method_options (array): Updated shipping methods based on new fulfillment typeselected_location (object): Store location details (for PICKUP_IN_STORE)| From → To | Cleared Fields | New Options |
|---|---|---|
Any → SHIP_TO_ADDRESS | selected_location, selected_date, selected_time_slot | Standard shipping methods |
Any → SCHEDULED_DELIVERY | selected_location, selected_date, selected_time_slot | Scheduled delivery methods |
Any → PICKUP_IN_STORE | selected_date, selected_time_slot | Pickup-specific options |
Standard Shipping Response
Scheduled Delivery Response
Store Pickup Response
fulfillment_type_options in the shipment to see what’s supportedFor SHIP_TO_ADDRESS: Set shipping methodFor SCHEDULED_DELIVERY: Get availability then set date/timeFor PICKUP_IN_STORE: Configure pickup location (if supported by merchant)| Code | Description |
|---|---|
| 400 | Invalid fulfillment type or missing required fields |
| 401 | Invalid authentication token |
| 404 | Shipment or location not found |
| 422 | Unprocessable entity data |