Organisations

Update a DateSet

Use this endpoint to update a DateSet.

patch/shop/organisations/{organisationId}/date-sets/{dateSetId}

Request body

namestring

Label for the date set, shown wherever the set is referenced in the admin UI (date pickers, coupon validity, opening exceptions). Use a meaningful label like "Bank holidays" or "Closed for refurb". 1-120 characters.

Example request

{
  "name": "Bank holidays"
}

Response

The date set was successfully updated.

Example response

{
  "data": {
    "name": "Bank holidays"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.