Skip to main content

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 number

The id of delivery option.


name string

It indicates the delivery option type.


description null

It is optional to use this.


price number

The price of the delivery option.

GET /api/v2/delivery-option/list
curl --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
}