POST
/
holidays
curl --request POST \
  --url https://commerce.driv.ly/api/holidays \
  --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
}

Query Parameters

depth
integer

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

Body

application/json

Response

200
application/json

Holiday Created

The response is of type object.