Partially update a slot suspender
Updates a slot suspender field by field. Only the fields present in the request are changed; the others keep their current values. A retail_store_config or time_config that is included is replaced as a whole and validated against its selected rule.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the slot suspender.
The body of a slot suspender partial update request. Only the fields included in the body are changed; every field is optional. A retail_store_config or time_config that is included is replaced as a whole.
A human-readable description of the suspender.
Whether the suspender is active.
The updated slot suspender.
A slot suspender — a rule that blocks delivery slots for a combination of stores and times.
The unique identifier of the slot suspender.
When the suspender was created.
When the suspender was last modified.
A human-readable description of the suspender.
Whether the suspender is active. Only active suspenders are evaluated during slot generation.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested slot suspender does not exist.
PATCH /api/v1/remote/1/slot_suspenders/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"is_active": false
}{
"pk": 1,
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z",
"description": "text",
"retail_store_config": {
"rule": "retail_store",
"params": {
"retail_stores": [
"STORE_1",
"STORE_2"
],
"exclude": false
}
},
"time_config": {
"rule": "date_time_range",
"params": {
"ranges": [
[
"2026-01-01T09:00:00+03:00",
"2026-01-01T12:00:00+03:00"
]
]
}
},
"is_active": true
}Last updated
Was this helpful?

