Delivery Option
The delivery option API will display the delivery settings data set by the developer.
Retrieve Option List
Multiple delivery options are provided for users. The API includes the name, type, description, and price of each delivery option.
Headers
The server accepts JSON-formatted responses.
Parameters
zip_code
number *It is used to sort based on the zip code of the area.
Attributes
id
numberThe id of delivery option.
name
stringIt indicates the delivery option type.
description
nullIt is optional to use this.
price
numberThe price of the delivery option.
GET /api/v2/delivery-option/listcurl --location 'https://appliance-api.com/api/v2/delivery-option/list?zip_code=63011' \
--header 'Accept: application/json' \
--header 'x-api-key: your_api_key' \
--header 'x-tenant-id: your_tenant_id'
{
"code": "200",
"message": "Success",
"data": [
{
"id": 2,
"name": "Drop-off",
"description": null,
"price": 10
},
{
"id": 1,
"name": "Full-service",
"description": null,
"price": 10
}
],
"meta": null,
"errors": null
}