PATCH
/
holidays
/
{id}
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
}

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

Holiday has Date

name
string

Holiday has Name

Response

200 - application/json
data
object
success
boolean