Before proceeding, ensure that you have the ID of the store location for which opening times are to be modified.
PUT request to:
of content type:
with the following authorisation (the token is copied from the
access_token field that is returned from Generating a Bearer Token):
Bearer <Bearer Token>
The body should use the
rule object as in Adding a Store's Opening Times.
The call that you use to update the opening times will overwrite all the existing opening times for the
Location ID. Therefore, you need to supply the same set of objects that you used when adding the opening times, amended as required.
The response from Delivery Options is in JSON format, and will be in the form of an
HTTP 200 OK response if the request is successful. For other possible responses, refer to What are the possible Server Responses?.