Commerce
Get v1commercedelivery methods
GET
/
v1
/
commerce
/
delivery-methods
cURL
curl --request GET \
--url https://api.wazapin.com/v1/commerce/delivery-methodsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/delivery-methods', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/delivery-methods"
response = requests.get(url)
print(response.text){
"items": [
{
"active": true,
"code": "<string>",
"fee_amount": 123,
"id": "<string>",
"method_type": "<string>",
"name": "<string>",
"schedule_enabled": true,
"sort_order": 123,
"blackout_dates": [
"<string>"
],
"pickup_address_label": "<string>",
"service_hours": [
{
"close": "<string>",
"open": "<string>",
"weekday": 123
}
],
"timeslots": [
"<string>"
]
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
cURL
curl --request GET \
--url https://api.wazapin.com/v1/commerce/delivery-methodsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/commerce/delivery-methods', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/commerce/delivery-methods"
response = requests.get(url)
print(response.text){
"items": [
{
"active": true,
"code": "<string>",
"fee_amount": 123,
"id": "<string>",
"method_type": "<string>",
"name": "<string>",
"schedule_enabled": true,
"sort_order": 123,
"blackout_dates": [
"<string>"
],
"pickup_address_label": "<string>",
"service_hours": [
{
"close": "<string>",
"open": "<string>",
"weekday": 123
}
],
"timeslots": [
"<string>"
]
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}