Retrieving a Store's Custom Data


Before proceeding, ensure that you have the ID of the store for which opening times are to be retrieved.

Perform a GET request to:<Location ID>/customData

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 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?.

A successful response will return the store's custom data, for example:

    "type": "shop",
    "capacity": 5000,
    "links": [
            "rel": "self",
            "href": "/locations/<Location ID>/customData"
            "rel": "location",
            "href": "/locations/<Location ID>"