Before proceeding, ensure that you have the ID of the store location for which custom data is 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 token must be within its TTL and associated with a can-manage-opening-times-rules permission.
The body should use the same objects as in Adding Custom Data to a Store.
The call that you use to update the custom data will overwrite all the existing custom data for the
Location ID. Therefore, you need to supply the same set of objects that you used when adding the custom data, 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?.