This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a new fulfillment method.
Note: fulfillmentMethod.availability.time_zone
uses the time zone specified in the language and regions
settings in the dashboard, regardless of the value provided.
You can only call this method when authenticated as a Wix app or Wix user identity.
Fulfillment method to create.
The created fulfillment method.
curl -X POST https://www.wixapis.com/restaurants/v1/fulfillment-methods \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
--data-raw '{
"fulfillment_method": {
"type": "PICKUP",
"name": "Pickup",
"enabled": true,
"fee": "10",
"min_order_price": "50",
"availability": {
"exceptions": [],
"available_times": [
{
"time_ranges": [
{
"start_time": {
"hours": 0,
"minutes": 0
},
"end_time": {
"hours": 23,
"minutes": 45
}
}
],
"day_of_week": "MON"
}
],
"time_zone": "Europe/Dublin"
},
"pickup_options": {
"instructions": "Pickup instructions",
"address": {
"subdivisions": [],
"country": "US",
"subdivision": "CA",
"city": "San Francisco",
"postal_code": "94158",
"formatted_address": "500 Terry Francine Street, San Francisco, CA 94158, USA",
"geocode": {
"latitude": "37.774836",
"longitude": "-122.387258"
},
"country_fullname": "United States",
"address_line": "500 Terry Francine Street"
}
}
}
}'
{
"fulfillment_method": {
"id": "e827109b-0319-4955-aaaa-05a968dd285f",
"revision": "1",
"created_date": "2024-01-21T07:38:08.905Z",
"updated_date": "2024-01-21T07:38:08.905Z",
"type": "PICKUP",
"pickup_options": {
"instructions": "Pickup instructions",
"address": {
"country": "US",
"subdivision": "CA",
"city": "San Francisco",
"postal_code": "94158",
"address_line": "500 Terry Francine Street",
"address_line_2": null,
"formatted_address": "500 Terry Francine Street, San Francisco, CA 94158, USA",
"hint": null,
"geocode": {
"latitude": 37.774836,
"longitude": -122.387258
},
"country_fullname": "United States",
"subdivisions": [],
"subdivision_fullname": null
}
},
"name": "Pickup",
"enabled": true,
"fee": "10",
"availability": {
"available_times": [
{
"day_of_week": "MON",
"time_ranges": [
{
"start_time": {
"hours": 0,
"minutes": 0
},
"end_time": {
"hours": 23,
"minutes": 45
}
}
]
}
],
"exceptions": [],
"time_zone": "Europe/Dublin"
},
"min_order_price": "50"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.