Settings

Get settings

GET https://api-us.zapiet.com/v1.0/settings

This endpoint allows you to retrieve a store's settings.

Query Parameters

NameTypeDescription

shop*

string

The merchant's myshopify.com store url.

{
	"base_country_name": "United Kingdom",
	"measurement_format": "kilometers",
	"pickup": {
		"pagination_limit": 10,
		"sort_order": "manual",
		"discount_code": "10STOCKPICKUP"
	},
	"delivery": {
		"validation_mode": "within_max_radius",
		"driving_distance_preferences": null
		"driving_distance_route": "fastest",
		"discount_code": null
	},
	"shipping": {
		"blackout_dates": [],
		"monday_enabled": true,
		"tuesday_enabled": true,
		"wednesday_enabled": true,
		"thursday_enabled": true,
		"friday_enabled": true,
		"saturday_enabled": true,
		"sunday_enabled": true,
		"timezone": "America\/New_York",
		"discount_code": null,
		"preparation_time": {
			"enabled": false,
			"monday": {
				"value": 10,
				"format": "days",
				"cutoff_time": {
					"enabled": false,
					"time": "12:00",
					"value": 2
				}
			},
			"tuesday": {
				"value": 10,
				"format": "days",
				"cutoff_time": {
					"enabled": false,
					"time": "12:00",
					"value": 2
				}
			},
			"wednesday": {
				"value": 10,
				"format": "days",
				"cutoff_time": {
					"enabled": false,
					"time": "12:00",
					"value": 2
				}
			},
			"thursday": {
				"value": 10,
				"format": "days",
				"cutoff_time": {
					"enabled": false,
					"time": "12:00",
					"value": 2
				}
			},
			"friday": {
				"value": 10,
				"format": "days",
				"cutoff_time": {
					"enabled": false,
					"time": "12:00",
					"value": 2
				}
			},
			"saturday": {
				"value": 10,
				"format": "days",
				"cutoff_time": {
					"enabled": false,
					"time": "12:00",
					"value": 2
				}
			},
			"sunday": {
				"value": 10,
				"format": "days",
				"cutoff_time": {
					"enabled": false,
					"time": "12:00",
					"value": 2
				}
			}
		},
		"maximum_date": {
			"enabled": false,
			"metric": "days",
			"value": 14
		},
		"order_limits": {
			"enabled": false,
			"monday": 2,
			"tuesday": 1,
			"wednesday": 0,
			"thursday": 0,
			"friday": 0,
			"saturday": 0,
			"sunday": 0
		}
	}
}

Last updated