Skip to main content
PATCH
/
holidays
/
{id}
Update an existing Holiday
curl --request PATCH \
  --url https://commerce.driv.ly/api/holidays/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "date": "2023-12-25",
  "name": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "date": "2023-12-25",
    "name": "<string>"
  },
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.driv.ly/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Holiday is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
id
string

Holiday is uniquely identified by id

date
string<date>

Holiday has Date

name
string

Holiday has Name

Response

Holiday Updated

data
Holiday · object
success
boolean